From f7db4e322b8603138016b2f7d89e5907d5b07e32 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 3 Oct 2026 23:41:10 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../OpenRouter.IInterns2Client.Chat.g.cs | 6 +- .../OpenRouter.IModelsClient.GetV2.g.cs | 58 + .../OpenRouter.IModelsClient.ListV2.g.cs | 4036 ++++++ .../Generated/OpenRouter.IModelsClient.g.cs | 21 + ...Router.ISttClient.CreateTranscription.g.cs | 2 +- .../OpenRouter.ITtsClient.CreateSpeech.g.cs | 2 +- .../OpenRouter.Interns2Client.Chat.g.cs | 14 +- ...outer.JsonConverters.DescriptorUnitV2.g.cs | 48 + ...onConverters.DescriptorUnitV2Nullable.g.cs | 55 + ...erters.EndpointDocumentV2Quantization.g.cs | 48 + ...ndpointDocumentV2QuantizationNullable.g.cs | 55 + ...verters.EndpointDocumentV2ServiceTier.g.cs | 48 + ...EndpointDocumentV2ServiceTierNullable.g.cs | 55 + ...outer.JsonConverters.GetModelV2Region.g.cs | 48 + ...onConverters.GetModelV2RegionNullable.g.cs | 55 + ...sonConverters.InputCapacityEntryV2Per.g.cs | 48 + ...rters.InputCapacityEntryV2PerNullable.g.cs | 55 + ...onConverters.InputCapacityEntryV2Type.g.cs | 48 + ...ters.InputCapacityEntryV2TypeNullable.g.cs | 55 + ...er.JsonConverters.InputPricingEntryV2.g.cs | 207 + ...rters.InputPricingEntryV2Variant1Type.g.cs | 53 + ...putPricingEntryV2Variant1TypeNullable.g.cs | 60 + ...rters.InputPricingEntryV2Variant2Type.g.cs | 53 + ...putPricingEntryV2Variant2TypeNullable.g.cs | 60 + ...rters.InputPricingEntryV2Variant3Type.g.cs | 53 + ...putPricingEntryV2Variant3TypeNullable.g.cs | 60 + ...ter.JsonConverters.InputPricingUnitV2.g.cs | 48 + ...Converters.InputPricingUnitV2Nullable.g.cs | 55 + ...ter.JsonConverters.ListModelsV2Region.g.cs | 48 + ...Converters.ListModelsV2RegionNullable.g.cs | 55 + ...penRouter.JsonConverters.ModelInputV2.g.cs | 320 + ...onConverters.ModelInputV2Variant1Type.g.cs | 53 + ...ters.ModelInputV2Variant1TypeNullable.g.cs | 60 + ...InputV2Variant2ParamsDetailLevelsType.g.cs | 53 + ...ariant2ParamsDetailLevelsTypeNullable.g.cs | 60 + ...nputV2Variant2ParamsDetailLevelsValue.g.cs | 48 + ...riant2ParamsDetailLevelsValueNullable.g.cs | 55 + ...ModelInputV2Variant2ParamsFormatsType.g.cs | 53 + ...utV2Variant2ParamsFormatsTypeNullable.g.cs | 60 + ...odelInputV2Variant2ParamsFormatsValue.g.cs | 48 + ...tV2Variant2ParamsFormatsValueNullable.g.cs | 55 + ...elInputV2Variant2ParamsReferencesType.g.cs | 53 + ...2Variant2ParamsReferencesTypeNullable.g.cs | 60 + ...rs.ModelInputV2Variant2ParamsRoleType.g.cs | 53 + ...InputV2Variant2ParamsRoleTypeNullable.g.cs | 60 + ....ModelInputV2Variant2ParamsRoleValue.g.cs} | 12 +- ...putV2Variant2ParamsRoleValueNullable.g.cs} | 12 +- ...ModelInputV2Variant2ParamsSourcesType.g.cs | 53 + ...utV2Variant2ParamsSourcesTypeNullable.g.cs | 60 + ...odelInputV2Variant2ParamsSourcesValue.g.cs | 48 + ...tV2Variant2ParamsSourcesValueNullable.g.cs | 55 + ...onConverters.ModelInputV2Variant2Type.g.cs | 53 + ...ters.ModelInputV2Variant2TypeNullable.g.cs | 60 + ...ModelInputV2Variant3ParamsFormatsType.g.cs | 53 + ...utV2Variant3ParamsFormatsTypeNullable.g.cs | 60 + ...odelInputV2Variant3ParamsFormatsValue.g.cs | 48 + ...tV2Variant3ParamsFormatsValueNullable.g.cs | 55 + ...ModelInputV2Variant3ParamsSourcesType.g.cs | 53 + ...utV2Variant3ParamsSourcesTypeNullable.g.cs | 60 + ...odelInputV2Variant3ParamsSourcesValue.g.cs | 48 + ...tV2Variant3ParamsSourcesValueNullable.g.cs | 55 + ...onConverters.ModelInputV2Variant3Type.g.cs | 53 + ...ters.ModelInputV2Variant3TypeNullable.g.cs | 60 + ...ModelInputV2Variant4ParamsFormatsType.g.cs | 53 + ...utV2Variant4ParamsFormatsTypeNullable.g.cs | 60 + ...odelInputV2Variant4ParamsFormatsValue.g.cs | 48 + ...tV2Variant4ParamsFormatsValueNullable.g.cs | 55 + ...ModelInputV2Variant4ParamsSourcesType.g.cs | 53 + ...utV2Variant4ParamsSourcesTypeNullable.g.cs | 60 + ...odelInputV2Variant4ParamsSourcesValue.g.cs | 48 + ...tV2Variant4ParamsSourcesValueNullable.g.cs | 55 + ...onConverters.ModelInputV2Variant4Type.g.cs | 53 + ...ters.ModelInputV2Variant4TypeNullable.g.cs | 60 + ...ModelInputV2Variant5ParamsFormatsType.g.cs | 53 + ...utV2Variant5ParamsFormatsTypeNullable.g.cs | 60 + ...odelInputV2Variant5ParamsFormatsValue.g.cs | 48 + ...tV2Variant5ParamsFormatsValueNullable.g.cs | 55 + ...elInputV2Variant5ParamsReferencesType.g.cs | 53 + ...2Variant5ParamsReferencesTypeNullable.g.cs | 60 + ...ModelInputV2Variant5ParamsSourcesType.g.cs | 53 + ...utV2Variant5ParamsSourcesTypeNullable.g.cs | 60 + ...odelInputV2Variant5ParamsSourcesValue.g.cs | 48 + ...tV2Variant5ParamsSourcesValueNullable.g.cs | 55 + ...onConverters.ModelInputV2Variant5Type.g.cs | 53 + ...ters.ModelInputV2Variant5TypeNullable.g.cs | 60 + ...enRouter.JsonConverters.ModelOutputV2.g.cs | 501 + ...nConverters.ModelOutputV2Variant1Type.g.cs | 53 + ...ers.ModelOutputV2Variant1TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant2Type.g.cs | 53 + ...ers.ModelOutputV2Variant2TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant3Type.g.cs | 53 + ...ers.ModelOutputV2Variant3TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant4Type.g.cs | 53 + ...ers.ModelOutputV2Variant4TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant5Type.g.cs | 53 + ...ers.ModelOutputV2Variant5TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant6Type.g.cs | 53 + ...ers.ModelOutputV2Variant6TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant7Type.g.cs | 53 + ...ers.ModelOutputV2Variant7TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant8Type.g.cs | 53 + ...ers.ModelOutputV2Variant8TypeNullable.g.cs | 60 + ...nConverters.ModelOutputV2Variant9Type.g.cs | 53 + ...ers.ModelOutputV2Variant9TypeNullable.g.cs | 60 + ...penRouter.JsonConverters.ModelV2Input.g.cs | 48 + ...r.JsonConverters.ModelV2InputNullable.g.cs | 55 + ...OpenRouter.JsonConverters.ModelV2Kind.g.cs | 48 + ...er.JsonConverters.ModelV2KindNullable.g.cs | 55 + ...enRouter.JsonConverters.ModelV2Output.g.cs | 48 + ....JsonConverters.ModelV2OutputNullable.g.cs | 55 + ...nRouter.JsonConverters.ModelV2Variant.g.cs | 48 + ...JsonConverters.ModelV2VariantNullable.g.cs | 55 + ....JsonConverters.OutputCapacityEntryV2.g.cs | 146 + ...ers.OutputCapacityEntryV2Variant1Per.g.cs} | 12 +- ...utCapacityEntryV2Variant1PerNullable.g.cs} | 12 +- ...ers.OutputCapacityEntryV2Variant1Type.g.cs | 48 + ...utCapacityEntryV2Variant1TypeNullable.g.cs | 55 + ...ers.OutputCapacityEntryV2Variant2Type.g.cs | 53 + ...utCapacityEntryV2Variant2TypeNullable.g.cs | 60 + ...onConverters.OutputPricingEntryV2Type.g.cs | 48 + ...ters.OutputPricingEntryV2TypeNullable.g.cs | 55 + ...er.JsonConverters.OutputPricingUnitV2.g.cs | 48 + ...onverters.OutputPricingUnitV2Nullable.g.cs | 55 + ...nConverters.ParameterDescriptorV2Type.g.cs | 48 + ...ers.ParameterDescriptorV2TypeNullable.g.cs | 55 + ...ter.JsonConverters.PricingPredicateV2.g.cs | 228 + ...JsonConverters.RequestCapacityEntryV2.g.cs | 193 + ...ers.RequestCapacityEntryV2Variant1Per.g.cs | 48 + ...estCapacityEntryV2Variant1PerNullable.g.cs | 55 + ...rs.RequestCapacityEntryV2Variant1Type.g.cs | 53 + ...stCapacityEntryV2Variant1TypeNullable.g.cs | 60 + ...ers.RequestCapacityEntryV2Variant2Per.g.cs | 48 + ...estCapacityEntryV2Variant2PerNullable.g.cs | 55 + ...rs.RequestCapacityEntryV2Variant2Type.g.cs | 53 + ...stCapacityEntryV2Variant2TypeNullable.g.cs | 60 + ...rs.RequestCapacityEntryV2Variant3Type.g.cs | 53 + ...stCapacityEntryV2Variant3TypeNullable.g.cs | 60 + ....JsonConverters.RequestPricingEntryV2.g.cs | 147 + ...ers.RequestPricingEntryV2Variant1Type.g.cs | 53 + ...estPricingEntryV2Variant1TypeNullable.g.cs | 60 + ...ers.RequestPricingEntryV2Variant2Type.g.cs | 53 + ...estPricingEntryV2Variant2TypeNullable.g.cs | 60 + ...enRouter.JsonConverters.RequestUnitV2.g.cs | 53 + ....JsonConverters.RequestUnitV2Nullable.g.cs | 60 + ...penRouter.JsonConverters.SearchUnitV2.g.cs | 53 + ...r.JsonConverters.SearchUnitV2Nullable.g.cs | 60 + .../OpenRouter.JsonConverters.UtcDayV2.g.cs | 48 + ...outer.JsonConverters.UtcDayV2Nullable.g.cs | 55 + .../OpenRouter.JsonSerializerContext.g.cs | 2993 ++-- ...OpenRouter.JsonSerializerContextTypes.g.cs | 5936 ++++---- .../OpenRouter.Models.AliasTargetV2.Json.g.cs | 141 + .../OpenRouter.Models.AliasTargetV2.g.cs | 65 + ...dels.CreateAudioTranscriptionsRequest.g.cs | 4 +- .../OpenRouter.Models.DatacenterV2.Json.g.cs | 141 + .../OpenRouter.Models.DatacenterV2.g.cs | 54 + .../OpenRouter.Models.DescriptorUnitV2.g.cs | 141 + ...uter.Models.EndpointDataPolicyV2.Json.g.cs | 141 + ...penRouter.Models.EndpointDataPolicyV2.g.cs | 79 + ...Router.Models.EndpointDocumentV2.Json.g.cs | 141 + .../OpenRouter.Models.EndpointDocumentV2.g.cs | 262 + ...tDocumentV2PassthroughParameters.Json.g.cs | 141 + ...dpointDocumentV2PassthroughParameters.g.cs | 19 + ...Models.EndpointDocumentV2Quantization.g.cs | 183 + ....Models.EndpointDocumentV2ServiceTier.g.cs | 134 + ...uter.Models.EndpointOpenrouterV2.Json.g.cs | 141 + ...penRouter.Models.EndpointOpenrouterV2.g.cs | 45 + ...Router.Models.EndpointProviderV2.Json.g.cs | 141 + .../OpenRouter.Models.EndpointProviderV2.g.cs | 80 + .../OpenRouter.Models.GetModelV2Region.g.cs | 121 + ...uter.Models.InputCapacityEntryV2.Json.g.cs | 141 + ...penRouter.Models.InputCapacityEntryV2.g.cs | 80 + ...Router.Models.InputCapacityEntryV2Per.g.cs | 127 + ...outer.Models.InputCapacityEntryV2Type.g.cs | 127 + ...outer.Models.InputPricingEntryV2.Json.g.cs | 141 + ...OpenRouter.Models.InputPricingEntryV2.g.cs | 378 + ...dels.InputPricingEntryV2Variant1.Json.g.cs | 141 + ...er.Models.InputPricingEntryV2Variant1.g.cs | 112 + ...odels.InputPricingEntryV2Variant1Type.g.cs | 45 + ...dels.InputPricingEntryV2Variant2.Json.g.cs | 141 + ...er.Models.InputPricingEntryV2Variant2.g.cs | 132 + ...odels.InputPricingEntryV2Variant2Type.g.cs | 45 + ...dels.InputPricingEntryV2Variant3.Json.g.cs | 141 + ...er.Models.InputPricingEntryV2Variant3.g.cs | 132 + ...odels.InputPricingEntryV2Variant3Type.g.cs | 45 + .../OpenRouter.Models.InputPricingUnitV2.g.cs | 141 + .../OpenRouter.Models.ListModelsV2Region.g.cs | 121 + .../OpenRouter.Models.ModelInputV2.Json.g.cs | 141 + .../OpenRouter.Models.ModelInputV2.g.cs | 545 + ...uter.Models.ModelInputV2Variant1.Json.g.cs | 141 + ...penRouter.Models.ModelInputV2Variant1.g.cs | 85 + ...odels.ModelInputV2Variant1Params.Json.g.cs | 141 + ...ter.Models.ModelInputV2Variant1Params.g.cs | 53 + ...elInputV2Variant1ParamsMaxLength.Json.g.cs | 141 + ...s.ModelInputV2Variant1ParamsMaxLength.g.cs | 55 + ...tV2Variant1ParamsMaxPromptLength.Json.g.cs | 141 + ...lInputV2Variant1ParamsMaxPromptLength.g.cs | 55 + ...tV2Variant1PassthroughParameters.Json.g.cs | 141 + ...lInputV2Variant1PassthroughParameters.g.cs | 19 + ...outer.Models.ModelInputV2Variant1Type.g.cs | 45 + ...uter.Models.ModelInputV2Variant2.Json.g.cs | 141 + ...penRouter.Models.ModelInputV2Variant2.g.cs | 85 + ...odels.ModelInputV2Variant2Params.Json.g.cs | 141 + ...ter.Models.ModelInputV2Variant2Params.g.cs | 89 + ...nputV2Variant2ParamsDetailLevels.Json.g.cs | 141 + ...odelInputV2Variant2ParamsDetailLevels.g.cs | 55 + ...InputV2Variant2ParamsDetailLevelsType.g.cs | 45 + ...nputV2Variant2ParamsDetailLevelsValue.g.cs | 134 + ...odelInputV2Variant2ParamsFormats.Json.g.cs | 141 + ...els.ModelInputV2Variant2ParamsFormats.g.cs | 55 + ...ModelInputV2Variant2ParamsFormatsType.g.cs | 45 + ...odelInputV2Variant2ParamsFormatsValue.g.cs | 134 + ...ariant2ParamsMaxContentSizeBytes.Json.g.cs | 141 + ...utV2Variant2ParamsMaxContentSizeBytes.g.cs | 55 + ...lInputV2Variant2ParamsReferences.Json.g.cs | 141 + ....ModelInputV2Variant2ParamsReferences.g.cs | 73 + ...elInputV2Variant2ParamsReferencesType.g.cs | 45 + ...s.ModelInputV2Variant2ParamsRole.Json.g.cs | 141 + ...Models.ModelInputV2Variant2ParamsRole.g.cs | 55 + ...ls.ModelInputV2Variant2ParamsRoleType.g.cs | 45 + ....ModelInputV2Variant2ParamsRoleValue.g.cs} | 52 +- ...odelInputV2Variant2ParamsSources.Json.g.cs | 141 + ...els.ModelInputV2Variant2ParamsSources.g.cs | 55 + ...ModelInputV2Variant2ParamsSourcesType.g.cs | 45 + ...odelInputV2Variant2ParamsSourcesValue.g.cs | 120 + ...tV2Variant2PassthroughParameters.Json.g.cs | 141 + ...lInputV2Variant2PassthroughParameters.g.cs | 19 + ...outer.Models.ModelInputV2Variant2Type.g.cs | 45 + ...uter.Models.ModelInputV2Variant3.Json.g.cs | 141 + ...penRouter.Models.ModelInputV2Variant3.g.cs | 85 + ...odels.ModelInputV2Variant3Params.Json.g.cs | 141 + ...ter.Models.ModelInputV2Variant3Params.g.cs | 71 + ...odelInputV2Variant3ParamsFormats.Json.g.cs | 141 + ...els.ModelInputV2Variant3ParamsFormats.g.cs | 55 + ...ModelInputV2Variant3ParamsFormatsType.g.cs | 45 + ...odelInputV2Variant3ParamsFormatsValue.g.cs | 120 + ...ariant3ParamsMaxContentSizeBytes.Json.g.cs | 141 + ...utV2Variant3ParamsMaxContentSizeBytes.g.cs | 55 + ...Variant3ParamsMaxDurationSeconds.Json.g.cs | 141 + ...putV2Variant3ParamsMaxDurationSeconds.g.cs | 55 + ...odelInputV2Variant3ParamsSources.Json.g.cs | 141 + ...els.ModelInputV2Variant3ParamsSources.g.cs | 55 + ...ModelInputV2Variant3ParamsSourcesType.g.cs | 45 + ...odelInputV2Variant3ParamsSourcesValue.g.cs | 120 + ...tV2Variant3PassthroughParameters.Json.g.cs | 141 + ...lInputV2Variant3PassthroughParameters.g.cs | 19 + ...outer.Models.ModelInputV2Variant3Type.g.cs | 45 + ...uter.Models.ModelInputV2Variant4.Json.g.cs | 141 + ...penRouter.Models.ModelInputV2Variant4.g.cs | 85 + ...odels.ModelInputV2Variant4Params.Json.g.cs | 141 + ...ter.Models.ModelInputV2Variant4Params.g.cs | 71 + ...odelInputV2Variant4ParamsFormats.Json.g.cs | 141 + ...els.ModelInputV2Variant4ParamsFormats.g.cs | 55 + ...ModelInputV2Variant4ParamsFormatsType.g.cs | 45 + ...odelInputV2Variant4ParamsFormatsValue.g.cs | 120 + ...ariant4ParamsMaxContentSizeBytes.Json.g.cs | 141 + ...utV2Variant4ParamsMaxContentSizeBytes.g.cs | 55 + ...Variant4ParamsMaxDurationSeconds.Json.g.cs | 141 + ...putV2Variant4ParamsMaxDurationSeconds.g.cs | 55 + ...odelInputV2Variant4ParamsSources.Json.g.cs | 141 + ...els.ModelInputV2Variant4ParamsSources.g.cs | 55 + ...ModelInputV2Variant4ParamsSourcesType.g.cs | 45 + ...odelInputV2Variant4ParamsSourcesValue.g.cs | 120 + ...tV2Variant4PassthroughParameters.Json.g.cs | 141 + ...lInputV2Variant4PassthroughParameters.g.cs | 19 + ...outer.Models.ModelInputV2Variant4Type.g.cs | 45 + ...uter.Models.ModelInputV2Variant5.Json.g.cs | 141 + ...penRouter.Models.ModelInputV2Variant5.g.cs | 85 + ...odels.ModelInputV2Variant5Params.Json.g.cs | 141 + ...ter.Models.ModelInputV2Variant5Params.g.cs | 71 + ...odelInputV2Variant5ParamsFormats.Json.g.cs | 141 + ...els.ModelInputV2Variant5ParamsFormats.g.cs | 55 + ...ModelInputV2Variant5ParamsFormatsType.g.cs | 45 + ...odelInputV2Variant5ParamsFormatsValue.g.cs | 148 + ...ariant5ParamsMaxContentSizeBytes.Json.g.cs | 141 + ...utV2Variant5ParamsMaxContentSizeBytes.g.cs | 55 + ...lInputV2Variant5ParamsReferences.Json.g.cs | 141 + ....ModelInputV2Variant5ParamsReferences.g.cs | 73 + ...elInputV2Variant5ParamsReferencesType.g.cs | 45 + ...odelInputV2Variant5ParamsSources.Json.g.cs | 141 + ...els.ModelInputV2Variant5ParamsSources.g.cs | 55 + ...ModelInputV2Variant5ParamsSourcesType.g.cs | 45 + ...odelInputV2Variant5ParamsSourcesValue.g.cs | 120 + ...tV2Variant5PassthroughParameters.Json.g.cs | 141 + ...lInputV2Variant5PassthroughParameters.g.cs | 19 + ...outer.Models.ModelInputV2Variant5Type.g.cs | 45 + .../OpenRouter.Models.ModelOutputV2.Json.g.cs | 141 + .../OpenRouter.Models.ModelOutputV2.g.cs | 877 ++ ...ter.Models.ModelOutputV2Variant1.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant1.g.cs | 104 + ...s.ModelOutputV2Variant1MaxLength.Json.g.cs | 141 + ...Models.ModelOutputV2Variant1MaxLength.g.cs | 55 + ...dels.ModelOutputV2Variant1Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant1Params.g.cs | 19 + ...tV2Variant1PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant1PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant1Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant2.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant2.g.cs | 95 + ...dels.ModelOutputV2Variant2Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant2Params.g.cs | 19 + ...tV2Variant2PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant2PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant2Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant3.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant3.g.cs | 95 + ...dels.ModelOutputV2Variant3Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant3Params.g.cs | 19 + ...tV2Variant3PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant3PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant3Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant4.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant4.g.cs | 95 + ...dels.ModelOutputV2Variant4Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant4Params.g.cs | 19 + ...tV2Variant4PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant4PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant4Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant5.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant5.g.cs | 95 + ...dels.ModelOutputV2Variant5Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant5Params.g.cs | 19 + ...tV2Variant5PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant5PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant5Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant6.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant6.g.cs | 86 + ...dels.ModelOutputV2Variant6Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant6Params.g.cs | 19 + ...tV2Variant6PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant6PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant6Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant7.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant7.g.cs | 86 + ...dels.ModelOutputV2Variant7Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant7Params.g.cs | 19 + ...tV2Variant7PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant7PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant7Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant8.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant8.g.cs | 86 + ...dels.ModelOutputV2Variant8Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant8Params.g.cs | 19 + ...tV2Variant8PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant8PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant8Type.g.cs | 45 + ...ter.Models.ModelOutputV2Variant9.Json.g.cs | 141 + ...enRouter.Models.ModelOutputV2Variant9.g.cs | 95 + ...dels.ModelOutputV2Variant9Params.Json.g.cs | 141 + ...er.Models.ModelOutputV2Variant9Params.g.cs | 19 + ...tV2Variant9PassthroughParameters.Json.g.cs | 141 + ...OutputV2Variant9PassthroughParameters.g.cs | 19 + ...uter.Models.ModelOutputV2Variant9Type.g.cs | 45 + .../OpenRouter.Models.ModelV2.Json.g.cs | 141 + .../Generated/OpenRouter.Models.ModelV2.g.cs | 239 + .../OpenRouter.Models.ModelV2Input.g.cs | 141 + .../OpenRouter.Models.ModelV2Kind.g.cs | 128 + .../OpenRouter.Models.ModelV2Output.g.cs | 169 + ...penRouter.Models.ModelV2Response.Json.g.cs | 141 + .../OpenRouter.Models.ModelV2Response.g.cs | 48 + .../OpenRouter.Models.ModelV2Variant.g.cs | 142 + ...uter.Models.ModelsV2ListResponse.Json.g.cs | 141 + ...penRouter.Models.ModelsV2ListResponse.g.cs | 72 + ...Models.ModelsV2ListResponseLinks.Json.g.cs | 141 + ...uter.Models.ModelsV2ListResponseLinks.g.cs | 49 + ...ter.Models.OutputCapacityEntryV2.Json.g.cs | 141 + ...enRouter.Models.OutputCapacityEntryV2.g.cs | 295 + ...ls.OutputCapacityEntryV2Variant1.Json.g.cs | 141 + ....Models.OutputCapacityEntryV2Variant1.g.cs | 80 + ...els.OutputCapacityEntryV2Variant1Per.g.cs} | 52 +- ...els.OutputCapacityEntryV2Variant1Type.g.cs | 120 + ...ls.OutputCapacityEntryV2Variant2.Json.g.cs | 141 + ....Models.OutputCapacityEntryV2Variant2.g.cs | 65 + ...els.OutputCapacityEntryV2Variant2Type.g.cs | 45 + ...uter.Models.OutputPricingEntryV2.Json.g.cs | 141 + ...penRouter.Models.OutputPricingEntryV2.g.cs | 113 + ...outer.Models.OutputPricingEntryV2Type.g.cs | 120 + ...OpenRouter.Models.OutputPricingUnitV2.g.cs | 148 + ...ter.Models.ParameterDescriptorV2.Json.g.cs | 141 + ...enRouter.Models.ParameterDescriptorV2.g.cs | 122 + ....ParameterDescriptorV2Properties.Json.g.cs | 141 + ...odels.ParameterDescriptorV2Properties.g.cs | 19 + ...uter.Models.ParameterDescriptorV2Type.g.cs | 155 + ...nRouter.Models.PricingOverrideV2.Json.g.cs | 141 + .../OpenRouter.Models.PricingOverrideV2.g.cs | 60 + ...Router.Models.PricingPredicateV2.Json.g.cs | 141 + .../OpenRouter.Models.PricingPredicateV2.g.cs | 438 + ...odels.PricingPredicateV2Variant1.Json.g.cs | 141 + ...ter.Models.PricingPredicateV2Variant1.g.cs | 19 + ...icingPredicateV2Variant1Variant1.Json.g.cs | 141 + ...ls.PricingPredicateV2Variant1Variant1.g.cs | 46 + ...icingPredicateV2Variant1Variant2.Json.g.cs | 141 + ...ls.PricingPredicateV2Variant1Variant2.g.cs | 45 + ...icingPredicateV2Variant1Variant3.Json.g.cs | 141 + ...ls.PricingPredicateV2Variant1Variant3.g.cs | 45 + ...icingPredicateV2Variant1Variant4.Json.g.cs | 141 + ...ls.PricingPredicateV2Variant1Variant4.g.cs | 45 + ...odels.PricingPredicateV2Variant2.Json.g.cs | 141 + ...ter.Models.PricingPredicateV2Variant2.g.cs | 45 + ...odels.PricingPredicateV2Variant3.Json.g.cs | 141 + ...ter.Models.PricingPredicateV2Variant3.g.cs | 45 + ...odels.PricingPredicateV2Variant4.Json.g.cs | 141 + ...ter.Models.PricingPredicateV2Variant4.g.cs | 48 + ...er.Models.RequestCapacityEntryV2.Json.g.cs | 141 + ...nRouter.Models.RequestCapacityEntryV2.g.cs | 378 + ...s.RequestCapacityEntryV2Variant1.Json.g.cs | 141 + ...Models.RequestCapacityEntryV2Variant1.g.cs | 76 + ...els.RequestCapacityEntryV2Variant1Per.g.cs | 127 + ...ls.RequestCapacityEntryV2Variant1Type.g.cs | 45 + ...s.RequestCapacityEntryV2Variant2.Json.g.cs | 141 + ...Models.RequestCapacityEntryV2Variant2.g.cs | 76 + ...els.RequestCapacityEntryV2Variant2Per.g.cs | 127 + ...ls.RequestCapacityEntryV2Variant2Type.g.cs | 45 + ...s.RequestCapacityEntryV2Variant3.Json.g.cs | 141 + ...Models.RequestCapacityEntryV2Variant3.g.cs | 65 + ...ls.RequestCapacityEntryV2Variant3Type.g.cs | 45 + ...ter.Models.RequestPricingEntryV2.Json.g.cs | 141 + ...enRouter.Models.RequestPricingEntryV2.g.cs | 295 + ...ls.RequestPricingEntryV2Variant1.Json.g.cs | 141 + ....Models.RequestPricingEntryV2Variant1.g.cs | 76 + ...els.RequestPricingEntryV2Variant1Type.g.cs | 45 + ...ls.RequestPricingEntryV2Variant2.Json.g.cs | 141 + ....Models.RequestPricingEntryV2Variant2.g.cs | 76 + ...els.RequestPricingEntryV2Variant2Type.g.cs | 45 + .../OpenRouter.Models.RequestUnitV2.g.cs | 45 + .../OpenRouter.Models.STTRequest.g.cs | 4 +- .../OpenRouter.Models.STTRequestProvider.g.cs | 37 +- .../OpenRouter.Models.SearchUnitV2.g.cs | 45 + .../OpenRouter.Models.SpeechRequest.g.cs | 4 +- ...enRouter.Models.SpeechRequestProvider.g.cs | 37 +- .../Generated/OpenRouter.Models.UtcDayV2.g.cs | 155 + .../OpenRouter.ModelsClient.Count.g.cs | 12 +- .../OpenRouter.ModelsClient.Get.g.cs | 12 +- .../OpenRouter.ModelsClient.GetV2.g.cs | 623 + .../OpenRouter.ModelsClient.List.g.cs | 12 +- .../OpenRouter.ModelsClient.ListForUser.g.cs | 12 +- .../OpenRouter.ModelsClient.ListV2.g.cs | 7542 ++++++++++ .../Generated/OpenRouter.ModelsClient.g.cs | 142 +- ...nRouter.SttClient.CreateTranscription.g.cs | 2 +- .../OpenRouter.TtsClient.CreateSpeech.g.cs | 2 +- .../Generated/autosdk.generated-examples.json | 164 +- src/libs/OpenRouter/openapi.yaml | 12087 +++++++++++++--- 441 files changed, 66111 insertions(+), 5789 deletions(-) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2Nullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2Quantization.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2QuantizationNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTier.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTierNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2Region.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2RegionNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Per.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2PerNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2Nullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2Region.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2RegionNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleTypeNullable.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.JsonConverters.SpeechRequestProviderDataCollection.g.cs => OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValue.g.cs} (67%) rename src/libs/OpenRouter/Generated/{OpenRouter.JsonConverters.SpeechRequestProviderDataCollectionNullable.g.cs => OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValueNullable.g.cs} (69%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesTypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValueNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Input.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2InputNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Kind.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2KindNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Output.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2OutputNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Variant.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2VariantNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.JsonConverters.STTRequestProviderDataCollection.g.cs => OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Per.g.cs} (68%) rename src/libs/OpenRouter/Generated/{OpenRouter.JsonConverters.STTRequestProviderDataCollectionNullable.g.cs => OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1PerNullable.g.cs} (70%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2Nullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PricingPredicateV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Per.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1PerNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Per.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2PerNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2TypeNullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2Nullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2Nullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2Nullable.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.DescriptorUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2Quantization.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2ServiceTier.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.GetModelV2Region.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Per.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ListModelsV2Region.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferencesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRoleType.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.Models.SpeechRequestProviderDataCollection.g.cs => OpenRouter.Models.ModelInputV2Variant2ParamsRoleValue.g.cs} (54%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferencesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesType.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesValue.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Input.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Kind.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Output.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Variant.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.g.cs rename src/libs/OpenRouter/Generated/{OpenRouter.Models.STTRequestProviderDataCollection.g.cs => OpenRouter.Models.OutputCapacityEntryV2Variant1Per.g.cs} (54%) create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Per.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Per.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.Json.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2Type.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.RequestUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.SearchUnitV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.Models.UtcDayV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetV2.g.cs create mode 100644 src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListV2.g.cs diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IInterns2Client.Chat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IInterns2Client.Chat.g.cs index a4400035..0deda4ba 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IInterns2Client.Chat.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IInterns2Client.Chat.g.cs @@ -22,7 +22,7 @@ public partial interface IInterns2Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ChatAsync( + global::System.Threading.Tasks.Task ChatAsync( string internId, global::OpenRouter.InternChatCompletionRequest request, @@ -46,7 +46,7 @@ public partial interface IInterns2Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task> ChatAsResponseAsync( + global::System.Threading.Tasks.Task> ChatAsResponseAsync( string internId, global::OpenRouter.InternChatCompletionRequest request, @@ -84,7 +84,7 @@ public partial interface IInterns2Client /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task ChatAsync( + global::System.Threading.Tasks.Task ChatAsync( string internId, global::System.Collections.Generic.IList messages, global::OpenRouter.InternApprovalMode? approvalMode = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetV2.g.cs new file mode 100644 index 00000000..afbec293 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.GetV2.g.cs @@ -0,0 +1,58 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IModelsClient + { + /// + /// Get a model with its V2 endpoint documents
+ /// Returns a single model identified by its author and slug (e.g. openai/gpt-4) together with each of its published endpoints in the Models API V2 document format. Known slug aliases are resolved. A variant suffix (e.g. openai/gpt-4:free) selects the record of that variant; a variant no endpoint serves is reported as not found. Routers (openrouter/auto) and `~author/family-latest` aliases are records too. `region` narrows the endpoints the same way it does on the list route; a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found. + ///
+ /// + /// The author/organization of the model
+ /// Example: openai + /// + /// + /// The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)
+ /// Example: gpt-4 + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.
+ /// Example: eu + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetV2Async( + string author, + string slug, + global::OpenRouter.GetModelV2Region? region = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get a model with its V2 endpoint documents
+ /// Returns a single model identified by its author and slug (e.g. openai/gpt-4) together with each of its published endpoints in the Models API V2 document format. Known slug aliases are resolved. A variant suffix (e.g. openai/gpt-4:free) selects the record of that variant; a variant no endpoint serves is reported as not found. Routers (openrouter/auto) and `~author/family-latest` aliases are records too. `region` narrows the endpoints the same way it does on the list route; a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found. + ///
+ /// + /// The author/organization of the model
+ /// Example: openai + /// + /// + /// The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)
+ /// Example: gpt-4 + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.
+ /// Example: eu + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetV2AsResponseAsync( + string author, + string slug, + global::OpenRouter.GetModelV2Region? region = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListV2.g.cs new file mode 100644 index 00000000..a3d38c11 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.ListV2.g.cs @@ -0,0 +1,4036 @@ +#nullable enable + +namespace OpenRouter +{ + public partial interface IModelsClient + { + /// + /// List models with V2 endpoint documents
+ /// Returns every publicly served model together with each of its endpoints in the Models API V2 document format. The V2 document is the schema providers publish to OpenRouter, so each endpoint is reported in the shape it was declared, with pricing attached to the modality it applies to (`inputs`/`outputs`, each with its `params`). Operator-only fields such as capacity and `discount_to_user` are not part of the public document.
+ /// Without credentials the response is the public catalog. With an API key it is the catalog that key can route to, the same one `GET /api/v1/models/user` serves: models and endpoints the account was granted private access to are included, and endpoints the account or key guardrails, provider preferences, BYOK and privacy settings exclude are omitted, along with routers and aliases left with nothing to route to. A key that does not resolve is rejected with 401.
+ /// Every field of the response document is a filter, named by its dotted JSON path: `<path>=<value>` tests equality and `<path>.<operator>=<value>` applies `gt`, `gte`, `lt`, `lte`, `between`, `in`, `exists`, `contains`, `starts_with` or `ends_with` as the field type allows; `<path>.not.<operator>=<value>` (or `<path>.not=<value>` for not-equal) keeps the records where no value matches. Suffixes, arithmetic operators, parentheses and the list comma are read before percent-decoding, so an encoded character is always literal: a map key spelled like an operator or `not` is reached by encoding one of its characters (`params.n%6Ft.exists=true`), a `/` or `+` inside a literal is `%2F` or `%2B`, and arithmetic is spelled with the bare characters (`created/10`, `context_length+1`). `in` takes a comma-separated list and `between` the inclusive lower and upper bound (a literal comma is `%2C`); strings compare trimmed and lower-cased on both sides, so `author=Anthropic` and `name.contains=claude` match. A filter under `endpoints.` keeps only the endpoints that satisfy every such filter and omits models left with none. A path through a repeated object is existential (`endpoints.pricing.type=request` matches an endpoint with some request-priced entry); the members of a typed collection are addressed by their type (`endpoints.inputs.text.params.max_length.value.gte=1000000`, `endpoints.inputs.text.pricing.prompt.cost_usd.lte=0.000001`), and a dynamic key is written in the path (`endpoints.outputs.text.params.tools.type=boolean`, `endpoints.outputs.text.params.temperature.range.max.gte=2`). Both sides of an operator are operands of one grammar: a literal, a path, or an arithmetic expression over numeric paths and numbers, so a filter relates any two of them (`endpoints.inputs.text.pricing.prompt.cost_usd.gte=endpoints.outputs.text.pricing.completion.cost_usd*100`, `10000.lte=endpoints.inputs.text.params.max_length.value`, `endpoints.id=id`). Arithmetic requires numeric paths, each operator applies to the type its operands share, and text that names no field path is a literal (`id=openai/gpt-4`), so the field names at the root of the document are reserved words. A parameter that is not a field path is rejected with a 400 whose `error.metadata` names the `code`, `parameter` and `reason`.
+ /// `sort` takes comma-separated paths or expressions, `-` prefixed for descending; a key must be a scalar path or expression (`created`, `endpoints.inputs.text.pricing.prompt.cost_usd`); a model sorts by the best value in the sort direction across its endpoints and across the time windows of a price, missing values sort last and `id` ascending breaks ties, so the order is total even without `sort`. Pagination is opt-in: pass `limit` and follow `links.next`, which carries an opaque `cursor` bound to the filters and sort; `offset` remains supported. `total_count` is the number of models matching the filters. + ///
+ /// + /// Number of records to skip (0 when omitted); kept for compatibility, prefer `cursor`. Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 0 + /// + /// + /// Maximum number of records to return (500 when omitted, max 1000). Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 500 + /// + /// + /// Opaque keyset cursor from the previous page's `links.next`. Bound to the filters and sort it was issued for; a cursor sent with different filters or sort is rejected.
+ /// Example: eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); models left without an endpoint are omitted.
+ /// Example: eu + /// + /// + /// Comma-separated sort keys, each a path below or an arithmetic expression over numeric paths; prefix with `-` for descending. A key under `endpoints.` ranks each model by its best endpoint value in the sort direction. Missing values sort last and `id` ascending breaks ties. Keys: `id`, `canonical_slug`, `author`, `name`, `variant`, `kind`, `alias_target.slug`, `alias_target.name`, `created`, `description`, `context_length`, `hugging_face_id`, `endpoints.schema_version`, `endpoints.id`, `endpoints.hugging_face_id`, `endpoints.name`, `endpoints.created`, `endpoints.quantization`, `endpoints.tokenizer`, `endpoints.description`, `endpoints.pricing.request.unit`, `endpoints.pricing.request.cost_usd`, `endpoints.pricing.web_search.unit`, `endpoints.pricing.web_search.cost_usd`, `endpoints.capacity.request.unit`, `endpoints.capacity.request.per`, `endpoints.capacity.request.value`, `endpoints.capacity.web_search.unit`, `endpoints.capacity.web_search.per`, `endpoints.capacity.web_search.value`, `endpoints.capacity.concurrency.unit`, `endpoints.capacity.concurrency.value`, `endpoints.deprecation_date`, `endpoints.is_ready`, `endpoints.is_free`, `endpoints.service_tier`, `endpoints.discount_to_user`, `endpoints.openrouter.slug`, `endpoints.deployment_region`, `endpoints.inputs.text.pricing.prompt.unit`, `endpoints.inputs.text.pricing.prompt.cost_usd`, `endpoints.inputs.text.pricing.prompt.utc_start`, `endpoints.inputs.text.pricing.prompt.utc_end`, `endpoints.inputs.text.pricing.cached_prompt.unit`, `endpoints.inputs.text.pricing.cached_prompt.cost_usd`, `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.text.pricing.cached_prompt.implicit`, `endpoints.inputs.text.pricing.cached_prompt.utc_start`, `endpoints.inputs.text.pricing.cached_prompt.utc_end`, `endpoints.inputs.text.pricing.cache_write.unit`, `endpoints.inputs.text.pricing.cache_write.cost_usd`, `endpoints.inputs.text.pricing.cache_write.ttl_seconds`, `endpoints.inputs.text.pricing.cache_write.implicit`, `endpoints.inputs.text.pricing.cache_write.utc_start`, `endpoints.inputs.text.pricing.cache_write.utc_end`, `endpoints.inputs.text.capacity.prompt.unit`, `endpoints.inputs.text.capacity.prompt.per`, `endpoints.inputs.text.capacity.prompt.value`, `endpoints.inputs.text.capacity.cached_prompt.unit`, `endpoints.inputs.text.capacity.cached_prompt.per`, `endpoints.inputs.text.capacity.cached_prompt.value`, `endpoints.inputs.text.capacity.cache_write.unit`, `endpoints.inputs.text.capacity.cache_write.per`, `endpoints.inputs.text.capacity.cache_write.value`, `endpoints.inputs.text.params.max_prompt_length.value`, `endpoints.inputs.text.params.max_prompt_length.unit`, `endpoints.inputs.text.params.max_length.value`, `endpoints.inputs.text.params.max_length.unit`, `endpoints.inputs.image.pricing.prompt.unit`, `endpoints.inputs.image.pricing.prompt.cost_usd`, `endpoints.inputs.image.pricing.prompt.utc_start`, `endpoints.inputs.image.pricing.prompt.utc_end`, `endpoints.inputs.image.pricing.cached_prompt.unit`, `endpoints.inputs.image.pricing.cached_prompt.cost_usd`, `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.image.pricing.cached_prompt.implicit`, `endpoints.inputs.image.pricing.cached_prompt.utc_start`, `endpoints.inputs.image.pricing.cached_prompt.utc_end`, `endpoints.inputs.image.pricing.cache_write.unit`, `endpoints.inputs.image.pricing.cache_write.cost_usd`, `endpoints.inputs.image.pricing.cache_write.ttl_seconds`, `endpoints.inputs.image.pricing.cache_write.implicit`, `endpoints.inputs.image.pricing.cache_write.utc_start`, `endpoints.inputs.image.pricing.cache_write.utc_end`, `endpoints.inputs.image.capacity.prompt.unit`, `endpoints.inputs.image.capacity.prompt.per`, `endpoints.inputs.image.capacity.prompt.value`, `endpoints.inputs.image.capacity.cached_prompt.unit`, `endpoints.inputs.image.capacity.cached_prompt.per`, `endpoints.inputs.image.capacity.cached_prompt.value`, `endpoints.inputs.image.capacity.cache_write.unit`, `endpoints.inputs.image.capacity.cache_write.per`, `endpoints.inputs.image.capacity.cache_write.value`, `endpoints.inputs.image.params.sources.type`, `endpoints.inputs.image.params.formats.type`, `endpoints.inputs.image.params.detail_levels.type`, `endpoints.inputs.image.params.references.type`, `endpoints.inputs.image.params.references.min`, `endpoints.inputs.image.params.references.max`, `endpoints.inputs.image.params.references.unit`, `endpoints.inputs.image.params.role.type`, `endpoints.inputs.image.params.max_content_size_bytes.value`, `endpoints.inputs.image.params.max_content_size_bytes.unit`, `endpoints.inputs.video.pricing.prompt.unit`, `endpoints.inputs.video.pricing.prompt.cost_usd`, `endpoints.inputs.video.pricing.prompt.utc_start`, `endpoints.inputs.video.pricing.prompt.utc_end`, `endpoints.inputs.video.pricing.cached_prompt.unit`, `endpoints.inputs.video.pricing.cached_prompt.cost_usd`, `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.video.pricing.cached_prompt.implicit`, `endpoints.inputs.video.pricing.cached_prompt.utc_start`, `endpoints.inputs.video.pricing.cached_prompt.utc_end`, `endpoints.inputs.video.pricing.cache_write.unit`, `endpoints.inputs.video.pricing.cache_write.cost_usd`, `endpoints.inputs.video.pricing.cache_write.ttl_seconds`, `endpoints.inputs.video.pricing.cache_write.implicit`, `endpoints.inputs.video.pricing.cache_write.utc_start`, `endpoints.inputs.video.pricing.cache_write.utc_end`, `endpoints.inputs.video.capacity.prompt.unit`, `endpoints.inputs.video.capacity.prompt.per`, `endpoints.inputs.video.capacity.prompt.value`, `endpoints.inputs.video.capacity.cached_prompt.unit`, `endpoints.inputs.video.capacity.cached_prompt.per`, `endpoints.inputs.video.capacity.cached_prompt.value`, `endpoints.inputs.video.capacity.cache_write.unit`, `endpoints.inputs.video.capacity.cache_write.per`, `endpoints.inputs.video.capacity.cache_write.value`, `endpoints.inputs.video.params.sources.type`, `endpoints.inputs.video.params.formats.type`, `endpoints.inputs.video.params.max_duration_seconds.value`, `endpoints.inputs.video.params.max_duration_seconds.unit`, `endpoints.inputs.video.params.max_content_size_bytes.value`, `endpoints.inputs.video.params.max_content_size_bytes.unit`, `endpoints.inputs.audio.pricing.prompt.unit`, `endpoints.inputs.audio.pricing.prompt.cost_usd`, `endpoints.inputs.audio.pricing.prompt.utc_start`, `endpoints.inputs.audio.pricing.prompt.utc_end`, `endpoints.inputs.audio.pricing.cached_prompt.unit`, `endpoints.inputs.audio.pricing.cached_prompt.cost_usd`, `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.audio.pricing.cached_prompt.implicit`, `endpoints.inputs.audio.pricing.cached_prompt.utc_start`, `endpoints.inputs.audio.pricing.cached_prompt.utc_end`, `endpoints.inputs.audio.pricing.cache_write.unit`, `endpoints.inputs.audio.pricing.cache_write.cost_usd`, `endpoints.inputs.audio.pricing.cache_write.ttl_seconds`, `endpoints.inputs.audio.pricing.cache_write.implicit`, `endpoints.inputs.audio.pricing.cache_write.utc_start`, `endpoints.inputs.audio.pricing.cache_write.utc_end`, `endpoints.inputs.audio.capacity.prompt.unit`, `endpoints.inputs.audio.capacity.prompt.per`, `endpoints.inputs.audio.capacity.prompt.value`, `endpoints.inputs.audio.capacity.cached_prompt.unit`, `endpoints.inputs.audio.capacity.cached_prompt.per`, `endpoints.inputs.audio.capacity.cached_prompt.value`, `endpoints.inputs.audio.capacity.cache_write.unit`, `endpoints.inputs.audio.capacity.cache_write.per`, `endpoints.inputs.audio.capacity.cache_write.value`, `endpoints.inputs.audio.params.sources.type`, `endpoints.inputs.audio.params.formats.type`, `endpoints.inputs.audio.params.max_duration_seconds.value`, `endpoints.inputs.audio.params.max_duration_seconds.unit`, `endpoints.inputs.audio.params.max_content_size_bytes.value`, `endpoints.inputs.audio.params.max_content_size_bytes.unit`, `endpoints.inputs.file.pricing.prompt.unit`, `endpoints.inputs.file.pricing.prompt.cost_usd`, `endpoints.inputs.file.pricing.prompt.utc_start`, `endpoints.inputs.file.pricing.prompt.utc_end`, `endpoints.inputs.file.pricing.cached_prompt.unit`, `endpoints.inputs.file.pricing.cached_prompt.cost_usd`, `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.file.pricing.cached_prompt.implicit`, `endpoints.inputs.file.pricing.cached_prompt.utc_start`, `endpoints.inputs.file.pricing.cached_prompt.utc_end`, `endpoints.inputs.file.pricing.cache_write.unit`, `endpoints.inputs.file.pricing.cache_write.cost_usd`, `endpoints.inputs.file.pricing.cache_write.ttl_seconds`, `endpoints.inputs.file.pricing.cache_write.implicit`, `endpoints.inputs.file.pricing.cache_write.utc_start`, `endpoints.inputs.file.pricing.cache_write.utc_end`, `endpoints.inputs.file.capacity.prompt.unit`, `endpoints.inputs.file.capacity.prompt.per`, `endpoints.inputs.file.capacity.prompt.value`, `endpoints.inputs.file.capacity.cached_prompt.unit`, `endpoints.inputs.file.capacity.cached_prompt.per`, `endpoints.inputs.file.capacity.cached_prompt.value`, `endpoints.inputs.file.capacity.cache_write.unit`, `endpoints.inputs.file.capacity.cache_write.per`, `endpoints.inputs.file.capacity.cache_write.value`, `endpoints.inputs.file.params.sources.type`, `endpoints.inputs.file.params.formats.type`, `endpoints.inputs.file.params.references.type`, `endpoints.inputs.file.params.references.min`, `endpoints.inputs.file.params.references.max`, `endpoints.inputs.file.params.references.unit`, `endpoints.inputs.file.params.max_content_size_bytes.value`, `endpoints.inputs.file.params.max_content_size_bytes.unit`, `endpoints.outputs.text.max_length.value`, `endpoints.outputs.text.max_length.unit`, `endpoints.outputs.text.pricing.completion.unit`, `endpoints.outputs.text.pricing.completion.cost_usd`, `endpoints.outputs.text.pricing.completion.utc_start`, `endpoints.outputs.text.pricing.completion.utc_end`, `endpoints.outputs.text.pricing.internal_reasoning.unit`, `endpoints.outputs.text.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.text.pricing.internal_reasoning.utc_start`, `endpoints.outputs.text.pricing.internal_reasoning.utc_end`, `endpoints.outputs.text.capacity.completion.unit`, `endpoints.outputs.text.capacity.completion.per`, `endpoints.outputs.text.capacity.completion.value`, `endpoints.outputs.text.capacity.internal_reasoning.unit`, `endpoints.outputs.text.capacity.internal_reasoning.per`, `endpoints.outputs.text.capacity.internal_reasoning.value`, `endpoints.outputs.text.capacity.concurrency.unit`, `endpoints.outputs.text.capacity.concurrency.value`, `endpoints.outputs.text.streaming`, `endpoints.outputs.image.pricing.completion.unit`, `endpoints.outputs.image.pricing.completion.cost_usd`, `endpoints.outputs.image.pricing.completion.utc_start`, `endpoints.outputs.image.pricing.completion.utc_end`, `endpoints.outputs.image.pricing.internal_reasoning.unit`, `endpoints.outputs.image.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.image.pricing.internal_reasoning.utc_start`, `endpoints.outputs.image.pricing.internal_reasoning.utc_end`, `endpoints.outputs.image.capacity.completion.unit`, `endpoints.outputs.image.capacity.completion.per`, `endpoints.outputs.image.capacity.completion.value`, `endpoints.outputs.image.capacity.internal_reasoning.unit`, `endpoints.outputs.image.capacity.internal_reasoning.per`, `endpoints.outputs.image.capacity.internal_reasoning.value`, `endpoints.outputs.image.capacity.concurrency.unit`, `endpoints.outputs.image.capacity.concurrency.value`, `endpoints.outputs.image.streaming`, `endpoints.outputs.video.pricing.completion.unit`, `endpoints.outputs.video.pricing.completion.cost_usd`, `endpoints.outputs.video.pricing.completion.utc_start`, `endpoints.outputs.video.pricing.completion.utc_end`, `endpoints.outputs.video.pricing.internal_reasoning.unit`, `endpoints.outputs.video.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.video.pricing.internal_reasoning.utc_start`, `endpoints.outputs.video.pricing.internal_reasoning.utc_end`, `endpoints.outputs.video.capacity.completion.unit`, `endpoints.outputs.video.capacity.completion.per`, `endpoints.outputs.video.capacity.completion.value`, `endpoints.outputs.video.capacity.internal_reasoning.unit`, `endpoints.outputs.video.capacity.internal_reasoning.per`, `endpoints.outputs.video.capacity.internal_reasoning.value`, `endpoints.outputs.video.capacity.concurrency.unit`, `endpoints.outputs.video.capacity.concurrency.value`, `endpoints.outputs.video.streaming`, `endpoints.outputs.speech.pricing.completion.unit`, `endpoints.outputs.speech.pricing.completion.cost_usd`, `endpoints.outputs.speech.pricing.completion.utc_start`, `endpoints.outputs.speech.pricing.completion.utc_end`, `endpoints.outputs.speech.pricing.internal_reasoning.unit`, `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_start`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_end`, `endpoints.outputs.speech.capacity.completion.unit`, `endpoints.outputs.speech.capacity.completion.per`, `endpoints.outputs.speech.capacity.completion.value`, `endpoints.outputs.speech.capacity.internal_reasoning.unit`, `endpoints.outputs.speech.capacity.internal_reasoning.per`, `endpoints.outputs.speech.capacity.internal_reasoning.value`, `endpoints.outputs.speech.capacity.concurrency.unit`, `endpoints.outputs.speech.capacity.concurrency.value`, `endpoints.outputs.speech.streaming`, `endpoints.outputs.transcription.pricing.completion.unit`, `endpoints.outputs.transcription.pricing.completion.cost_usd`, `endpoints.outputs.transcription.pricing.completion.utc_start`, `endpoints.outputs.transcription.pricing.completion.utc_end`, `endpoints.outputs.transcription.pricing.internal_reasoning.unit`, `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end`, `endpoints.outputs.transcription.capacity.completion.unit`, `endpoints.outputs.transcription.capacity.completion.per`, `endpoints.outputs.transcription.capacity.completion.value`, `endpoints.outputs.transcription.capacity.internal_reasoning.unit`, `endpoints.outputs.transcription.capacity.internal_reasoning.per`, `endpoints.outputs.transcription.capacity.internal_reasoning.value`, `endpoints.outputs.transcription.capacity.concurrency.unit`, `endpoints.outputs.transcription.capacity.concurrency.value`, `endpoints.outputs.transcription.streaming`, `endpoints.outputs.embeddings.pricing.completion.unit`, `endpoints.outputs.embeddings.pricing.completion.cost_usd`, `endpoints.outputs.embeddings.pricing.completion.utc_start`, `endpoints.outputs.embeddings.pricing.completion.utc_end`, `endpoints.outputs.embeddings.pricing.internal_reasoning.unit`, `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end`, `endpoints.outputs.embeddings.capacity.completion.unit`, `endpoints.outputs.embeddings.capacity.completion.per`, `endpoints.outputs.embeddings.capacity.completion.value`, `endpoints.outputs.embeddings.capacity.internal_reasoning.unit`, `endpoints.outputs.embeddings.capacity.internal_reasoning.per`, `endpoints.outputs.embeddings.capacity.internal_reasoning.value`, `endpoints.outputs.embeddings.capacity.concurrency.unit`, `endpoints.outputs.embeddings.capacity.concurrency.value`, `endpoints.outputs.rerank.pricing.completion.unit`, `endpoints.outputs.rerank.pricing.completion.cost_usd`, `endpoints.outputs.rerank.pricing.completion.utc_start`, `endpoints.outputs.rerank.pricing.completion.utc_end`, `endpoints.outputs.rerank.pricing.internal_reasoning.unit`, `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end`, `endpoints.outputs.rerank.capacity.completion.unit`, `endpoints.outputs.rerank.capacity.completion.per`, `endpoints.outputs.rerank.capacity.completion.value`, `endpoints.outputs.rerank.capacity.internal_reasoning.unit`, `endpoints.outputs.rerank.capacity.internal_reasoning.per`, `endpoints.outputs.rerank.capacity.internal_reasoning.value`, `endpoints.outputs.rerank.capacity.concurrency.unit`, `endpoints.outputs.rerank.capacity.concurrency.value`, `endpoints.outputs.decisions.pricing.completion.unit`, `endpoints.outputs.decisions.pricing.completion.cost_usd`, `endpoints.outputs.decisions.pricing.completion.utc_start`, `endpoints.outputs.decisions.pricing.completion.utc_end`, `endpoints.outputs.decisions.pricing.internal_reasoning.unit`, `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end`, `endpoints.outputs.decisions.capacity.completion.unit`, `endpoints.outputs.decisions.capacity.completion.per`, `endpoints.outputs.decisions.capacity.completion.value`, `endpoints.outputs.decisions.capacity.internal_reasoning.unit`, `endpoints.outputs.decisions.capacity.internal_reasoning.per`, `endpoints.outputs.decisions.capacity.internal_reasoning.value`, `endpoints.outputs.decisions.capacity.concurrency.unit`, `endpoints.outputs.decisions.capacity.concurrency.value`, `endpoints.outputs.audio.pricing.completion.unit`, `endpoints.outputs.audio.pricing.completion.cost_usd`, `endpoints.outputs.audio.pricing.completion.utc_start`, `endpoints.outputs.audio.pricing.completion.utc_end`, `endpoints.outputs.audio.pricing.internal_reasoning.unit`, `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_start`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_end`, `endpoints.outputs.audio.capacity.completion.unit`, `endpoints.outputs.audio.capacity.completion.per`, `endpoints.outputs.audio.capacity.completion.value`, `endpoints.outputs.audio.capacity.internal_reasoning.unit`, `endpoints.outputs.audio.capacity.internal_reasoning.per`, `endpoints.outputs.audio.capacity.internal_reasoning.value`, `endpoints.outputs.audio.capacity.concurrency.unit`, `endpoints.outputs.audio.capacity.concurrency.value`, `endpoints.outputs.audio.streaming`, `endpoints.provider.slug`, `endpoints.provider.tag`, `endpoints.provider.name`, `endpoints.data_policy.training`, `endpoints.data_policy.retains_prompts`, `endpoints.data_policy.retention_days`.
+ /// Example: -created,endpoints.inputs.text.pricing.prompt.cost_usd + /// + /// + /// Filter where the value at `id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `canonical_slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `author` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `variant` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `free`, `extended`, `standard`, `thinking`, `batch`. + /// + /// + /// Filter where the value at `kind` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `model`, `router`, `alias`. + /// + /// + /// Filter where the value at `alias_target.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `alias_target.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `context_length` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `inputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `file`, `audio`, `video`. + /// + /// + /// Filter where any element at `outputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `embeddings`, `audio`, `video`, `rerank`, `decisions`, `speech`, `transcription`. + /// + /// + /// Filter where the value at `endpoints.schema_version` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.quantization` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `int4`, `int8`, `fp4`, `mxfp4`, `nvfp4`, `fp6`, `fp8`, `mxfp8`, `fp16`, `bf16`, `fp32`. + /// + /// + /// Filter where the value at `endpoints.tokenizer` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.request.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.web_search.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.passthrough_parameters`: `endpoints.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.passthrough_parameters.<key>.type`, `endpoints.passthrough_parameters.<key>.range.min`, `endpoints.passthrough_parameters.<key>.range.max`, `endpoints.passthrough_parameters.<key>.range.default`, `endpoints.passthrough_parameters.<key>.range.values`, `endpoints.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.deprecation_date` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_ready` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_free` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.service_tier` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `flex`, `priority`, `ultrafast`, `fast`. + /// + /// + /// Filter where the value at `endpoints.discount_to_user` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.openrouter.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.country_code` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.deployment_region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `audio`, `file`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.text.passthrough_parameters`: `endpoints.inputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.text.passthrough_parameters.<key>.type`, `endpoints.inputs.text.passthrough_parameters.<key>.range.min`, `endpoints.inputs.text.passthrough_parameters.<key>.range.max`, `endpoints.inputs.text.passthrough_parameters.<key>.range.default`, `endpoints.inputs.text.passthrough_parameters.<key>.range.values`, `endpoints.inputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.image.passthrough_parameters`: `endpoints.inputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.image.passthrough_parameters.<key>.type`, `endpoints.inputs.image.passthrough_parameters.<key>.range.min`, `endpoints.inputs.image.passthrough_parameters.<key>.range.max`, `endpoints.inputs.image.passthrough_parameters.<key>.range.default`, `endpoints.inputs.image.passthrough_parameters.<key>.range.values`, `endpoints.inputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `image/png`, `image/jpeg`, `image/webp`, `image/gif`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.detail_levels.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.detail_levels.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `auto`, `low`, `high`, `original`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.role.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.role.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `reference`, `first_frame`, `last_frame`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.video.passthrough_parameters`: `endpoints.inputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.video.passthrough_parameters.<key>.type`, `endpoints.inputs.video.passthrough_parameters.<key>.range.min`, `endpoints.inputs.video.passthrough_parameters.<key>.range.max`, `endpoints.inputs.video.passthrough_parameters.<key>.range.default`, `endpoints.inputs.video.passthrough_parameters.<key>.range.values`, `endpoints.inputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `video/mp4`, `video/webm`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.audio.passthrough_parameters`: `endpoints.inputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.audio.passthrough_parameters.<key>.type`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `audio/wav`, `audio/mpeg`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.file.passthrough_parameters`: `endpoints.inputs.file.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.file.passthrough_parameters.<key>.type`, `endpoints.inputs.file.passthrough_parameters.<key>.range.min`, `endpoints.inputs.file.passthrough_parameters.<key>.range.max`, `endpoints.inputs.file.passthrough_parameters.<key>.range.default`, `endpoints.inputs.file.passthrough_parameters.<key>.range.values`, `endpoints.inputs.file.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `application/pdf`, `text/plain`, `text/markdown`, `text/html`, `text/csv`, `application/json`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.outputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `speech`, `transcription`, `embeddings`, `rerank`, `decisions`, `audio`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.passthrough_parameters`: `endpoints.outputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.passthrough_parameters.<key>.type`, `endpoints.outputs.text.passthrough_parameters.<key>.range.min`, `endpoints.outputs.text.passthrough_parameters.<key>.range.max`, `endpoints.outputs.text.passthrough_parameters.<key>.range.default`, `endpoints.outputs.text.passthrough_parameters.<key>.range.values`, `endpoints.outputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.params`: `endpoints.outputs.text.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.params.<key>.type`, `endpoints.outputs.text.params.<key>.range.min`, `endpoints.outputs.text.params.<key>.range.max`, `endpoints.outputs.text.params.<key>.range.default`, `endpoints.outputs.text.params.<key>.range.values`, `endpoints.outputs.text.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.passthrough_parameters`: `endpoints.outputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.passthrough_parameters.<key>.type`, `endpoints.outputs.image.passthrough_parameters.<key>.range.min`, `endpoints.outputs.image.passthrough_parameters.<key>.range.max`, `endpoints.outputs.image.passthrough_parameters.<key>.range.default`, `endpoints.outputs.image.passthrough_parameters.<key>.range.values`, `endpoints.outputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.params`: `endpoints.outputs.image.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.params.<key>.type`, `endpoints.outputs.image.params.<key>.range.min`, `endpoints.outputs.image.params.<key>.range.max`, `endpoints.outputs.image.params.<key>.range.default`, `endpoints.outputs.image.params.<key>.range.values`, `endpoints.outputs.image.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.passthrough_parameters`: `endpoints.outputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.passthrough_parameters.<key>.type`, `endpoints.outputs.video.passthrough_parameters.<key>.range.min`, `endpoints.outputs.video.passthrough_parameters.<key>.range.max`, `endpoints.outputs.video.passthrough_parameters.<key>.range.default`, `endpoints.outputs.video.passthrough_parameters.<key>.range.values`, `endpoints.outputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.params`: `endpoints.outputs.video.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.params.<key>.type`, `endpoints.outputs.video.params.<key>.range.min`, `endpoints.outputs.video.params.<key>.range.max`, `endpoints.outputs.video.params.<key>.range.default`, `endpoints.outputs.video.params.<key>.range.values`, `endpoints.outputs.video.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.passthrough_parameters`: `endpoints.outputs.speech.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.passthrough_parameters.<key>.type`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.min`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.max`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.default`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.values`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.params`: `endpoints.outputs.speech.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.params.<key>.type`, `endpoints.outputs.speech.params.<key>.range.min`, `endpoints.outputs.speech.params.<key>.range.max`, `endpoints.outputs.speech.params.<key>.range.default`, `endpoints.outputs.speech.params.<key>.range.values`, `endpoints.outputs.speech.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.passthrough_parameters`: `endpoints.outputs.transcription.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.passthrough_parameters.<key>.type`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.min`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.max`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.default`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.values`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.params`: `endpoints.outputs.transcription.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.params.<key>.type`, `endpoints.outputs.transcription.params.<key>.range.min`, `endpoints.outputs.transcription.params.<key>.range.max`, `endpoints.outputs.transcription.params.<key>.range.default`, `endpoints.outputs.transcription.params.<key>.range.values`, `endpoints.outputs.transcription.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.passthrough_parameters`: `endpoints.outputs.embeddings.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.passthrough_parameters.<key>.type`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.min`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.max`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.default`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.values`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.params`: `endpoints.outputs.embeddings.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.params.<key>.type`, `endpoints.outputs.embeddings.params.<key>.range.min`, `endpoints.outputs.embeddings.params.<key>.range.max`, `endpoints.outputs.embeddings.params.<key>.range.default`, `endpoints.outputs.embeddings.params.<key>.range.values`, `endpoints.outputs.embeddings.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.passthrough_parameters`: `endpoints.outputs.rerank.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.passthrough_parameters.<key>.type`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.min`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.max`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.default`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.values`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.params`: `endpoints.outputs.rerank.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.params.<key>.type`, `endpoints.outputs.rerank.params.<key>.range.min`, `endpoints.outputs.rerank.params.<key>.range.max`, `endpoints.outputs.rerank.params.<key>.range.default`, `endpoints.outputs.rerank.params.<key>.range.values`, `endpoints.outputs.rerank.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.passthrough_parameters`: `endpoints.outputs.decisions.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.passthrough_parameters.<key>.type`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.min`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.max`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.default`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.values`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.params`: `endpoints.outputs.decisions.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.params.<key>.type`, `endpoints.outputs.decisions.params.<key>.range.min`, `endpoints.outputs.decisions.params.<key>.range.max`, `endpoints.outputs.decisions.params.<key>.range.default`, `endpoints.outputs.decisions.params.<key>.range.values`, `endpoints.outputs.decisions.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.passthrough_parameters`: `endpoints.outputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.passthrough_parameters.<key>.type`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.params`: `endpoints.outputs.audio.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.params.<key>.type`, `endpoints.outputs.audio.params.<key>.range.min`, `endpoints.outputs.audio.params.<key>.range.max`, `endpoints.outputs.audio.params.<key>.range.default`, `endpoints.outputs.audio.params.<key>.range.values`, `endpoints.outputs.audio.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.provider.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.tag` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.training` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retains_prompts` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retention_days` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ListV2Async( + int? offset = default, + int? limit = default, + string? cursor = default, + global::OpenRouter.ListModelsV2Region? region = default, + string? sort = default, + string? id = default, + string? canonicalSlug = default, + string? author = default, + string? name = default, + string? variant = default, + string? kind = default, + string? aliasTargetSlug = default, + string? aliasTargetName = default, + string? created = default, + string? description = default, + string? contextLength = default, + string? huggingFaceId = default, + string? inputs = default, + string? outputs = default, + string? endpointsSchemaVersion = default, + string? endpointsId = default, + string? endpointsHuggingFaceId = default, + string? endpointsName = default, + string? endpointsCreated = default, + string? endpointsQuantization = default, + string? endpointsTokenizer = default, + string? endpointsDescription = default, + string? endpointsPricingType = default, + string? endpointsPricingRequestUnit = default, + string? endpointsPricingRequestCostUsd = default, + string? endpointsPricingRequestOverridesCostUsd = default, + string? endpointsPricingWebSearchUnit = default, + string? endpointsPricingWebSearchCostUsd = default, + string? endpointsPricingWebSearchOverridesCostUsd = default, + string? endpointsCapacityType = default, + string? endpointsCapacityRequestUnit = default, + string? endpointsCapacityRequestPer = default, + string? endpointsCapacityRequestValue = default, + string? endpointsCapacityWebSearchUnit = default, + string? endpointsCapacityWebSearchPer = default, + string? endpointsCapacityWebSearchValue = default, + string? endpointsCapacityConcurrencyUnit = default, + string? endpointsCapacityConcurrencyValue = default, + string? endpointsPassthroughParameters = default, + string? endpointsDeprecationDate = default, + string? endpointsIsReady = default, + string? endpointsIsFree = default, + string? endpointsServiceTier = default, + string? endpointsDiscountToUser = default, + string? endpointsOpenrouterSlug = default, + string? endpointsDatacentersCountryCode = default, + string? endpointsDatacentersRegion = default, + string? endpointsDeploymentRegion = default, + string? endpointsInputsType = default, + string? endpointsInputsTextPricingType = default, + string? endpointsInputsTextPricingPromptUnit = default, + string? endpointsInputsTextPricingPromptCostUsd = default, + string? endpointsInputsTextPricingPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingPromptUtcStart = default, + string? endpointsInputsTextPricingPromptUtcEnd = default, + string? endpointsInputsTextPricingPromptUtcDays = default, + string? endpointsInputsTextPricingCachedPromptUnit = default, + string? endpointsInputsTextPricingCachedPromptCostUsd = default, + string? endpointsInputsTextPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingCachedPromptTtlSeconds = default, + string? endpointsInputsTextPricingCachedPromptImplicit = default, + string? endpointsInputsTextPricingCachedPromptUtcStart = default, + string? endpointsInputsTextPricingCachedPromptUtcEnd = default, + string? endpointsInputsTextPricingCachedPromptUtcDays = default, + string? endpointsInputsTextPricingCacheWriteUnit = default, + string? endpointsInputsTextPricingCacheWriteCostUsd = default, + string? endpointsInputsTextPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsTextPricingCacheWriteTtlSeconds = default, + string? endpointsInputsTextPricingCacheWriteImplicit = default, + string? endpointsInputsTextPricingCacheWriteUtcStart = default, + string? endpointsInputsTextPricingCacheWriteUtcEnd = default, + string? endpointsInputsTextPricingCacheWriteUtcDays = default, + string? endpointsInputsTextCapacityType = default, + string? endpointsInputsTextCapacityPromptUnit = default, + string? endpointsInputsTextCapacityPromptPer = default, + string? endpointsInputsTextCapacityPromptValue = default, + string? endpointsInputsTextCapacityCachedPromptUnit = default, + string? endpointsInputsTextCapacityCachedPromptPer = default, + string? endpointsInputsTextCapacityCachedPromptValue = default, + string? endpointsInputsTextCapacityCacheWriteUnit = default, + string? endpointsInputsTextCapacityCacheWritePer = default, + string? endpointsInputsTextCapacityCacheWriteValue = default, + string? endpointsInputsTextPassthroughParameters = default, + string? endpointsInputsTextParamsMaxPromptLengthValue = default, + string? endpointsInputsTextParamsMaxPromptLengthUnit = default, + string? endpointsInputsTextParamsMaxLengthValue = default, + string? endpointsInputsTextParamsMaxLengthUnit = default, + string? endpointsInputsImagePricingType = default, + string? endpointsInputsImagePricingPromptUnit = default, + string? endpointsInputsImagePricingPromptCostUsd = default, + string? endpointsInputsImagePricingPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingPromptUtcStart = default, + string? endpointsInputsImagePricingPromptUtcEnd = default, + string? endpointsInputsImagePricingPromptUtcDays = default, + string? endpointsInputsImagePricingCachedPromptUnit = default, + string? endpointsInputsImagePricingCachedPromptCostUsd = default, + string? endpointsInputsImagePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingCachedPromptTtlSeconds = default, + string? endpointsInputsImagePricingCachedPromptImplicit = default, + string? endpointsInputsImagePricingCachedPromptUtcStart = default, + string? endpointsInputsImagePricingCachedPromptUtcEnd = default, + string? endpointsInputsImagePricingCachedPromptUtcDays = default, + string? endpointsInputsImagePricingCacheWriteUnit = default, + string? endpointsInputsImagePricingCacheWriteCostUsd = default, + string? endpointsInputsImagePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsImagePricingCacheWriteTtlSeconds = default, + string? endpointsInputsImagePricingCacheWriteImplicit = default, + string? endpointsInputsImagePricingCacheWriteUtcStart = default, + string? endpointsInputsImagePricingCacheWriteUtcEnd = default, + string? endpointsInputsImagePricingCacheWriteUtcDays = default, + string? endpointsInputsImageCapacityType = default, + string? endpointsInputsImageCapacityPromptUnit = default, + string? endpointsInputsImageCapacityPromptPer = default, + string? endpointsInputsImageCapacityPromptValue = default, + string? endpointsInputsImageCapacityCachedPromptUnit = default, + string? endpointsInputsImageCapacityCachedPromptPer = default, + string? endpointsInputsImageCapacityCachedPromptValue = default, + string? endpointsInputsImageCapacityCacheWriteUnit = default, + string? endpointsInputsImageCapacityCacheWritePer = default, + string? endpointsInputsImageCapacityCacheWriteValue = default, + string? endpointsInputsImagePassthroughParameters = default, + string? endpointsInputsImageParamsSourcesType = default, + string? endpointsInputsImageParamsSourcesValues = default, + string? endpointsInputsImageParamsFormatsType = default, + string? endpointsInputsImageParamsFormatsValues = default, + string? endpointsInputsImageParamsDetailLevelsType = default, + string? endpointsInputsImageParamsDetailLevelsValues = default, + string? endpointsInputsImageParamsReferencesType = default, + string? endpointsInputsImageParamsReferencesMin = default, + string? endpointsInputsImageParamsReferencesMax = default, + string? endpointsInputsImageParamsReferencesUnit = default, + string? endpointsInputsImageParamsRoleType = default, + string? endpointsInputsImageParamsRoleValues = default, + string? endpointsInputsImageParamsMaxContentSizeBytesValue = default, + string? endpointsInputsImageParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsVideoPricingType = default, + string? endpointsInputsVideoPricingPromptUnit = default, + string? endpointsInputsVideoPricingPromptCostUsd = default, + string? endpointsInputsVideoPricingPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingPromptUtcStart = default, + string? endpointsInputsVideoPricingPromptUtcEnd = default, + string? endpointsInputsVideoPricingPromptUtcDays = default, + string? endpointsInputsVideoPricingCachedPromptUnit = default, + string? endpointsInputsVideoPricingCachedPromptCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptTtlSeconds = default, + string? endpointsInputsVideoPricingCachedPromptImplicit = default, + string? endpointsInputsVideoPricingCachedPromptUtcStart = default, + string? endpointsInputsVideoPricingCachedPromptUtcEnd = default, + string? endpointsInputsVideoPricingCachedPromptUtcDays = default, + string? endpointsInputsVideoPricingCacheWriteUnit = default, + string? endpointsInputsVideoPricingCacheWriteCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteTtlSeconds = default, + string? endpointsInputsVideoPricingCacheWriteImplicit = default, + string? endpointsInputsVideoPricingCacheWriteUtcStart = default, + string? endpointsInputsVideoPricingCacheWriteUtcEnd = default, + string? endpointsInputsVideoPricingCacheWriteUtcDays = default, + string? endpointsInputsVideoCapacityType = default, + string? endpointsInputsVideoCapacityPromptUnit = default, + string? endpointsInputsVideoCapacityPromptPer = default, + string? endpointsInputsVideoCapacityPromptValue = default, + string? endpointsInputsVideoCapacityCachedPromptUnit = default, + string? endpointsInputsVideoCapacityCachedPromptPer = default, + string? endpointsInputsVideoCapacityCachedPromptValue = default, + string? endpointsInputsVideoCapacityCacheWriteUnit = default, + string? endpointsInputsVideoCapacityCacheWritePer = default, + string? endpointsInputsVideoCapacityCacheWriteValue = default, + string? endpointsInputsVideoPassthroughParameters = default, + string? endpointsInputsVideoParamsSourcesType = default, + string? endpointsInputsVideoParamsSourcesValues = default, + string? endpointsInputsVideoParamsFormatsType = default, + string? endpointsInputsVideoParamsFormatsValues = default, + string? endpointsInputsVideoParamsMaxDurationSecondsValue = default, + string? endpointsInputsVideoParamsMaxDurationSecondsUnit = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesValue = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsAudioPricingType = default, + string? endpointsInputsAudioPricingPromptUnit = default, + string? endpointsInputsAudioPricingPromptCostUsd = default, + string? endpointsInputsAudioPricingPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingPromptUtcStart = default, + string? endpointsInputsAudioPricingPromptUtcEnd = default, + string? endpointsInputsAudioPricingPromptUtcDays = default, + string? endpointsInputsAudioPricingCachedPromptUnit = default, + string? endpointsInputsAudioPricingCachedPromptCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptTtlSeconds = default, + string? endpointsInputsAudioPricingCachedPromptImplicit = default, + string? endpointsInputsAudioPricingCachedPromptUtcStart = default, + string? endpointsInputsAudioPricingCachedPromptUtcEnd = default, + string? endpointsInputsAudioPricingCachedPromptUtcDays = default, + string? endpointsInputsAudioPricingCacheWriteUnit = default, + string? endpointsInputsAudioPricingCacheWriteCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteTtlSeconds = default, + string? endpointsInputsAudioPricingCacheWriteImplicit = default, + string? endpointsInputsAudioPricingCacheWriteUtcStart = default, + string? endpointsInputsAudioPricingCacheWriteUtcEnd = default, + string? endpointsInputsAudioPricingCacheWriteUtcDays = default, + string? endpointsInputsAudioCapacityType = default, + string? endpointsInputsAudioCapacityPromptUnit = default, + string? endpointsInputsAudioCapacityPromptPer = default, + string? endpointsInputsAudioCapacityPromptValue = default, + string? endpointsInputsAudioCapacityCachedPromptUnit = default, + string? endpointsInputsAudioCapacityCachedPromptPer = default, + string? endpointsInputsAudioCapacityCachedPromptValue = default, + string? endpointsInputsAudioCapacityCacheWriteUnit = default, + string? endpointsInputsAudioCapacityCacheWritePer = default, + string? endpointsInputsAudioCapacityCacheWriteValue = default, + string? endpointsInputsAudioPassthroughParameters = default, + string? endpointsInputsAudioParamsSourcesType = default, + string? endpointsInputsAudioParamsSourcesValues = default, + string? endpointsInputsAudioParamsFormatsType = default, + string? endpointsInputsAudioParamsFormatsValues = default, + string? endpointsInputsAudioParamsMaxDurationSecondsValue = default, + string? endpointsInputsAudioParamsMaxDurationSecondsUnit = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesValue = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsFilePricingType = default, + string? endpointsInputsFilePricingPromptUnit = default, + string? endpointsInputsFilePricingPromptCostUsd = default, + string? endpointsInputsFilePricingPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingPromptUtcStart = default, + string? endpointsInputsFilePricingPromptUtcEnd = default, + string? endpointsInputsFilePricingPromptUtcDays = default, + string? endpointsInputsFilePricingCachedPromptUnit = default, + string? endpointsInputsFilePricingCachedPromptCostUsd = default, + string? endpointsInputsFilePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingCachedPromptTtlSeconds = default, + string? endpointsInputsFilePricingCachedPromptImplicit = default, + string? endpointsInputsFilePricingCachedPromptUtcStart = default, + string? endpointsInputsFilePricingCachedPromptUtcEnd = default, + string? endpointsInputsFilePricingCachedPromptUtcDays = default, + string? endpointsInputsFilePricingCacheWriteUnit = default, + string? endpointsInputsFilePricingCacheWriteCostUsd = default, + string? endpointsInputsFilePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsFilePricingCacheWriteTtlSeconds = default, + string? endpointsInputsFilePricingCacheWriteImplicit = default, + string? endpointsInputsFilePricingCacheWriteUtcStart = default, + string? endpointsInputsFilePricingCacheWriteUtcEnd = default, + string? endpointsInputsFilePricingCacheWriteUtcDays = default, + string? endpointsInputsFileCapacityType = default, + string? endpointsInputsFileCapacityPromptUnit = default, + string? endpointsInputsFileCapacityPromptPer = default, + string? endpointsInputsFileCapacityPromptValue = default, + string? endpointsInputsFileCapacityCachedPromptUnit = default, + string? endpointsInputsFileCapacityCachedPromptPer = default, + string? endpointsInputsFileCapacityCachedPromptValue = default, + string? endpointsInputsFileCapacityCacheWriteUnit = default, + string? endpointsInputsFileCapacityCacheWritePer = default, + string? endpointsInputsFileCapacityCacheWriteValue = default, + string? endpointsInputsFilePassthroughParameters = default, + string? endpointsInputsFileParamsSourcesType = default, + string? endpointsInputsFileParamsSourcesValues = default, + string? endpointsInputsFileParamsFormatsType = default, + string? endpointsInputsFileParamsFormatsValues = default, + string? endpointsInputsFileParamsReferencesType = default, + string? endpointsInputsFileParamsReferencesMin = default, + string? endpointsInputsFileParamsReferencesMax = default, + string? endpointsInputsFileParamsReferencesUnit = default, + string? endpointsInputsFileParamsMaxContentSizeBytesValue = default, + string? endpointsInputsFileParamsMaxContentSizeBytesUnit = default, + string? endpointsOutputsType = default, + string? endpointsOutputsTextMaxLengthValue = default, + string? endpointsOutputsTextMaxLengthUnit = default, + string? endpointsOutputsTextPassthroughParameters = default, + string? endpointsOutputsTextPricingType = default, + string? endpointsOutputsTextPricingCompletionUnit = default, + string? endpointsOutputsTextPricingCompletionCostUsd = default, + string? endpointsOutputsTextPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTextPricingCompletionUtcStart = default, + string? endpointsOutputsTextPricingCompletionUtcEnd = default, + string? endpointsOutputsTextPricingCompletionUtcDays = default, + string? endpointsOutputsTextPricingInternalReasoningUnit = default, + string? endpointsOutputsTextPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTextPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTextCapacityType = default, + string? endpointsOutputsTextCapacityCompletionUnit = default, + string? endpointsOutputsTextCapacityCompletionPer = default, + string? endpointsOutputsTextCapacityCompletionValue = default, + string? endpointsOutputsTextCapacityInternalReasoningUnit = default, + string? endpointsOutputsTextCapacityInternalReasoningPer = default, + string? endpointsOutputsTextCapacityInternalReasoningValue = default, + string? endpointsOutputsTextCapacityConcurrencyUnit = default, + string? endpointsOutputsTextCapacityConcurrencyValue = default, + string? endpointsOutputsTextStreaming = default, + string? endpointsOutputsTextParams = default, + string? endpointsOutputsImagePassthroughParameters = default, + string? endpointsOutputsImagePricingType = default, + string? endpointsOutputsImagePricingCompletionUnit = default, + string? endpointsOutputsImagePricingCompletionCostUsd = default, + string? endpointsOutputsImagePricingCompletionOverridesCostUsd = default, + string? endpointsOutputsImagePricingCompletionUtcStart = default, + string? endpointsOutputsImagePricingCompletionUtcEnd = default, + string? endpointsOutputsImagePricingCompletionUtcDays = default, + string? endpointsOutputsImagePricingInternalReasoningUnit = default, + string? endpointsOutputsImagePricingInternalReasoningCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcStart = default, + string? endpointsOutputsImagePricingInternalReasoningUtcEnd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcDays = default, + string? endpointsOutputsImageCapacityType = default, + string? endpointsOutputsImageCapacityCompletionUnit = default, + string? endpointsOutputsImageCapacityCompletionPer = default, + string? endpointsOutputsImageCapacityCompletionValue = default, + string? endpointsOutputsImageCapacityInternalReasoningUnit = default, + string? endpointsOutputsImageCapacityInternalReasoningPer = default, + string? endpointsOutputsImageCapacityInternalReasoningValue = default, + string? endpointsOutputsImageCapacityConcurrencyUnit = default, + string? endpointsOutputsImageCapacityConcurrencyValue = default, + string? endpointsOutputsImageStreaming = default, + string? endpointsOutputsImageParams = default, + string? endpointsOutputsVideoPassthroughParameters = default, + string? endpointsOutputsVideoPricingType = default, + string? endpointsOutputsVideoPricingCompletionUnit = default, + string? endpointsOutputsVideoPricingCompletionCostUsd = default, + string? endpointsOutputsVideoPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsVideoPricingCompletionUtcStart = default, + string? endpointsOutputsVideoPricingCompletionUtcEnd = default, + string? endpointsOutputsVideoPricingCompletionUtcDays = default, + string? endpointsOutputsVideoPricingInternalReasoningUnit = default, + string? endpointsOutputsVideoPricingInternalReasoningCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcStart = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcDays = default, + string? endpointsOutputsVideoCapacityType = default, + string? endpointsOutputsVideoCapacityCompletionUnit = default, + string? endpointsOutputsVideoCapacityCompletionPer = default, + string? endpointsOutputsVideoCapacityCompletionValue = default, + string? endpointsOutputsVideoCapacityInternalReasoningUnit = default, + string? endpointsOutputsVideoCapacityInternalReasoningPer = default, + string? endpointsOutputsVideoCapacityInternalReasoningValue = default, + string? endpointsOutputsVideoCapacityConcurrencyUnit = default, + string? endpointsOutputsVideoCapacityConcurrencyValue = default, + string? endpointsOutputsVideoStreaming = default, + string? endpointsOutputsVideoParams = default, + string? endpointsOutputsSpeechPassthroughParameters = default, + string? endpointsOutputsSpeechPricingType = default, + string? endpointsOutputsSpeechPricingCompletionUnit = default, + string? endpointsOutputsSpeechPricingCompletionCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionUtcStart = default, + string? endpointsOutputsSpeechPricingCompletionUtcEnd = default, + string? endpointsOutputsSpeechPricingCompletionUtcDays = default, + string? endpointsOutputsSpeechPricingInternalReasoningUnit = default, + string? endpointsOutputsSpeechPricingInternalReasoningCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcStart = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcDays = default, + string? endpointsOutputsSpeechCapacityType = default, + string? endpointsOutputsSpeechCapacityCompletionUnit = default, + string? endpointsOutputsSpeechCapacityCompletionPer = default, + string? endpointsOutputsSpeechCapacityCompletionValue = default, + string? endpointsOutputsSpeechCapacityInternalReasoningUnit = default, + string? endpointsOutputsSpeechCapacityInternalReasoningPer = default, + string? endpointsOutputsSpeechCapacityInternalReasoningValue = default, + string? endpointsOutputsSpeechCapacityConcurrencyUnit = default, + string? endpointsOutputsSpeechCapacityConcurrencyValue = default, + string? endpointsOutputsSpeechStreaming = default, + string? endpointsOutputsSpeechParams = default, + string? endpointsOutputsTranscriptionPassthroughParameters = default, + string? endpointsOutputsTranscriptionPricingType = default, + string? endpointsOutputsTranscriptionPricingCompletionUnit = default, + string? endpointsOutputsTranscriptionPricingCompletionCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcStart = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcEnd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcDays = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTranscriptionCapacityType = default, + string? endpointsOutputsTranscriptionCapacityCompletionUnit = default, + string? endpointsOutputsTranscriptionCapacityCompletionPer = default, + string? endpointsOutputsTranscriptionCapacityCompletionValue = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningPer = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningValue = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyUnit = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyValue = default, + string? endpointsOutputsTranscriptionStreaming = default, + string? endpointsOutputsTranscriptionParams = default, + string? endpointsOutputsEmbeddingsPassthroughParameters = default, + string? endpointsOutputsEmbeddingsPricingType = default, + string? endpointsOutputsEmbeddingsPricingCompletionUnit = default, + string? endpointsOutputsEmbeddingsPricingCompletionCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcStart = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcDays = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsEmbeddingsCapacityType = default, + string? endpointsOutputsEmbeddingsCapacityCompletionUnit = default, + string? endpointsOutputsEmbeddingsCapacityCompletionPer = default, + string? endpointsOutputsEmbeddingsCapacityCompletionValue = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningPer = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningValue = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyUnit = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyValue = default, + string? endpointsOutputsEmbeddingsParams = default, + string? endpointsOutputsRerankPassthroughParameters = default, + string? endpointsOutputsRerankPricingType = default, + string? endpointsOutputsRerankPricingCompletionUnit = default, + string? endpointsOutputsRerankPricingCompletionCostUsd = default, + string? endpointsOutputsRerankPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsRerankPricingCompletionUtcStart = default, + string? endpointsOutputsRerankPricingCompletionUtcEnd = default, + string? endpointsOutputsRerankPricingCompletionUtcDays = default, + string? endpointsOutputsRerankPricingInternalReasoningUnit = default, + string? endpointsOutputsRerankPricingInternalReasoningCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcStart = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcDays = default, + string? endpointsOutputsRerankCapacityType = default, + string? endpointsOutputsRerankCapacityCompletionUnit = default, + string? endpointsOutputsRerankCapacityCompletionPer = default, + string? endpointsOutputsRerankCapacityCompletionValue = default, + string? endpointsOutputsRerankCapacityInternalReasoningUnit = default, + string? endpointsOutputsRerankCapacityInternalReasoningPer = default, + string? endpointsOutputsRerankCapacityInternalReasoningValue = default, + string? endpointsOutputsRerankCapacityConcurrencyUnit = default, + string? endpointsOutputsRerankCapacityConcurrencyValue = default, + string? endpointsOutputsRerankParams = default, + string? endpointsOutputsDecisionsPassthroughParameters = default, + string? endpointsOutputsDecisionsPricingType = default, + string? endpointsOutputsDecisionsPricingCompletionUnit = default, + string? endpointsOutputsDecisionsPricingCompletionCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcStart = default, + string? endpointsOutputsDecisionsPricingCompletionUtcEnd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcDays = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUnit = default, + string? endpointsOutputsDecisionsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsDecisionsCapacityType = default, + string? endpointsOutputsDecisionsCapacityCompletionUnit = default, + string? endpointsOutputsDecisionsCapacityCompletionPer = default, + string? endpointsOutputsDecisionsCapacityCompletionValue = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningUnit = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningPer = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningValue = default, + string? endpointsOutputsDecisionsCapacityConcurrencyUnit = default, + string? endpointsOutputsDecisionsCapacityConcurrencyValue = default, + string? endpointsOutputsDecisionsParams = default, + string? endpointsOutputsAudioPassthroughParameters = default, + string? endpointsOutputsAudioPricingType = default, + string? endpointsOutputsAudioPricingCompletionUnit = default, + string? endpointsOutputsAudioPricingCompletionCostUsd = default, + string? endpointsOutputsAudioPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsAudioPricingCompletionUtcStart = default, + string? endpointsOutputsAudioPricingCompletionUtcEnd = default, + string? endpointsOutputsAudioPricingCompletionUtcDays = default, + string? endpointsOutputsAudioPricingInternalReasoningUnit = default, + string? endpointsOutputsAudioPricingInternalReasoningCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcStart = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcDays = default, + string? endpointsOutputsAudioCapacityType = default, + string? endpointsOutputsAudioCapacityCompletionUnit = default, + string? endpointsOutputsAudioCapacityCompletionPer = default, + string? endpointsOutputsAudioCapacityCompletionValue = default, + string? endpointsOutputsAudioCapacityInternalReasoningUnit = default, + string? endpointsOutputsAudioCapacityInternalReasoningPer = default, + string? endpointsOutputsAudioCapacityInternalReasoningValue = default, + string? endpointsOutputsAudioCapacityConcurrencyUnit = default, + string? endpointsOutputsAudioCapacityConcurrencyValue = default, + string? endpointsOutputsAudioStreaming = default, + string? endpointsOutputsAudioParams = default, + string? endpointsProviderSlug = default, + string? endpointsProviderTag = default, + string? endpointsProviderName = default, + string? endpointsDataPolicyTraining = default, + string? endpointsDataPolicyRetainsPrompts = default, + string? endpointsDataPolicyRetentionDays = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List models with V2 endpoint documents
+ /// Returns every publicly served model together with each of its endpoints in the Models API V2 document format. The V2 document is the schema providers publish to OpenRouter, so each endpoint is reported in the shape it was declared, with pricing attached to the modality it applies to (`inputs`/`outputs`, each with its `params`). Operator-only fields such as capacity and `discount_to_user` are not part of the public document.
+ /// Without credentials the response is the public catalog. With an API key it is the catalog that key can route to, the same one `GET /api/v1/models/user` serves: models and endpoints the account was granted private access to are included, and endpoints the account or key guardrails, provider preferences, BYOK and privacy settings exclude are omitted, along with routers and aliases left with nothing to route to. A key that does not resolve is rejected with 401.
+ /// Every field of the response document is a filter, named by its dotted JSON path: `<path>=<value>` tests equality and `<path>.<operator>=<value>` applies `gt`, `gte`, `lt`, `lte`, `between`, `in`, `exists`, `contains`, `starts_with` or `ends_with` as the field type allows; `<path>.not.<operator>=<value>` (or `<path>.not=<value>` for not-equal) keeps the records where no value matches. Suffixes, arithmetic operators, parentheses and the list comma are read before percent-decoding, so an encoded character is always literal: a map key spelled like an operator or `not` is reached by encoding one of its characters (`params.n%6Ft.exists=true`), a `/` or `+` inside a literal is `%2F` or `%2B`, and arithmetic is spelled with the bare characters (`created/10`, `context_length+1`). `in` takes a comma-separated list and `between` the inclusive lower and upper bound (a literal comma is `%2C`); strings compare trimmed and lower-cased on both sides, so `author=Anthropic` and `name.contains=claude` match. A filter under `endpoints.` keeps only the endpoints that satisfy every such filter and omits models left with none. A path through a repeated object is existential (`endpoints.pricing.type=request` matches an endpoint with some request-priced entry); the members of a typed collection are addressed by their type (`endpoints.inputs.text.params.max_length.value.gte=1000000`, `endpoints.inputs.text.pricing.prompt.cost_usd.lte=0.000001`), and a dynamic key is written in the path (`endpoints.outputs.text.params.tools.type=boolean`, `endpoints.outputs.text.params.temperature.range.max.gte=2`). Both sides of an operator are operands of one grammar: a literal, a path, or an arithmetic expression over numeric paths and numbers, so a filter relates any two of them (`endpoints.inputs.text.pricing.prompt.cost_usd.gte=endpoints.outputs.text.pricing.completion.cost_usd*100`, `10000.lte=endpoints.inputs.text.params.max_length.value`, `endpoints.id=id`). Arithmetic requires numeric paths, each operator applies to the type its operands share, and text that names no field path is a literal (`id=openai/gpt-4`), so the field names at the root of the document are reserved words. A parameter that is not a field path is rejected with a 400 whose `error.metadata` names the `code`, `parameter` and `reason`.
+ /// `sort` takes comma-separated paths or expressions, `-` prefixed for descending; a key must be a scalar path or expression (`created`, `endpoints.inputs.text.pricing.prompt.cost_usd`); a model sorts by the best value in the sort direction across its endpoints and across the time windows of a price, missing values sort last and `id` ascending breaks ties, so the order is total even without `sort`. Pagination is opt-in: pass `limit` and follow `links.next`, which carries an opaque `cursor` bound to the filters and sort; `offset` remains supported. `total_count` is the number of models matching the filters. + ///
+ /// + /// Number of records to skip (0 when omitted); kept for compatibility, prefer `cursor`. Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 0 + /// + /// + /// Maximum number of records to return (500 when omitted, max 1000). Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 500 + /// + /// + /// Opaque keyset cursor from the previous page's `links.next`. Bound to the filters and sort it was issued for; a cursor sent with different filters or sort is rejected.
+ /// Example: eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); models left without an endpoint are omitted.
+ /// Example: eu + /// + /// + /// Comma-separated sort keys, each a path below or an arithmetic expression over numeric paths; prefix with `-` for descending. A key under `endpoints.` ranks each model by its best endpoint value in the sort direction. Missing values sort last and `id` ascending breaks ties. Keys: `id`, `canonical_slug`, `author`, `name`, `variant`, `kind`, `alias_target.slug`, `alias_target.name`, `created`, `description`, `context_length`, `hugging_face_id`, `endpoints.schema_version`, `endpoints.id`, `endpoints.hugging_face_id`, `endpoints.name`, `endpoints.created`, `endpoints.quantization`, `endpoints.tokenizer`, `endpoints.description`, `endpoints.pricing.request.unit`, `endpoints.pricing.request.cost_usd`, `endpoints.pricing.web_search.unit`, `endpoints.pricing.web_search.cost_usd`, `endpoints.capacity.request.unit`, `endpoints.capacity.request.per`, `endpoints.capacity.request.value`, `endpoints.capacity.web_search.unit`, `endpoints.capacity.web_search.per`, `endpoints.capacity.web_search.value`, `endpoints.capacity.concurrency.unit`, `endpoints.capacity.concurrency.value`, `endpoints.deprecation_date`, `endpoints.is_ready`, `endpoints.is_free`, `endpoints.service_tier`, `endpoints.discount_to_user`, `endpoints.openrouter.slug`, `endpoints.deployment_region`, `endpoints.inputs.text.pricing.prompt.unit`, `endpoints.inputs.text.pricing.prompt.cost_usd`, `endpoints.inputs.text.pricing.prompt.utc_start`, `endpoints.inputs.text.pricing.prompt.utc_end`, `endpoints.inputs.text.pricing.cached_prompt.unit`, `endpoints.inputs.text.pricing.cached_prompt.cost_usd`, `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.text.pricing.cached_prompt.implicit`, `endpoints.inputs.text.pricing.cached_prompt.utc_start`, `endpoints.inputs.text.pricing.cached_prompt.utc_end`, `endpoints.inputs.text.pricing.cache_write.unit`, `endpoints.inputs.text.pricing.cache_write.cost_usd`, `endpoints.inputs.text.pricing.cache_write.ttl_seconds`, `endpoints.inputs.text.pricing.cache_write.implicit`, `endpoints.inputs.text.pricing.cache_write.utc_start`, `endpoints.inputs.text.pricing.cache_write.utc_end`, `endpoints.inputs.text.capacity.prompt.unit`, `endpoints.inputs.text.capacity.prompt.per`, `endpoints.inputs.text.capacity.prompt.value`, `endpoints.inputs.text.capacity.cached_prompt.unit`, `endpoints.inputs.text.capacity.cached_prompt.per`, `endpoints.inputs.text.capacity.cached_prompt.value`, `endpoints.inputs.text.capacity.cache_write.unit`, `endpoints.inputs.text.capacity.cache_write.per`, `endpoints.inputs.text.capacity.cache_write.value`, `endpoints.inputs.text.params.max_prompt_length.value`, `endpoints.inputs.text.params.max_prompt_length.unit`, `endpoints.inputs.text.params.max_length.value`, `endpoints.inputs.text.params.max_length.unit`, `endpoints.inputs.image.pricing.prompt.unit`, `endpoints.inputs.image.pricing.prompt.cost_usd`, `endpoints.inputs.image.pricing.prompt.utc_start`, `endpoints.inputs.image.pricing.prompt.utc_end`, `endpoints.inputs.image.pricing.cached_prompt.unit`, `endpoints.inputs.image.pricing.cached_prompt.cost_usd`, `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.image.pricing.cached_prompt.implicit`, `endpoints.inputs.image.pricing.cached_prompt.utc_start`, `endpoints.inputs.image.pricing.cached_prompt.utc_end`, `endpoints.inputs.image.pricing.cache_write.unit`, `endpoints.inputs.image.pricing.cache_write.cost_usd`, `endpoints.inputs.image.pricing.cache_write.ttl_seconds`, `endpoints.inputs.image.pricing.cache_write.implicit`, `endpoints.inputs.image.pricing.cache_write.utc_start`, `endpoints.inputs.image.pricing.cache_write.utc_end`, `endpoints.inputs.image.capacity.prompt.unit`, `endpoints.inputs.image.capacity.prompt.per`, `endpoints.inputs.image.capacity.prompt.value`, `endpoints.inputs.image.capacity.cached_prompt.unit`, `endpoints.inputs.image.capacity.cached_prompt.per`, `endpoints.inputs.image.capacity.cached_prompt.value`, `endpoints.inputs.image.capacity.cache_write.unit`, `endpoints.inputs.image.capacity.cache_write.per`, `endpoints.inputs.image.capacity.cache_write.value`, `endpoints.inputs.image.params.sources.type`, `endpoints.inputs.image.params.formats.type`, `endpoints.inputs.image.params.detail_levels.type`, `endpoints.inputs.image.params.references.type`, `endpoints.inputs.image.params.references.min`, `endpoints.inputs.image.params.references.max`, `endpoints.inputs.image.params.references.unit`, `endpoints.inputs.image.params.role.type`, `endpoints.inputs.image.params.max_content_size_bytes.value`, `endpoints.inputs.image.params.max_content_size_bytes.unit`, `endpoints.inputs.video.pricing.prompt.unit`, `endpoints.inputs.video.pricing.prompt.cost_usd`, `endpoints.inputs.video.pricing.prompt.utc_start`, `endpoints.inputs.video.pricing.prompt.utc_end`, `endpoints.inputs.video.pricing.cached_prompt.unit`, `endpoints.inputs.video.pricing.cached_prompt.cost_usd`, `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.video.pricing.cached_prompt.implicit`, `endpoints.inputs.video.pricing.cached_prompt.utc_start`, `endpoints.inputs.video.pricing.cached_prompt.utc_end`, `endpoints.inputs.video.pricing.cache_write.unit`, `endpoints.inputs.video.pricing.cache_write.cost_usd`, `endpoints.inputs.video.pricing.cache_write.ttl_seconds`, `endpoints.inputs.video.pricing.cache_write.implicit`, `endpoints.inputs.video.pricing.cache_write.utc_start`, `endpoints.inputs.video.pricing.cache_write.utc_end`, `endpoints.inputs.video.capacity.prompt.unit`, `endpoints.inputs.video.capacity.prompt.per`, `endpoints.inputs.video.capacity.prompt.value`, `endpoints.inputs.video.capacity.cached_prompt.unit`, `endpoints.inputs.video.capacity.cached_prompt.per`, `endpoints.inputs.video.capacity.cached_prompt.value`, `endpoints.inputs.video.capacity.cache_write.unit`, `endpoints.inputs.video.capacity.cache_write.per`, `endpoints.inputs.video.capacity.cache_write.value`, `endpoints.inputs.video.params.sources.type`, `endpoints.inputs.video.params.formats.type`, `endpoints.inputs.video.params.max_duration_seconds.value`, `endpoints.inputs.video.params.max_duration_seconds.unit`, `endpoints.inputs.video.params.max_content_size_bytes.value`, `endpoints.inputs.video.params.max_content_size_bytes.unit`, `endpoints.inputs.audio.pricing.prompt.unit`, `endpoints.inputs.audio.pricing.prompt.cost_usd`, `endpoints.inputs.audio.pricing.prompt.utc_start`, `endpoints.inputs.audio.pricing.prompt.utc_end`, `endpoints.inputs.audio.pricing.cached_prompt.unit`, `endpoints.inputs.audio.pricing.cached_prompt.cost_usd`, `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.audio.pricing.cached_prompt.implicit`, `endpoints.inputs.audio.pricing.cached_prompt.utc_start`, `endpoints.inputs.audio.pricing.cached_prompt.utc_end`, `endpoints.inputs.audio.pricing.cache_write.unit`, `endpoints.inputs.audio.pricing.cache_write.cost_usd`, `endpoints.inputs.audio.pricing.cache_write.ttl_seconds`, `endpoints.inputs.audio.pricing.cache_write.implicit`, `endpoints.inputs.audio.pricing.cache_write.utc_start`, `endpoints.inputs.audio.pricing.cache_write.utc_end`, `endpoints.inputs.audio.capacity.prompt.unit`, `endpoints.inputs.audio.capacity.prompt.per`, `endpoints.inputs.audio.capacity.prompt.value`, `endpoints.inputs.audio.capacity.cached_prompt.unit`, `endpoints.inputs.audio.capacity.cached_prompt.per`, `endpoints.inputs.audio.capacity.cached_prompt.value`, `endpoints.inputs.audio.capacity.cache_write.unit`, `endpoints.inputs.audio.capacity.cache_write.per`, `endpoints.inputs.audio.capacity.cache_write.value`, `endpoints.inputs.audio.params.sources.type`, `endpoints.inputs.audio.params.formats.type`, `endpoints.inputs.audio.params.max_duration_seconds.value`, `endpoints.inputs.audio.params.max_duration_seconds.unit`, `endpoints.inputs.audio.params.max_content_size_bytes.value`, `endpoints.inputs.audio.params.max_content_size_bytes.unit`, `endpoints.inputs.file.pricing.prompt.unit`, `endpoints.inputs.file.pricing.prompt.cost_usd`, `endpoints.inputs.file.pricing.prompt.utc_start`, `endpoints.inputs.file.pricing.prompt.utc_end`, `endpoints.inputs.file.pricing.cached_prompt.unit`, `endpoints.inputs.file.pricing.cached_prompt.cost_usd`, `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.file.pricing.cached_prompt.implicit`, `endpoints.inputs.file.pricing.cached_prompt.utc_start`, `endpoints.inputs.file.pricing.cached_prompt.utc_end`, `endpoints.inputs.file.pricing.cache_write.unit`, `endpoints.inputs.file.pricing.cache_write.cost_usd`, `endpoints.inputs.file.pricing.cache_write.ttl_seconds`, `endpoints.inputs.file.pricing.cache_write.implicit`, `endpoints.inputs.file.pricing.cache_write.utc_start`, `endpoints.inputs.file.pricing.cache_write.utc_end`, `endpoints.inputs.file.capacity.prompt.unit`, `endpoints.inputs.file.capacity.prompt.per`, `endpoints.inputs.file.capacity.prompt.value`, `endpoints.inputs.file.capacity.cached_prompt.unit`, `endpoints.inputs.file.capacity.cached_prompt.per`, `endpoints.inputs.file.capacity.cached_prompt.value`, `endpoints.inputs.file.capacity.cache_write.unit`, `endpoints.inputs.file.capacity.cache_write.per`, `endpoints.inputs.file.capacity.cache_write.value`, `endpoints.inputs.file.params.sources.type`, `endpoints.inputs.file.params.formats.type`, `endpoints.inputs.file.params.references.type`, `endpoints.inputs.file.params.references.min`, `endpoints.inputs.file.params.references.max`, `endpoints.inputs.file.params.references.unit`, `endpoints.inputs.file.params.max_content_size_bytes.value`, `endpoints.inputs.file.params.max_content_size_bytes.unit`, `endpoints.outputs.text.max_length.value`, `endpoints.outputs.text.max_length.unit`, `endpoints.outputs.text.pricing.completion.unit`, `endpoints.outputs.text.pricing.completion.cost_usd`, `endpoints.outputs.text.pricing.completion.utc_start`, `endpoints.outputs.text.pricing.completion.utc_end`, `endpoints.outputs.text.pricing.internal_reasoning.unit`, `endpoints.outputs.text.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.text.pricing.internal_reasoning.utc_start`, `endpoints.outputs.text.pricing.internal_reasoning.utc_end`, `endpoints.outputs.text.capacity.completion.unit`, `endpoints.outputs.text.capacity.completion.per`, `endpoints.outputs.text.capacity.completion.value`, `endpoints.outputs.text.capacity.internal_reasoning.unit`, `endpoints.outputs.text.capacity.internal_reasoning.per`, `endpoints.outputs.text.capacity.internal_reasoning.value`, `endpoints.outputs.text.capacity.concurrency.unit`, `endpoints.outputs.text.capacity.concurrency.value`, `endpoints.outputs.text.streaming`, `endpoints.outputs.image.pricing.completion.unit`, `endpoints.outputs.image.pricing.completion.cost_usd`, `endpoints.outputs.image.pricing.completion.utc_start`, `endpoints.outputs.image.pricing.completion.utc_end`, `endpoints.outputs.image.pricing.internal_reasoning.unit`, `endpoints.outputs.image.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.image.pricing.internal_reasoning.utc_start`, `endpoints.outputs.image.pricing.internal_reasoning.utc_end`, `endpoints.outputs.image.capacity.completion.unit`, `endpoints.outputs.image.capacity.completion.per`, `endpoints.outputs.image.capacity.completion.value`, `endpoints.outputs.image.capacity.internal_reasoning.unit`, `endpoints.outputs.image.capacity.internal_reasoning.per`, `endpoints.outputs.image.capacity.internal_reasoning.value`, `endpoints.outputs.image.capacity.concurrency.unit`, `endpoints.outputs.image.capacity.concurrency.value`, `endpoints.outputs.image.streaming`, `endpoints.outputs.video.pricing.completion.unit`, `endpoints.outputs.video.pricing.completion.cost_usd`, `endpoints.outputs.video.pricing.completion.utc_start`, `endpoints.outputs.video.pricing.completion.utc_end`, `endpoints.outputs.video.pricing.internal_reasoning.unit`, `endpoints.outputs.video.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.video.pricing.internal_reasoning.utc_start`, `endpoints.outputs.video.pricing.internal_reasoning.utc_end`, `endpoints.outputs.video.capacity.completion.unit`, `endpoints.outputs.video.capacity.completion.per`, `endpoints.outputs.video.capacity.completion.value`, `endpoints.outputs.video.capacity.internal_reasoning.unit`, `endpoints.outputs.video.capacity.internal_reasoning.per`, `endpoints.outputs.video.capacity.internal_reasoning.value`, `endpoints.outputs.video.capacity.concurrency.unit`, `endpoints.outputs.video.capacity.concurrency.value`, `endpoints.outputs.video.streaming`, `endpoints.outputs.speech.pricing.completion.unit`, `endpoints.outputs.speech.pricing.completion.cost_usd`, `endpoints.outputs.speech.pricing.completion.utc_start`, `endpoints.outputs.speech.pricing.completion.utc_end`, `endpoints.outputs.speech.pricing.internal_reasoning.unit`, `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_start`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_end`, `endpoints.outputs.speech.capacity.completion.unit`, `endpoints.outputs.speech.capacity.completion.per`, `endpoints.outputs.speech.capacity.completion.value`, `endpoints.outputs.speech.capacity.internal_reasoning.unit`, `endpoints.outputs.speech.capacity.internal_reasoning.per`, `endpoints.outputs.speech.capacity.internal_reasoning.value`, `endpoints.outputs.speech.capacity.concurrency.unit`, `endpoints.outputs.speech.capacity.concurrency.value`, `endpoints.outputs.speech.streaming`, `endpoints.outputs.transcription.pricing.completion.unit`, `endpoints.outputs.transcription.pricing.completion.cost_usd`, `endpoints.outputs.transcription.pricing.completion.utc_start`, `endpoints.outputs.transcription.pricing.completion.utc_end`, `endpoints.outputs.transcription.pricing.internal_reasoning.unit`, `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end`, `endpoints.outputs.transcription.capacity.completion.unit`, `endpoints.outputs.transcription.capacity.completion.per`, `endpoints.outputs.transcription.capacity.completion.value`, `endpoints.outputs.transcription.capacity.internal_reasoning.unit`, `endpoints.outputs.transcription.capacity.internal_reasoning.per`, `endpoints.outputs.transcription.capacity.internal_reasoning.value`, `endpoints.outputs.transcription.capacity.concurrency.unit`, `endpoints.outputs.transcription.capacity.concurrency.value`, `endpoints.outputs.transcription.streaming`, `endpoints.outputs.embeddings.pricing.completion.unit`, `endpoints.outputs.embeddings.pricing.completion.cost_usd`, `endpoints.outputs.embeddings.pricing.completion.utc_start`, `endpoints.outputs.embeddings.pricing.completion.utc_end`, `endpoints.outputs.embeddings.pricing.internal_reasoning.unit`, `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end`, `endpoints.outputs.embeddings.capacity.completion.unit`, `endpoints.outputs.embeddings.capacity.completion.per`, `endpoints.outputs.embeddings.capacity.completion.value`, `endpoints.outputs.embeddings.capacity.internal_reasoning.unit`, `endpoints.outputs.embeddings.capacity.internal_reasoning.per`, `endpoints.outputs.embeddings.capacity.internal_reasoning.value`, `endpoints.outputs.embeddings.capacity.concurrency.unit`, `endpoints.outputs.embeddings.capacity.concurrency.value`, `endpoints.outputs.rerank.pricing.completion.unit`, `endpoints.outputs.rerank.pricing.completion.cost_usd`, `endpoints.outputs.rerank.pricing.completion.utc_start`, `endpoints.outputs.rerank.pricing.completion.utc_end`, `endpoints.outputs.rerank.pricing.internal_reasoning.unit`, `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end`, `endpoints.outputs.rerank.capacity.completion.unit`, `endpoints.outputs.rerank.capacity.completion.per`, `endpoints.outputs.rerank.capacity.completion.value`, `endpoints.outputs.rerank.capacity.internal_reasoning.unit`, `endpoints.outputs.rerank.capacity.internal_reasoning.per`, `endpoints.outputs.rerank.capacity.internal_reasoning.value`, `endpoints.outputs.rerank.capacity.concurrency.unit`, `endpoints.outputs.rerank.capacity.concurrency.value`, `endpoints.outputs.decisions.pricing.completion.unit`, `endpoints.outputs.decisions.pricing.completion.cost_usd`, `endpoints.outputs.decisions.pricing.completion.utc_start`, `endpoints.outputs.decisions.pricing.completion.utc_end`, `endpoints.outputs.decisions.pricing.internal_reasoning.unit`, `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end`, `endpoints.outputs.decisions.capacity.completion.unit`, `endpoints.outputs.decisions.capacity.completion.per`, `endpoints.outputs.decisions.capacity.completion.value`, `endpoints.outputs.decisions.capacity.internal_reasoning.unit`, `endpoints.outputs.decisions.capacity.internal_reasoning.per`, `endpoints.outputs.decisions.capacity.internal_reasoning.value`, `endpoints.outputs.decisions.capacity.concurrency.unit`, `endpoints.outputs.decisions.capacity.concurrency.value`, `endpoints.outputs.audio.pricing.completion.unit`, `endpoints.outputs.audio.pricing.completion.cost_usd`, `endpoints.outputs.audio.pricing.completion.utc_start`, `endpoints.outputs.audio.pricing.completion.utc_end`, `endpoints.outputs.audio.pricing.internal_reasoning.unit`, `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_start`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_end`, `endpoints.outputs.audio.capacity.completion.unit`, `endpoints.outputs.audio.capacity.completion.per`, `endpoints.outputs.audio.capacity.completion.value`, `endpoints.outputs.audio.capacity.internal_reasoning.unit`, `endpoints.outputs.audio.capacity.internal_reasoning.per`, `endpoints.outputs.audio.capacity.internal_reasoning.value`, `endpoints.outputs.audio.capacity.concurrency.unit`, `endpoints.outputs.audio.capacity.concurrency.value`, `endpoints.outputs.audio.streaming`, `endpoints.provider.slug`, `endpoints.provider.tag`, `endpoints.provider.name`, `endpoints.data_policy.training`, `endpoints.data_policy.retains_prompts`, `endpoints.data_policy.retention_days`.
+ /// Example: -created,endpoints.inputs.text.pricing.prompt.cost_usd + /// + /// + /// Filter where the value at `id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `canonical_slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `author` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `variant` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `free`, `extended`, `standard`, `thinking`, `batch`. + /// + /// + /// Filter where the value at `kind` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `model`, `router`, `alias`. + /// + /// + /// Filter where the value at `alias_target.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `alias_target.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `context_length` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `inputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `file`, `audio`, `video`. + /// + /// + /// Filter where any element at `outputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `embeddings`, `audio`, `video`, `rerank`, `decisions`, `speech`, `transcription`. + /// + /// + /// Filter where the value at `endpoints.schema_version` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.quantization` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `int4`, `int8`, `fp4`, `mxfp4`, `nvfp4`, `fp6`, `fp8`, `mxfp8`, `fp16`, `bf16`, `fp32`. + /// + /// + /// Filter where the value at `endpoints.tokenizer` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.request.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.web_search.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.passthrough_parameters`: `endpoints.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.passthrough_parameters.<key>.type`, `endpoints.passthrough_parameters.<key>.range.min`, `endpoints.passthrough_parameters.<key>.range.max`, `endpoints.passthrough_parameters.<key>.range.default`, `endpoints.passthrough_parameters.<key>.range.values`, `endpoints.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.deprecation_date` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_ready` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_free` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.service_tier` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `flex`, `priority`, `ultrafast`, `fast`. + /// + /// + /// Filter where the value at `endpoints.discount_to_user` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.openrouter.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.country_code` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.deployment_region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `audio`, `file`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.text.passthrough_parameters`: `endpoints.inputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.text.passthrough_parameters.<key>.type`, `endpoints.inputs.text.passthrough_parameters.<key>.range.min`, `endpoints.inputs.text.passthrough_parameters.<key>.range.max`, `endpoints.inputs.text.passthrough_parameters.<key>.range.default`, `endpoints.inputs.text.passthrough_parameters.<key>.range.values`, `endpoints.inputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.image.passthrough_parameters`: `endpoints.inputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.image.passthrough_parameters.<key>.type`, `endpoints.inputs.image.passthrough_parameters.<key>.range.min`, `endpoints.inputs.image.passthrough_parameters.<key>.range.max`, `endpoints.inputs.image.passthrough_parameters.<key>.range.default`, `endpoints.inputs.image.passthrough_parameters.<key>.range.values`, `endpoints.inputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `image/png`, `image/jpeg`, `image/webp`, `image/gif`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.detail_levels.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.detail_levels.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `auto`, `low`, `high`, `original`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.role.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.role.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `reference`, `first_frame`, `last_frame`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.video.passthrough_parameters`: `endpoints.inputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.video.passthrough_parameters.<key>.type`, `endpoints.inputs.video.passthrough_parameters.<key>.range.min`, `endpoints.inputs.video.passthrough_parameters.<key>.range.max`, `endpoints.inputs.video.passthrough_parameters.<key>.range.default`, `endpoints.inputs.video.passthrough_parameters.<key>.range.values`, `endpoints.inputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `video/mp4`, `video/webm`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.audio.passthrough_parameters`: `endpoints.inputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.audio.passthrough_parameters.<key>.type`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `audio/wav`, `audio/mpeg`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.file.passthrough_parameters`: `endpoints.inputs.file.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.file.passthrough_parameters.<key>.type`, `endpoints.inputs.file.passthrough_parameters.<key>.range.min`, `endpoints.inputs.file.passthrough_parameters.<key>.range.max`, `endpoints.inputs.file.passthrough_parameters.<key>.range.default`, `endpoints.inputs.file.passthrough_parameters.<key>.range.values`, `endpoints.inputs.file.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `application/pdf`, `text/plain`, `text/markdown`, `text/html`, `text/csv`, `application/json`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.outputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `speech`, `transcription`, `embeddings`, `rerank`, `decisions`, `audio`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.passthrough_parameters`: `endpoints.outputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.passthrough_parameters.<key>.type`, `endpoints.outputs.text.passthrough_parameters.<key>.range.min`, `endpoints.outputs.text.passthrough_parameters.<key>.range.max`, `endpoints.outputs.text.passthrough_parameters.<key>.range.default`, `endpoints.outputs.text.passthrough_parameters.<key>.range.values`, `endpoints.outputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.params`: `endpoints.outputs.text.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.params.<key>.type`, `endpoints.outputs.text.params.<key>.range.min`, `endpoints.outputs.text.params.<key>.range.max`, `endpoints.outputs.text.params.<key>.range.default`, `endpoints.outputs.text.params.<key>.range.values`, `endpoints.outputs.text.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.passthrough_parameters`: `endpoints.outputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.passthrough_parameters.<key>.type`, `endpoints.outputs.image.passthrough_parameters.<key>.range.min`, `endpoints.outputs.image.passthrough_parameters.<key>.range.max`, `endpoints.outputs.image.passthrough_parameters.<key>.range.default`, `endpoints.outputs.image.passthrough_parameters.<key>.range.values`, `endpoints.outputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.params`: `endpoints.outputs.image.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.params.<key>.type`, `endpoints.outputs.image.params.<key>.range.min`, `endpoints.outputs.image.params.<key>.range.max`, `endpoints.outputs.image.params.<key>.range.default`, `endpoints.outputs.image.params.<key>.range.values`, `endpoints.outputs.image.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.passthrough_parameters`: `endpoints.outputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.passthrough_parameters.<key>.type`, `endpoints.outputs.video.passthrough_parameters.<key>.range.min`, `endpoints.outputs.video.passthrough_parameters.<key>.range.max`, `endpoints.outputs.video.passthrough_parameters.<key>.range.default`, `endpoints.outputs.video.passthrough_parameters.<key>.range.values`, `endpoints.outputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.params`: `endpoints.outputs.video.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.params.<key>.type`, `endpoints.outputs.video.params.<key>.range.min`, `endpoints.outputs.video.params.<key>.range.max`, `endpoints.outputs.video.params.<key>.range.default`, `endpoints.outputs.video.params.<key>.range.values`, `endpoints.outputs.video.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.passthrough_parameters`: `endpoints.outputs.speech.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.passthrough_parameters.<key>.type`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.min`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.max`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.default`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.values`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.params`: `endpoints.outputs.speech.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.params.<key>.type`, `endpoints.outputs.speech.params.<key>.range.min`, `endpoints.outputs.speech.params.<key>.range.max`, `endpoints.outputs.speech.params.<key>.range.default`, `endpoints.outputs.speech.params.<key>.range.values`, `endpoints.outputs.speech.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.passthrough_parameters`: `endpoints.outputs.transcription.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.passthrough_parameters.<key>.type`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.min`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.max`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.default`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.values`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.params`: `endpoints.outputs.transcription.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.params.<key>.type`, `endpoints.outputs.transcription.params.<key>.range.min`, `endpoints.outputs.transcription.params.<key>.range.max`, `endpoints.outputs.transcription.params.<key>.range.default`, `endpoints.outputs.transcription.params.<key>.range.values`, `endpoints.outputs.transcription.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.passthrough_parameters`: `endpoints.outputs.embeddings.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.passthrough_parameters.<key>.type`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.min`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.max`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.default`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.values`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.params`: `endpoints.outputs.embeddings.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.params.<key>.type`, `endpoints.outputs.embeddings.params.<key>.range.min`, `endpoints.outputs.embeddings.params.<key>.range.max`, `endpoints.outputs.embeddings.params.<key>.range.default`, `endpoints.outputs.embeddings.params.<key>.range.values`, `endpoints.outputs.embeddings.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.passthrough_parameters`: `endpoints.outputs.rerank.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.passthrough_parameters.<key>.type`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.min`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.max`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.default`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.values`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.params`: `endpoints.outputs.rerank.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.params.<key>.type`, `endpoints.outputs.rerank.params.<key>.range.min`, `endpoints.outputs.rerank.params.<key>.range.max`, `endpoints.outputs.rerank.params.<key>.range.default`, `endpoints.outputs.rerank.params.<key>.range.values`, `endpoints.outputs.rerank.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.passthrough_parameters`: `endpoints.outputs.decisions.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.passthrough_parameters.<key>.type`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.min`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.max`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.default`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.values`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.params`: `endpoints.outputs.decisions.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.params.<key>.type`, `endpoints.outputs.decisions.params.<key>.range.min`, `endpoints.outputs.decisions.params.<key>.range.max`, `endpoints.outputs.decisions.params.<key>.range.default`, `endpoints.outputs.decisions.params.<key>.range.values`, `endpoints.outputs.decisions.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.passthrough_parameters`: `endpoints.outputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.passthrough_parameters.<key>.type`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.params`: `endpoints.outputs.audio.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.params.<key>.type`, `endpoints.outputs.audio.params.<key>.range.min`, `endpoints.outputs.audio.params.<key>.range.max`, `endpoints.outputs.audio.params.<key>.range.default`, `endpoints.outputs.audio.params.<key>.range.values`, `endpoints.outputs.audio.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.provider.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.tag` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.training` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retains_prompts` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retention_days` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ListV2AsResponseAsync( + int? offset = default, + int? limit = default, + string? cursor = default, + global::OpenRouter.ListModelsV2Region? region = default, + string? sort = default, + string? id = default, + string? canonicalSlug = default, + string? author = default, + string? name = default, + string? variant = default, + string? kind = default, + string? aliasTargetSlug = default, + string? aliasTargetName = default, + string? created = default, + string? description = default, + string? contextLength = default, + string? huggingFaceId = default, + string? inputs = default, + string? outputs = default, + string? endpointsSchemaVersion = default, + string? endpointsId = default, + string? endpointsHuggingFaceId = default, + string? endpointsName = default, + string? endpointsCreated = default, + string? endpointsQuantization = default, + string? endpointsTokenizer = default, + string? endpointsDescription = default, + string? endpointsPricingType = default, + string? endpointsPricingRequestUnit = default, + string? endpointsPricingRequestCostUsd = default, + string? endpointsPricingRequestOverridesCostUsd = default, + string? endpointsPricingWebSearchUnit = default, + string? endpointsPricingWebSearchCostUsd = default, + string? endpointsPricingWebSearchOverridesCostUsd = default, + string? endpointsCapacityType = default, + string? endpointsCapacityRequestUnit = default, + string? endpointsCapacityRequestPer = default, + string? endpointsCapacityRequestValue = default, + string? endpointsCapacityWebSearchUnit = default, + string? endpointsCapacityWebSearchPer = default, + string? endpointsCapacityWebSearchValue = default, + string? endpointsCapacityConcurrencyUnit = default, + string? endpointsCapacityConcurrencyValue = default, + string? endpointsPassthroughParameters = default, + string? endpointsDeprecationDate = default, + string? endpointsIsReady = default, + string? endpointsIsFree = default, + string? endpointsServiceTier = default, + string? endpointsDiscountToUser = default, + string? endpointsOpenrouterSlug = default, + string? endpointsDatacentersCountryCode = default, + string? endpointsDatacentersRegion = default, + string? endpointsDeploymentRegion = default, + string? endpointsInputsType = default, + string? endpointsInputsTextPricingType = default, + string? endpointsInputsTextPricingPromptUnit = default, + string? endpointsInputsTextPricingPromptCostUsd = default, + string? endpointsInputsTextPricingPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingPromptUtcStart = default, + string? endpointsInputsTextPricingPromptUtcEnd = default, + string? endpointsInputsTextPricingPromptUtcDays = default, + string? endpointsInputsTextPricingCachedPromptUnit = default, + string? endpointsInputsTextPricingCachedPromptCostUsd = default, + string? endpointsInputsTextPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingCachedPromptTtlSeconds = default, + string? endpointsInputsTextPricingCachedPromptImplicit = default, + string? endpointsInputsTextPricingCachedPromptUtcStart = default, + string? endpointsInputsTextPricingCachedPromptUtcEnd = default, + string? endpointsInputsTextPricingCachedPromptUtcDays = default, + string? endpointsInputsTextPricingCacheWriteUnit = default, + string? endpointsInputsTextPricingCacheWriteCostUsd = default, + string? endpointsInputsTextPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsTextPricingCacheWriteTtlSeconds = default, + string? endpointsInputsTextPricingCacheWriteImplicit = default, + string? endpointsInputsTextPricingCacheWriteUtcStart = default, + string? endpointsInputsTextPricingCacheWriteUtcEnd = default, + string? endpointsInputsTextPricingCacheWriteUtcDays = default, + string? endpointsInputsTextCapacityType = default, + string? endpointsInputsTextCapacityPromptUnit = default, + string? endpointsInputsTextCapacityPromptPer = default, + string? endpointsInputsTextCapacityPromptValue = default, + string? endpointsInputsTextCapacityCachedPromptUnit = default, + string? endpointsInputsTextCapacityCachedPromptPer = default, + string? endpointsInputsTextCapacityCachedPromptValue = default, + string? endpointsInputsTextCapacityCacheWriteUnit = default, + string? endpointsInputsTextCapacityCacheWritePer = default, + string? endpointsInputsTextCapacityCacheWriteValue = default, + string? endpointsInputsTextPassthroughParameters = default, + string? endpointsInputsTextParamsMaxPromptLengthValue = default, + string? endpointsInputsTextParamsMaxPromptLengthUnit = default, + string? endpointsInputsTextParamsMaxLengthValue = default, + string? endpointsInputsTextParamsMaxLengthUnit = default, + string? endpointsInputsImagePricingType = default, + string? endpointsInputsImagePricingPromptUnit = default, + string? endpointsInputsImagePricingPromptCostUsd = default, + string? endpointsInputsImagePricingPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingPromptUtcStart = default, + string? endpointsInputsImagePricingPromptUtcEnd = default, + string? endpointsInputsImagePricingPromptUtcDays = default, + string? endpointsInputsImagePricingCachedPromptUnit = default, + string? endpointsInputsImagePricingCachedPromptCostUsd = default, + string? endpointsInputsImagePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingCachedPromptTtlSeconds = default, + string? endpointsInputsImagePricingCachedPromptImplicit = default, + string? endpointsInputsImagePricingCachedPromptUtcStart = default, + string? endpointsInputsImagePricingCachedPromptUtcEnd = default, + string? endpointsInputsImagePricingCachedPromptUtcDays = default, + string? endpointsInputsImagePricingCacheWriteUnit = default, + string? endpointsInputsImagePricingCacheWriteCostUsd = default, + string? endpointsInputsImagePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsImagePricingCacheWriteTtlSeconds = default, + string? endpointsInputsImagePricingCacheWriteImplicit = default, + string? endpointsInputsImagePricingCacheWriteUtcStart = default, + string? endpointsInputsImagePricingCacheWriteUtcEnd = default, + string? endpointsInputsImagePricingCacheWriteUtcDays = default, + string? endpointsInputsImageCapacityType = default, + string? endpointsInputsImageCapacityPromptUnit = default, + string? endpointsInputsImageCapacityPromptPer = default, + string? endpointsInputsImageCapacityPromptValue = default, + string? endpointsInputsImageCapacityCachedPromptUnit = default, + string? endpointsInputsImageCapacityCachedPromptPer = default, + string? endpointsInputsImageCapacityCachedPromptValue = default, + string? endpointsInputsImageCapacityCacheWriteUnit = default, + string? endpointsInputsImageCapacityCacheWritePer = default, + string? endpointsInputsImageCapacityCacheWriteValue = default, + string? endpointsInputsImagePassthroughParameters = default, + string? endpointsInputsImageParamsSourcesType = default, + string? endpointsInputsImageParamsSourcesValues = default, + string? endpointsInputsImageParamsFormatsType = default, + string? endpointsInputsImageParamsFormatsValues = default, + string? endpointsInputsImageParamsDetailLevelsType = default, + string? endpointsInputsImageParamsDetailLevelsValues = default, + string? endpointsInputsImageParamsReferencesType = default, + string? endpointsInputsImageParamsReferencesMin = default, + string? endpointsInputsImageParamsReferencesMax = default, + string? endpointsInputsImageParamsReferencesUnit = default, + string? endpointsInputsImageParamsRoleType = default, + string? endpointsInputsImageParamsRoleValues = default, + string? endpointsInputsImageParamsMaxContentSizeBytesValue = default, + string? endpointsInputsImageParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsVideoPricingType = default, + string? endpointsInputsVideoPricingPromptUnit = default, + string? endpointsInputsVideoPricingPromptCostUsd = default, + string? endpointsInputsVideoPricingPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingPromptUtcStart = default, + string? endpointsInputsVideoPricingPromptUtcEnd = default, + string? endpointsInputsVideoPricingPromptUtcDays = default, + string? endpointsInputsVideoPricingCachedPromptUnit = default, + string? endpointsInputsVideoPricingCachedPromptCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptTtlSeconds = default, + string? endpointsInputsVideoPricingCachedPromptImplicit = default, + string? endpointsInputsVideoPricingCachedPromptUtcStart = default, + string? endpointsInputsVideoPricingCachedPromptUtcEnd = default, + string? endpointsInputsVideoPricingCachedPromptUtcDays = default, + string? endpointsInputsVideoPricingCacheWriteUnit = default, + string? endpointsInputsVideoPricingCacheWriteCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteTtlSeconds = default, + string? endpointsInputsVideoPricingCacheWriteImplicit = default, + string? endpointsInputsVideoPricingCacheWriteUtcStart = default, + string? endpointsInputsVideoPricingCacheWriteUtcEnd = default, + string? endpointsInputsVideoPricingCacheWriteUtcDays = default, + string? endpointsInputsVideoCapacityType = default, + string? endpointsInputsVideoCapacityPromptUnit = default, + string? endpointsInputsVideoCapacityPromptPer = default, + string? endpointsInputsVideoCapacityPromptValue = default, + string? endpointsInputsVideoCapacityCachedPromptUnit = default, + string? endpointsInputsVideoCapacityCachedPromptPer = default, + string? endpointsInputsVideoCapacityCachedPromptValue = default, + string? endpointsInputsVideoCapacityCacheWriteUnit = default, + string? endpointsInputsVideoCapacityCacheWritePer = default, + string? endpointsInputsVideoCapacityCacheWriteValue = default, + string? endpointsInputsVideoPassthroughParameters = default, + string? endpointsInputsVideoParamsSourcesType = default, + string? endpointsInputsVideoParamsSourcesValues = default, + string? endpointsInputsVideoParamsFormatsType = default, + string? endpointsInputsVideoParamsFormatsValues = default, + string? endpointsInputsVideoParamsMaxDurationSecondsValue = default, + string? endpointsInputsVideoParamsMaxDurationSecondsUnit = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesValue = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsAudioPricingType = default, + string? endpointsInputsAudioPricingPromptUnit = default, + string? endpointsInputsAudioPricingPromptCostUsd = default, + string? endpointsInputsAudioPricingPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingPromptUtcStart = default, + string? endpointsInputsAudioPricingPromptUtcEnd = default, + string? endpointsInputsAudioPricingPromptUtcDays = default, + string? endpointsInputsAudioPricingCachedPromptUnit = default, + string? endpointsInputsAudioPricingCachedPromptCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptTtlSeconds = default, + string? endpointsInputsAudioPricingCachedPromptImplicit = default, + string? endpointsInputsAudioPricingCachedPromptUtcStart = default, + string? endpointsInputsAudioPricingCachedPromptUtcEnd = default, + string? endpointsInputsAudioPricingCachedPromptUtcDays = default, + string? endpointsInputsAudioPricingCacheWriteUnit = default, + string? endpointsInputsAudioPricingCacheWriteCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteTtlSeconds = default, + string? endpointsInputsAudioPricingCacheWriteImplicit = default, + string? endpointsInputsAudioPricingCacheWriteUtcStart = default, + string? endpointsInputsAudioPricingCacheWriteUtcEnd = default, + string? endpointsInputsAudioPricingCacheWriteUtcDays = default, + string? endpointsInputsAudioCapacityType = default, + string? endpointsInputsAudioCapacityPromptUnit = default, + string? endpointsInputsAudioCapacityPromptPer = default, + string? endpointsInputsAudioCapacityPromptValue = default, + string? endpointsInputsAudioCapacityCachedPromptUnit = default, + string? endpointsInputsAudioCapacityCachedPromptPer = default, + string? endpointsInputsAudioCapacityCachedPromptValue = default, + string? endpointsInputsAudioCapacityCacheWriteUnit = default, + string? endpointsInputsAudioCapacityCacheWritePer = default, + string? endpointsInputsAudioCapacityCacheWriteValue = default, + string? endpointsInputsAudioPassthroughParameters = default, + string? endpointsInputsAudioParamsSourcesType = default, + string? endpointsInputsAudioParamsSourcesValues = default, + string? endpointsInputsAudioParamsFormatsType = default, + string? endpointsInputsAudioParamsFormatsValues = default, + string? endpointsInputsAudioParamsMaxDurationSecondsValue = default, + string? endpointsInputsAudioParamsMaxDurationSecondsUnit = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesValue = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsFilePricingType = default, + string? endpointsInputsFilePricingPromptUnit = default, + string? endpointsInputsFilePricingPromptCostUsd = default, + string? endpointsInputsFilePricingPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingPromptUtcStart = default, + string? endpointsInputsFilePricingPromptUtcEnd = default, + string? endpointsInputsFilePricingPromptUtcDays = default, + string? endpointsInputsFilePricingCachedPromptUnit = default, + string? endpointsInputsFilePricingCachedPromptCostUsd = default, + string? endpointsInputsFilePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingCachedPromptTtlSeconds = default, + string? endpointsInputsFilePricingCachedPromptImplicit = default, + string? endpointsInputsFilePricingCachedPromptUtcStart = default, + string? endpointsInputsFilePricingCachedPromptUtcEnd = default, + string? endpointsInputsFilePricingCachedPromptUtcDays = default, + string? endpointsInputsFilePricingCacheWriteUnit = default, + string? endpointsInputsFilePricingCacheWriteCostUsd = default, + string? endpointsInputsFilePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsFilePricingCacheWriteTtlSeconds = default, + string? endpointsInputsFilePricingCacheWriteImplicit = default, + string? endpointsInputsFilePricingCacheWriteUtcStart = default, + string? endpointsInputsFilePricingCacheWriteUtcEnd = default, + string? endpointsInputsFilePricingCacheWriteUtcDays = default, + string? endpointsInputsFileCapacityType = default, + string? endpointsInputsFileCapacityPromptUnit = default, + string? endpointsInputsFileCapacityPromptPer = default, + string? endpointsInputsFileCapacityPromptValue = default, + string? endpointsInputsFileCapacityCachedPromptUnit = default, + string? endpointsInputsFileCapacityCachedPromptPer = default, + string? endpointsInputsFileCapacityCachedPromptValue = default, + string? endpointsInputsFileCapacityCacheWriteUnit = default, + string? endpointsInputsFileCapacityCacheWritePer = default, + string? endpointsInputsFileCapacityCacheWriteValue = default, + string? endpointsInputsFilePassthroughParameters = default, + string? endpointsInputsFileParamsSourcesType = default, + string? endpointsInputsFileParamsSourcesValues = default, + string? endpointsInputsFileParamsFormatsType = default, + string? endpointsInputsFileParamsFormatsValues = default, + string? endpointsInputsFileParamsReferencesType = default, + string? endpointsInputsFileParamsReferencesMin = default, + string? endpointsInputsFileParamsReferencesMax = default, + string? endpointsInputsFileParamsReferencesUnit = default, + string? endpointsInputsFileParamsMaxContentSizeBytesValue = default, + string? endpointsInputsFileParamsMaxContentSizeBytesUnit = default, + string? endpointsOutputsType = default, + string? endpointsOutputsTextMaxLengthValue = default, + string? endpointsOutputsTextMaxLengthUnit = default, + string? endpointsOutputsTextPassthroughParameters = default, + string? endpointsOutputsTextPricingType = default, + string? endpointsOutputsTextPricingCompletionUnit = default, + string? endpointsOutputsTextPricingCompletionCostUsd = default, + string? endpointsOutputsTextPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTextPricingCompletionUtcStart = default, + string? endpointsOutputsTextPricingCompletionUtcEnd = default, + string? endpointsOutputsTextPricingCompletionUtcDays = default, + string? endpointsOutputsTextPricingInternalReasoningUnit = default, + string? endpointsOutputsTextPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTextPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTextCapacityType = default, + string? endpointsOutputsTextCapacityCompletionUnit = default, + string? endpointsOutputsTextCapacityCompletionPer = default, + string? endpointsOutputsTextCapacityCompletionValue = default, + string? endpointsOutputsTextCapacityInternalReasoningUnit = default, + string? endpointsOutputsTextCapacityInternalReasoningPer = default, + string? endpointsOutputsTextCapacityInternalReasoningValue = default, + string? endpointsOutputsTextCapacityConcurrencyUnit = default, + string? endpointsOutputsTextCapacityConcurrencyValue = default, + string? endpointsOutputsTextStreaming = default, + string? endpointsOutputsTextParams = default, + string? endpointsOutputsImagePassthroughParameters = default, + string? endpointsOutputsImagePricingType = default, + string? endpointsOutputsImagePricingCompletionUnit = default, + string? endpointsOutputsImagePricingCompletionCostUsd = default, + string? endpointsOutputsImagePricingCompletionOverridesCostUsd = default, + string? endpointsOutputsImagePricingCompletionUtcStart = default, + string? endpointsOutputsImagePricingCompletionUtcEnd = default, + string? endpointsOutputsImagePricingCompletionUtcDays = default, + string? endpointsOutputsImagePricingInternalReasoningUnit = default, + string? endpointsOutputsImagePricingInternalReasoningCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcStart = default, + string? endpointsOutputsImagePricingInternalReasoningUtcEnd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcDays = default, + string? endpointsOutputsImageCapacityType = default, + string? endpointsOutputsImageCapacityCompletionUnit = default, + string? endpointsOutputsImageCapacityCompletionPer = default, + string? endpointsOutputsImageCapacityCompletionValue = default, + string? endpointsOutputsImageCapacityInternalReasoningUnit = default, + string? endpointsOutputsImageCapacityInternalReasoningPer = default, + string? endpointsOutputsImageCapacityInternalReasoningValue = default, + string? endpointsOutputsImageCapacityConcurrencyUnit = default, + string? endpointsOutputsImageCapacityConcurrencyValue = default, + string? endpointsOutputsImageStreaming = default, + string? endpointsOutputsImageParams = default, + string? endpointsOutputsVideoPassthroughParameters = default, + string? endpointsOutputsVideoPricingType = default, + string? endpointsOutputsVideoPricingCompletionUnit = default, + string? endpointsOutputsVideoPricingCompletionCostUsd = default, + string? endpointsOutputsVideoPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsVideoPricingCompletionUtcStart = default, + string? endpointsOutputsVideoPricingCompletionUtcEnd = default, + string? endpointsOutputsVideoPricingCompletionUtcDays = default, + string? endpointsOutputsVideoPricingInternalReasoningUnit = default, + string? endpointsOutputsVideoPricingInternalReasoningCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcStart = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcDays = default, + string? endpointsOutputsVideoCapacityType = default, + string? endpointsOutputsVideoCapacityCompletionUnit = default, + string? endpointsOutputsVideoCapacityCompletionPer = default, + string? endpointsOutputsVideoCapacityCompletionValue = default, + string? endpointsOutputsVideoCapacityInternalReasoningUnit = default, + string? endpointsOutputsVideoCapacityInternalReasoningPer = default, + string? endpointsOutputsVideoCapacityInternalReasoningValue = default, + string? endpointsOutputsVideoCapacityConcurrencyUnit = default, + string? endpointsOutputsVideoCapacityConcurrencyValue = default, + string? endpointsOutputsVideoStreaming = default, + string? endpointsOutputsVideoParams = default, + string? endpointsOutputsSpeechPassthroughParameters = default, + string? endpointsOutputsSpeechPricingType = default, + string? endpointsOutputsSpeechPricingCompletionUnit = default, + string? endpointsOutputsSpeechPricingCompletionCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionUtcStart = default, + string? endpointsOutputsSpeechPricingCompletionUtcEnd = default, + string? endpointsOutputsSpeechPricingCompletionUtcDays = default, + string? endpointsOutputsSpeechPricingInternalReasoningUnit = default, + string? endpointsOutputsSpeechPricingInternalReasoningCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcStart = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcDays = default, + string? endpointsOutputsSpeechCapacityType = default, + string? endpointsOutputsSpeechCapacityCompletionUnit = default, + string? endpointsOutputsSpeechCapacityCompletionPer = default, + string? endpointsOutputsSpeechCapacityCompletionValue = default, + string? endpointsOutputsSpeechCapacityInternalReasoningUnit = default, + string? endpointsOutputsSpeechCapacityInternalReasoningPer = default, + string? endpointsOutputsSpeechCapacityInternalReasoningValue = default, + string? endpointsOutputsSpeechCapacityConcurrencyUnit = default, + string? endpointsOutputsSpeechCapacityConcurrencyValue = default, + string? endpointsOutputsSpeechStreaming = default, + string? endpointsOutputsSpeechParams = default, + string? endpointsOutputsTranscriptionPassthroughParameters = default, + string? endpointsOutputsTranscriptionPricingType = default, + string? endpointsOutputsTranscriptionPricingCompletionUnit = default, + string? endpointsOutputsTranscriptionPricingCompletionCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcStart = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcEnd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcDays = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTranscriptionCapacityType = default, + string? endpointsOutputsTranscriptionCapacityCompletionUnit = default, + string? endpointsOutputsTranscriptionCapacityCompletionPer = default, + string? endpointsOutputsTranscriptionCapacityCompletionValue = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningPer = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningValue = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyUnit = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyValue = default, + string? endpointsOutputsTranscriptionStreaming = default, + string? endpointsOutputsTranscriptionParams = default, + string? endpointsOutputsEmbeddingsPassthroughParameters = default, + string? endpointsOutputsEmbeddingsPricingType = default, + string? endpointsOutputsEmbeddingsPricingCompletionUnit = default, + string? endpointsOutputsEmbeddingsPricingCompletionCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcStart = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcDays = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsEmbeddingsCapacityType = default, + string? endpointsOutputsEmbeddingsCapacityCompletionUnit = default, + string? endpointsOutputsEmbeddingsCapacityCompletionPer = default, + string? endpointsOutputsEmbeddingsCapacityCompletionValue = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningPer = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningValue = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyUnit = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyValue = default, + string? endpointsOutputsEmbeddingsParams = default, + string? endpointsOutputsRerankPassthroughParameters = default, + string? endpointsOutputsRerankPricingType = default, + string? endpointsOutputsRerankPricingCompletionUnit = default, + string? endpointsOutputsRerankPricingCompletionCostUsd = default, + string? endpointsOutputsRerankPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsRerankPricingCompletionUtcStart = default, + string? endpointsOutputsRerankPricingCompletionUtcEnd = default, + string? endpointsOutputsRerankPricingCompletionUtcDays = default, + string? endpointsOutputsRerankPricingInternalReasoningUnit = default, + string? endpointsOutputsRerankPricingInternalReasoningCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcStart = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcDays = default, + string? endpointsOutputsRerankCapacityType = default, + string? endpointsOutputsRerankCapacityCompletionUnit = default, + string? endpointsOutputsRerankCapacityCompletionPer = default, + string? endpointsOutputsRerankCapacityCompletionValue = default, + string? endpointsOutputsRerankCapacityInternalReasoningUnit = default, + string? endpointsOutputsRerankCapacityInternalReasoningPer = default, + string? endpointsOutputsRerankCapacityInternalReasoningValue = default, + string? endpointsOutputsRerankCapacityConcurrencyUnit = default, + string? endpointsOutputsRerankCapacityConcurrencyValue = default, + string? endpointsOutputsRerankParams = default, + string? endpointsOutputsDecisionsPassthroughParameters = default, + string? endpointsOutputsDecisionsPricingType = default, + string? endpointsOutputsDecisionsPricingCompletionUnit = default, + string? endpointsOutputsDecisionsPricingCompletionCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcStart = default, + string? endpointsOutputsDecisionsPricingCompletionUtcEnd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcDays = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUnit = default, + string? endpointsOutputsDecisionsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsDecisionsCapacityType = default, + string? endpointsOutputsDecisionsCapacityCompletionUnit = default, + string? endpointsOutputsDecisionsCapacityCompletionPer = default, + string? endpointsOutputsDecisionsCapacityCompletionValue = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningUnit = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningPer = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningValue = default, + string? endpointsOutputsDecisionsCapacityConcurrencyUnit = default, + string? endpointsOutputsDecisionsCapacityConcurrencyValue = default, + string? endpointsOutputsDecisionsParams = default, + string? endpointsOutputsAudioPassthroughParameters = default, + string? endpointsOutputsAudioPricingType = default, + string? endpointsOutputsAudioPricingCompletionUnit = default, + string? endpointsOutputsAudioPricingCompletionCostUsd = default, + string? endpointsOutputsAudioPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsAudioPricingCompletionUtcStart = default, + string? endpointsOutputsAudioPricingCompletionUtcEnd = default, + string? endpointsOutputsAudioPricingCompletionUtcDays = default, + string? endpointsOutputsAudioPricingInternalReasoningUnit = default, + string? endpointsOutputsAudioPricingInternalReasoningCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcStart = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcDays = default, + string? endpointsOutputsAudioCapacityType = default, + string? endpointsOutputsAudioCapacityCompletionUnit = default, + string? endpointsOutputsAudioCapacityCompletionPer = default, + string? endpointsOutputsAudioCapacityCompletionValue = default, + string? endpointsOutputsAudioCapacityInternalReasoningUnit = default, + string? endpointsOutputsAudioCapacityInternalReasoningPer = default, + string? endpointsOutputsAudioCapacityInternalReasoningValue = default, + string? endpointsOutputsAudioCapacityConcurrencyUnit = default, + string? endpointsOutputsAudioCapacityConcurrencyValue = default, + string? endpointsOutputsAudioStreaming = default, + string? endpointsOutputsAudioParams = default, + string? endpointsProviderSlug = default, + string? endpointsProviderTag = default, + string? endpointsProviderName = default, + string? endpointsDataPolicyTraining = default, + string? endpointsDataPolicyRetainsPrompts = default, + string? endpointsDataPolicyRetentionDays = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs index 774fa11f..d2ee9e44 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.IModelsClient.g.cs @@ -20,6 +20,27 @@ public partial interface IModelsClient : global::System.IDisposable /// public System.Uri? BaseUri { get; } + + /// + /// The server options available for this client. + /// + public global::System.Collections.Generic.IReadOnlyList AvailableServers { get; } + + /// + /// The currently selected server for this client, if any. + /// + public global::OpenRouter.AutoSDKServer? SelectedServer { get; set; } + + /// + /// Selects one of the generated server options by id. + /// + public bool TrySelectServer(string serverId); + + /// + /// Clears the currently selected server. + /// + public void ClearSelectedServer(); + /// /// The authorizations to use for the requests. /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.CreateTranscription.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.CreateTranscription.g.cs index 7c6fad09..58a24737 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.CreateTranscription.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ISttClient.CreateTranscription.g.cs @@ -54,7 +54,7 @@ public partial interface ISttClient /// Example: openai/whisper-large-v3 /// /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// /// /// Output format. "json" (default) returns { text, usage }. "verbose_json" additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs index 25838377..61886a25 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ITtsClient.CreateSpeech.g.cs @@ -60,7 +60,7 @@ public partial interface ITtsClient /// Example: mistralai/voxtral-mini-tts-2603 /// /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// /// /// Audio output format
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Interns2Client.Chat.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Interns2Client.Chat.g.cs index fb717a41..174de366 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Interns2Client.Chat.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Interns2Client.Chat.g.cs @@ -61,7 +61,7 @@ partial void ProcessChatResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ChatAsync( + public async global::System.Threading.Tasks.Task ChatAsync( string internId, global::OpenRouter.InternChatCompletionRequest request, @@ -96,7 +96,7 @@ partial void ProcessChatResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task> ChatAsResponseAsync( + public async global::System.Threading.Tasks.Task> ChatAsResponseAsync( string internId, global::OpenRouter.InternChatCompletionRequest request, @@ -844,9 +844,9 @@ partial void ProcessChatResponseContent( { __response.EnsureSuccessStatusCode(); - var __value = global::OpenRouter.InternChatCompletionChunk.FromJson(__content, JsonSerializerContext) ?? + var __value = global::OpenRouter.InternChatSteeredResponse.FromJson(__content, JsonSerializerContext) ?? throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); - return new global::OpenRouter.AutoSDKHttpResponse( + return new global::OpenRouter.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -876,9 +876,9 @@ partial void ProcessChatResponseContent( #endif ).ConfigureAwait(false); - var __value = await global::OpenRouter.InternChatCompletionChunk.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + var __value = await global::OpenRouter.InternChatSteeredResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? throw new global::System.InvalidOperationException("Response deserialization failed."); - return new global::OpenRouter.AutoSDKHttpResponse( + return new global::OpenRouter.AutoSDKHttpResponse( statusCode: __response.StatusCode, headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), requestUri: __response.RequestMessage?.RequestUri, @@ -950,7 +950,7 @@ partial void ProcessChatResponseContent( /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task ChatAsync( + public async global::System.Threading.Tasks.Task ChatAsync( string internId, global::System.Collections.Generic.IList messages, global::OpenRouter.InternApprovalMode? approvalMode = default, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2.g.cs new file mode 100644 index 00000000..4bdd1fbc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DescriptorUnitV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DescriptorUnitV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DescriptorUnitV2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DescriptorUnitV2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DescriptorUnitV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.DescriptorUnitV2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2Nullable.g.cs new file mode 100644 index 00000000..67fec65b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.DescriptorUnitV2Nullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class DescriptorUnitV2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.DescriptorUnitV2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.DescriptorUnitV2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.DescriptorUnitV2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.DescriptorUnitV2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.DescriptorUnitV2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2Quantization.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2Quantization.g.cs new file mode 100644 index 00000000..658708dc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2Quantization.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class EndpointDocumentV2QuantizationJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.EndpointDocumentV2Quantization Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.EndpointDocumentV2QuantizationExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.EndpointDocumentV2Quantization); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.EndpointDocumentV2Quantization value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.EndpointDocumentV2QuantizationExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2QuantizationNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2QuantizationNullable.g.cs new file mode 100644 index 00000000..91eeb515 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2QuantizationNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class EndpointDocumentV2QuantizationNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.EndpointDocumentV2Quantization? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.EndpointDocumentV2QuantizationExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.EndpointDocumentV2Quantization?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.EndpointDocumentV2Quantization? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.EndpointDocumentV2QuantizationExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTier.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTier.g.cs new file mode 100644 index 00000000..671252d7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTier.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class EndpointDocumentV2ServiceTierJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.EndpointDocumentV2ServiceTier Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.EndpointDocumentV2ServiceTierExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.EndpointDocumentV2ServiceTier); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.EndpointDocumentV2ServiceTier value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.EndpointDocumentV2ServiceTierExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTierNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTierNullable.g.cs new file mode 100644 index 00000000..71112207 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.EndpointDocumentV2ServiceTierNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class EndpointDocumentV2ServiceTierNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.EndpointDocumentV2ServiceTier? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.EndpointDocumentV2ServiceTierExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.EndpointDocumentV2ServiceTier?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.EndpointDocumentV2ServiceTier? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.EndpointDocumentV2ServiceTierExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2Region.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2Region.g.cs new file mode 100644 index 00000000..cd7f3726 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2Region.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class GetModelV2RegionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.GetModelV2Region Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.GetModelV2RegionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.GetModelV2Region); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.GetModelV2Region value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.GetModelV2RegionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2RegionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2RegionNullable.g.cs new file mode 100644 index 00000000..bad022b5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.GetModelV2RegionNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class GetModelV2RegionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.GetModelV2Region? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.GetModelV2RegionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.GetModelV2Region?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.GetModelV2Region? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.GetModelV2RegionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Per.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Per.g.cs new file mode 100644 index 00000000..74bdd1b4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Per.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputCapacityEntryV2PerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputCapacityEntryV2Per Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputCapacityEntryV2PerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputCapacityEntryV2Per); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputCapacityEntryV2Per value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.InputCapacityEntryV2PerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2PerNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2PerNullable.g.cs new file mode 100644 index 00000000..fd6a2ab0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2PerNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputCapacityEntryV2PerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputCapacityEntryV2Per? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputCapacityEntryV2PerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputCapacityEntryV2Per?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputCapacityEntryV2Per? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.InputCapacityEntryV2PerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Type.g.cs new file mode 100644 index 00000000..aa429cc4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2Type.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputCapacityEntryV2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputCapacityEntryV2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputCapacityEntryV2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputCapacityEntryV2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputCapacityEntryV2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.InputCapacityEntryV2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2TypeNullable.g.cs new file mode 100644 index 00000000..bd80b406 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputCapacityEntryV2TypeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputCapacityEntryV2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputCapacityEntryV2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputCapacityEntryV2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputCapacityEntryV2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputCapacityEntryV2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.InputCapacityEntryV2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2.g.cs new file mode 100644 index 00000000..9db9b889 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2.g.cs @@ -0,0 +1,207 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class InputPricingEntryV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingEntryV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("cost_usd")) __score0++; + if (__jsonProps.Contains("overrides")) __score0++; + if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("unit")) __score0++; + if (__jsonProps.Contains("utc_days")) __score0++; + if (__jsonProps.Contains("utc_end")) __score0++; + if (__jsonProps.Contains("utc_start")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("cost_usd")) __score1++; + if (__jsonProps.Contains("implicit")) __score1++; + if (__jsonProps.Contains("overrides")) __score1++; + if (__jsonProps.Contains("ttl_seconds")) __score1++; + if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("unit")) __score1++; + if (__jsonProps.Contains("utc_days")) __score1++; + if (__jsonProps.Contains("utc_end")) __score1++; + if (__jsonProps.Contains("utc_start")) __score1++; + var __score2 = 0; + if (__jsonProps.Contains("cost_usd")) __score2++; + if (__jsonProps.Contains("implicit")) __score2++; + if (__jsonProps.Contains("overrides")) __score2++; + if (__jsonProps.Contains("ttl_seconds")) __score2++; + if (__jsonProps.Contains("type")) __score2++; + if (__jsonProps.Contains("unit")) __score2++; + if (__jsonProps.Contains("utc_days")) __score2++; + if (__jsonProps.Contains("utc_end")) __score2++; + if (__jsonProps.Contains("utc_start")) __score2++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + + global::OpenRouter.InputPricingEntryV2Variant1? inputPricingEntryV2Variant1 = default; + global::OpenRouter.InputPricingEntryV2Variant2? inputPricingEntryV2Variant2 = default; + global::OpenRouter.InputPricingEntryV2Variant3? inputPricingEntryV2Variant3 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant1).Name}"); + inputPricingEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant2).Name}"); + inputPricingEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant3).Name}"); + inputPricingEntryV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (inputPricingEntryV2Variant1 == null && inputPricingEntryV2Variant2 == null && inputPricingEntryV2Variant3 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant1).Name}"); + inputPricingEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (inputPricingEntryV2Variant1 == null && inputPricingEntryV2Variant2 == null && inputPricingEntryV2Variant3 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant2).Name}"); + inputPricingEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (inputPricingEntryV2Variant1 == null && inputPricingEntryV2Variant2 == null && inputPricingEntryV2Variant3 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant3).Name}"); + inputPricingEntryV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.InputPricingEntryV2( + inputPricingEntryV2Variant1, + + inputPricingEntryV2Variant2, + + inputPricingEntryV2Variant3 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingEntryV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsInputPricingEntryV2Variant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInputPricingEntryV2Variant1(), typeInfo); + } + else if (value.IsInputPricingEntryV2Variant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInputPricingEntryV2Variant2(), typeInfo); + } + else if (value.IsInputPricingEntryV2Variant3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.InputPricingEntryV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.InputPricingEntryV2Variant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickInputPricingEntryV2Variant3(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..ad734203 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingEntryV2Variant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingEntryV2Variant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingEntryV2Variant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.InputPricingEntryV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingEntryV2Variant1Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingEntryV2Variant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.InputPricingEntryV2Variant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1TypeNullable.g.cs new file mode 100644 index 00000000..2df31c9e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant1TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingEntryV2Variant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingEntryV2Variant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingEntryV2Variant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.InputPricingEntryV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingEntryV2Variant1Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingEntryV2Variant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.InputPricingEntryV2Variant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..02b463ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingEntryV2Variant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingEntryV2Variant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingEntryV2Variant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.InputPricingEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingEntryV2Variant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingEntryV2Variant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.InputPricingEntryV2Variant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2TypeNullable.g.cs new file mode 100644 index 00000000..aea321d4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingEntryV2Variant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingEntryV2Variant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingEntryV2Variant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.InputPricingEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingEntryV2Variant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingEntryV2Variant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.InputPricingEntryV2Variant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3Type.g.cs new file mode 100644 index 00000000..fa3db3a9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingEntryV2Variant3TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingEntryV2Variant3Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingEntryV2Variant3TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.InputPricingEntryV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingEntryV2Variant3Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingEntryV2Variant3Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.InputPricingEntryV2Variant3TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3TypeNullable.g.cs new file mode 100644 index 00000000..d03aa08c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingEntryV2Variant3TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingEntryV2Variant3TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingEntryV2Variant3Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingEntryV2Variant3TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.InputPricingEntryV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingEntryV2Variant3Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingEntryV2Variant3Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.InputPricingEntryV2Variant3TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2.g.cs new file mode 100644 index 00000000..d9f2073a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingUnitV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingUnitV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingUnitV2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingUnitV2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingUnitV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.InputPricingUnitV2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2Nullable.g.cs new file mode 100644 index 00000000..fb34fc31 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.InputPricingUnitV2Nullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class InputPricingUnitV2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.InputPricingUnitV2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.InputPricingUnitV2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.InputPricingUnitV2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.InputPricingUnitV2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.InputPricingUnitV2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2Region.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2Region.g.cs new file mode 100644 index 00000000..3408068e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2Region.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ListModelsV2RegionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ListModelsV2Region Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ListModelsV2RegionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ListModelsV2Region); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ListModelsV2Region value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ListModelsV2RegionExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2RegionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2RegionNullable.g.cs new file mode 100644 index 00000000..43804c13 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ListModelsV2RegionNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ListModelsV2RegionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ListModelsV2Region? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ListModelsV2RegionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ListModelsV2Region?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ListModelsV2Region? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ListModelsV2RegionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2.g.cs new file mode 100644 index 00000000..aa5b16c6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2.g.cs @@ -0,0 +1,320 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class ModelInputV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name); + } + } + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("capacity")) __score0++; + if (__jsonProps.Contains("params")) __score0++; + if (__jsonProps.Contains("params.max_length")) __score0++; + if (__jsonProps.Contains("params.max_prompt_length")) __score0++; + if (__jsonProps.Contains("passthrough_parameters")) __score0++; + if (__jsonProps.Contains("pricing")) __score0++; + if (__jsonProps.Contains("type")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("capacity")) __score1++; + if (__jsonProps.Contains("params")) __score1++; + if (__jsonProps.Contains("params.detail_levels")) __score1++; + if (__jsonProps.Contains("params.formats")) __score1++; + if (__jsonProps.Contains("params.max_content_size_bytes")) __score1++; + if (__jsonProps.Contains("params.references")) __score1++; + if (__jsonProps.Contains("params.role")) __score1++; + if (__jsonProps.Contains("params.sources")) __score1++; + if (__jsonProps.Contains("passthrough_parameters")) __score1++; + if (__jsonProps.Contains("pricing")) __score1++; + if (__jsonProps.Contains("type")) __score1++; + var __score2 = 0; + if (__jsonProps.Contains("capacity")) __score2++; + if (__jsonProps.Contains("params")) __score2++; + if (__jsonProps.Contains("params.formats")) __score2++; + if (__jsonProps.Contains("params.max_content_size_bytes")) __score2++; + if (__jsonProps.Contains("params.max_duration_seconds")) __score2++; + if (__jsonProps.Contains("params.sources")) __score2++; + if (__jsonProps.Contains("passthrough_parameters")) __score2++; + if (__jsonProps.Contains("pricing")) __score2++; + if (__jsonProps.Contains("type")) __score2++; + var __score3 = 0; + if (__jsonProps.Contains("capacity")) __score3++; + if (__jsonProps.Contains("params")) __score3++; + if (__jsonProps.Contains("params.formats")) __score3++; + if (__jsonProps.Contains("params.max_content_size_bytes")) __score3++; + if (__jsonProps.Contains("params.max_duration_seconds")) __score3++; + if (__jsonProps.Contains("params.sources")) __score3++; + if (__jsonProps.Contains("passthrough_parameters")) __score3++; + if (__jsonProps.Contains("pricing")) __score3++; + if (__jsonProps.Contains("type")) __score3++; + var __score4 = 0; + if (__jsonProps.Contains("capacity")) __score4++; + if (__jsonProps.Contains("params")) __score4++; + if (__jsonProps.Contains("params.formats")) __score4++; + if (__jsonProps.Contains("params.max_content_size_bytes")) __score4++; + if (__jsonProps.Contains("params.references")) __score4++; + if (__jsonProps.Contains("params.sources")) __score4++; + if (__jsonProps.Contains("passthrough_parameters")) __score4++; + if (__jsonProps.Contains("pricing")) __score4++; + if (__jsonProps.Contains("type")) __score4++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } + if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } + + global::OpenRouter.ModelInputV2Variant1? modelInputV2Variant1 = default; + global::OpenRouter.ModelInputV2Variant2? modelInputV2Variant2 = default; + global::OpenRouter.ModelInputV2Variant3? modelInputV2Variant3 = default; + global::OpenRouter.ModelInputV2Variant4? modelInputV2Variant4 = default; + global::OpenRouter.ModelInputV2Variant5? modelInputV2Variant5 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant1).Name}"); + modelInputV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant2).Name}"); + modelInputV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant3).Name}"); + modelInputV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 3) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant4).Name}"); + modelInputV2Variant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 4) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant5).Name}"); + modelInputV2Variant5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (modelInputV2Variant1 == null && modelInputV2Variant2 == null && modelInputV2Variant3 == null && modelInputV2Variant4 == null && modelInputV2Variant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant1).Name}"); + modelInputV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelInputV2Variant1 == null && modelInputV2Variant2 == null && modelInputV2Variant3 == null && modelInputV2Variant4 == null && modelInputV2Variant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant2).Name}"); + modelInputV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelInputV2Variant1 == null && modelInputV2Variant2 == null && modelInputV2Variant3 == null && modelInputV2Variant4 == null && modelInputV2Variant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant3).Name}"); + modelInputV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelInputV2Variant1 == null && modelInputV2Variant2 == null && modelInputV2Variant3 == null && modelInputV2Variant4 == null && modelInputV2Variant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant4).Name}"); + modelInputV2Variant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelInputV2Variant1 == null && modelInputV2Variant2 == null && modelInputV2Variant3 == null && modelInputV2Variant4 == null && modelInputV2Variant5 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant5).Name}"); + modelInputV2Variant5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.ModelInputV2( + modelInputV2Variant1, + + modelInputV2Variant2, + + modelInputV2Variant3, + + modelInputV2Variant4, + + modelInputV2Variant5 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsModelInputV2Variant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelInputV2Variant1(), typeInfo); + } + else if (value.IsModelInputV2Variant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelInputV2Variant2(), typeInfo); + } + else if (value.IsModelInputV2Variant3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelInputV2Variant3(), typeInfo); + } + else if (value.IsModelInputV2Variant4) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelInputV2Variant4(), typeInfo); + } + else if (value.IsModelInputV2Variant5) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelInputV2Variant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelInputV2Variant5).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelInputV2Variant5(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1Type.g.cs new file mode 100644 index 00000000..6882831f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant1Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1TypeNullable.g.cs new file mode 100644 index 00000000..0d9228bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant1TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant1Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsType.g.cs new file mode 100644 index 00000000..d1aea74f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsDetailLevelsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsTypeNullable.g.cs new file mode 100644 index 00000000..97a702a9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsDetailLevelsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs new file mode 100644 index 00000000..a2281791 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsDetailLevelsValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValueNullable.g.cs new file mode 100644 index 00000000..324301fd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsDetailLevelsValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsType.g.cs new file mode 100644 index 00000000..5458d0a6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsFormatsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsFormatsType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsFormatsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsFormatsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsFormatsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsTypeNullable.g.cs new file mode 100644 index 00000000..982094c8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsFormatsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsFormatsType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsFormatsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsFormatsType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsFormatsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValue.g.cs new file mode 100644 index 00000000..494b7d67 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsFormatsValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsFormatsValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValueNullable.g.cs new file mode 100644 index 00000000..00c62ea5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsFormatsValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsFormatsValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesType.g.cs new file mode 100644 index 00000000..2241b8d8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsReferencesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsReferencesType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsReferencesTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsReferencesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsReferencesType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsReferencesTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesTypeNullable.g.cs new file mode 100644 index 00000000..d1927f50 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsReferencesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsReferencesType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsReferencesTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsReferencesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsReferencesType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsReferencesTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleType.g.cs new file mode 100644 index 00000000..54d0905f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsRoleTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsRoleType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsRoleTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsRoleType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsRoleType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsRoleType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsRoleTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleTypeNullable.g.cs new file mode 100644 index 00000000..5f645c7e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsRoleTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsRoleType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsRoleTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsRoleType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsRoleType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsRoleType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsRoleTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestProviderDataCollection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValue.g.cs similarity index 67% rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestProviderDataCollection.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValue.g.cs index eae59f7d..983ab651 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestProviderDataCollection.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValue.g.cs @@ -3,10 +3,10 @@ namespace OpenRouter.JsonConverters { /// - public sealed class SpeechRequestProviderDataCollectionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ModelInputV2Variant2ParamsRoleValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::OpenRouter.SpeechRequestProviderDataCollection Read( + public override global::OpenRouter.ModelInputV2Variant2ParamsRoleValue Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,14 +18,14 @@ public sealed class SpeechRequestProviderDataCollectionJsonConverter : global::S var stringValue = reader.GetString(); if (stringValue != null) { - return global::OpenRouter.SpeechRequestProviderDataCollectionExtensions.ToEnum(stringValue) ?? default; + return global::OpenRouter.ModelInputV2Variant2ParamsRoleValueExtensions.ToEnum(stringValue) ?? default; } break; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::OpenRouter.SpeechRequestProviderDataCollection); + return default(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -37,12 +37,12 @@ public sealed class SpeechRequestProviderDataCollectionJsonConverter : global::S /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.SpeechRequestProviderDataCollection value, + global::OpenRouter.ModelInputV2Variant2ParamsRoleValue value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::OpenRouter.SpeechRequestProviderDataCollectionExtensions.ToValueString(value)); + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsRoleValueExtensions.ToValueString(value)); } } } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestProviderDataCollectionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValueNullable.g.cs similarity index 69% rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestProviderDataCollectionNullable.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValueNullable.g.cs index 3f6f74b4..88d6d07d 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SpeechRequestProviderDataCollectionNullable.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValueNullable.g.cs @@ -3,10 +3,10 @@ namespace OpenRouter.JsonConverters { /// - public sealed class SpeechRequestProviderDataCollectionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ModelInputV2Variant2ParamsRoleValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::OpenRouter.SpeechRequestProviderDataCollection? Read( + public override global::OpenRouter.ModelInputV2Variant2ParamsRoleValue? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,14 +18,14 @@ public sealed class SpeechRequestProviderDataCollectionNullableJsonConverter : g var stringValue = reader.GetString(); if (stringValue != null) { - return global::OpenRouter.SpeechRequestProviderDataCollectionExtensions.ToEnum(stringValue); + return global::OpenRouter.ModelInputV2Variant2ParamsRoleValueExtensions.ToEnum(stringValue); } break; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::OpenRouter.SpeechRequestProviderDataCollection?); + return default(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -37,7 +37,7 @@ public sealed class SpeechRequestProviderDataCollectionNullableJsonConverter : g /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.SpeechRequestProviderDataCollection? value, + global::OpenRouter.ModelInputV2Variant2ParamsRoleValue? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -48,7 +48,7 @@ public override void Write( } else { - writer.WriteStringValue(global::OpenRouter.SpeechRequestProviderDataCollectionExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsRoleValueExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesType.g.cs new file mode 100644 index 00000000..90ecb583 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsSourcesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsSourcesType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsSourcesTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsSourcesType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsSourcesTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesTypeNullable.g.cs new file mode 100644 index 00000000..b9690002 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsSourcesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsSourcesType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsSourcesTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsSourcesType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsSourcesTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValue.g.cs new file mode 100644 index 00000000..4ea87fa4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsSourcesValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsSourcesValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValueNullable.g.cs new file mode 100644 index 00000000..799dcc02 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2ParamsSourcesValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2ParamsSourcesValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2Type.g.cs new file mode 100644 index 00000000..adcd0f2b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2TypeNullable.g.cs new file mode 100644 index 00000000..44914e7d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsType.g.cs new file mode 100644 index 00000000..623a16b9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsFormatsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsFormatsType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsFormatsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant3ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsFormatsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsFormatsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsTypeNullable.g.cs new file mode 100644 index 00000000..52d7efff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsFormatsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsFormatsType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsFormatsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant3ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsFormatsType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsFormatsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValue.g.cs new file mode 100644 index 00000000..45f97733 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsFormatsValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsFormatsValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValueNullable.g.cs new file mode 100644 index 00000000..25b30136 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsFormatsValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsFormatsValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesType.g.cs new file mode 100644 index 00000000..9a846cdb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsSourcesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsSourcesType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsSourcesTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant3ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsSourcesType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsSourcesTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesTypeNullable.g.cs new file mode 100644 index 00000000..09ef8461 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsSourcesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsSourcesType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsSourcesTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant3ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsSourcesType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsSourcesTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValue.g.cs new file mode 100644 index 00000000..aac0e383 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsSourcesValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsSourcesValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValueNullable.g.cs new file mode 100644 index 00000000..2b2f63f1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3ParamsSourcesValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3ParamsSourcesValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3Type.g.cs new file mode 100644 index 00000000..80052b09 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3TypeNullable.g.cs new file mode 100644 index 00000000..948ef0e1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant3TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant3TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant3Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant3TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant3Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant3Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant3TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsType.g.cs new file mode 100644 index 00000000..1c829a25 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsFormatsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsFormatsType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsFormatsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant4ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsFormatsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsFormatsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsTypeNullable.g.cs new file mode 100644 index 00000000..d7c71efe --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsFormatsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsFormatsType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsFormatsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant4ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsFormatsType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsFormatsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValue.g.cs new file mode 100644 index 00000000..eb9ec419 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsFormatsValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsFormatsValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValueNullable.g.cs new file mode 100644 index 00000000..4b1ee705 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsFormatsValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsFormatsValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesType.g.cs new file mode 100644 index 00000000..9024ecf8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsSourcesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsSourcesType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsSourcesTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant4ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsSourcesType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsSourcesTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesTypeNullable.g.cs new file mode 100644 index 00000000..5827a778 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsSourcesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsSourcesType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsSourcesTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant4ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsSourcesType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsSourcesTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValue.g.cs new file mode 100644 index 00000000..4a57bdc2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsSourcesValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsSourcesValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValueNullable.g.cs new file mode 100644 index 00000000..b543c12c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4ParamsSourcesValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4ParamsSourcesValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4Type.g.cs new file mode 100644 index 00000000..4b884285 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant4Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4TypeNullable.g.cs new file mode 100644 index 00000000..bcfb3640 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant4TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant4TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant4Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant4TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant4Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant4Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant4Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant4TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsType.g.cs new file mode 100644 index 00000000..30a16c2a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsFormatsTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsFormatsType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsFormatsTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsFormatsType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsFormatsTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsTypeNullable.g.cs new file mode 100644 index 00000000..d217edd7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsFormatsTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsFormatsType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsFormatsTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5ParamsFormatsType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsFormatsType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsFormatsTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValue.g.cs new file mode 100644 index 00000000..5fd0375a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsFormatsValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsFormatsValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValueNullable.g.cs new file mode 100644 index 00000000..766d0653 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsFormatsValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsFormatsValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesType.g.cs new file mode 100644 index 00000000..3e275e58 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsReferencesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsReferencesType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsReferencesTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5ParamsReferencesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsReferencesType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsReferencesTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesTypeNullable.g.cs new file mode 100644 index 00000000..2a29ac3e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsReferencesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsReferencesType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsReferencesTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5ParamsReferencesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsReferencesType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsReferencesTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesType.g.cs new file mode 100644 index 00000000..2d0780ab --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesType.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsSourcesTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsSourcesType Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsSourcesTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsSourcesType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsSourcesTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesTypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesTypeNullable.g.cs new file mode 100644 index 00000000..332b3250 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesTypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsSourcesTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsSourcesType? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsSourcesTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5ParamsSourcesType)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsSourcesType? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsSourcesTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValue.g.cs new file mode 100644 index 00000000..a719e2e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValue.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsSourcesValueJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsSourcesValueExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValueExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValueNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValueNullable.g.cs new file mode 100644 index 00000000..29ac7621 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValueNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5ParamsSourcesValueNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5ParamsSourcesValueExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValueExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5Type.g.cs new file mode 100644 index 00000000..c3881b05 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5TypeNullable.g.cs new file mode 100644 index 00000000..ebeefcbc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelInputV2Variant5TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelInputV2Variant5TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelInputV2Variant5Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelInputV2Variant5TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelInputV2Variant5Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelInputV2Variant5Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelInputV2Variant5Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelInputV2Variant5TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2.g.cs new file mode 100644 index 00000000..ee59f117 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2.g.cs @@ -0,0 +1,501 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class ModelOutputV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + if (__jsonProp.Value.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __nestedJsonProp in __jsonProp.Value.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name + "." + __nestedJsonProp.Name); + } + } + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("capacity")) __score0++; + if (__jsonProps.Contains("max_length")) __score0++; + if (__jsonProps.Contains("max_length.unit")) __score0++; + if (__jsonProps.Contains("max_length.value")) __score0++; + if (__jsonProps.Contains("params")) __score0++; + if (__jsonProps.Contains("passthrough_parameters")) __score0++; + if (__jsonProps.Contains("pricing")) __score0++; + if (__jsonProps.Contains("streaming")) __score0++; + if (__jsonProps.Contains("type")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("capacity")) __score1++; + if (__jsonProps.Contains("params")) __score1++; + if (__jsonProps.Contains("passthrough_parameters")) __score1++; + if (__jsonProps.Contains("pricing")) __score1++; + if (__jsonProps.Contains("streaming")) __score1++; + if (__jsonProps.Contains("type")) __score1++; + var __score2 = 0; + if (__jsonProps.Contains("capacity")) __score2++; + if (__jsonProps.Contains("params")) __score2++; + if (__jsonProps.Contains("passthrough_parameters")) __score2++; + if (__jsonProps.Contains("pricing")) __score2++; + if (__jsonProps.Contains("streaming")) __score2++; + if (__jsonProps.Contains("type")) __score2++; + var __score3 = 0; + if (__jsonProps.Contains("capacity")) __score3++; + if (__jsonProps.Contains("params")) __score3++; + if (__jsonProps.Contains("passthrough_parameters")) __score3++; + if (__jsonProps.Contains("pricing")) __score3++; + if (__jsonProps.Contains("streaming")) __score3++; + if (__jsonProps.Contains("type")) __score3++; + var __score4 = 0; + if (__jsonProps.Contains("capacity")) __score4++; + if (__jsonProps.Contains("params")) __score4++; + if (__jsonProps.Contains("passthrough_parameters")) __score4++; + if (__jsonProps.Contains("pricing")) __score4++; + if (__jsonProps.Contains("streaming")) __score4++; + if (__jsonProps.Contains("type")) __score4++; + var __score5 = 0; + if (__jsonProps.Contains("capacity")) __score5++; + if (__jsonProps.Contains("params")) __score5++; + if (__jsonProps.Contains("passthrough_parameters")) __score5++; + if (__jsonProps.Contains("pricing")) __score5++; + if (__jsonProps.Contains("type")) __score5++; + var __score6 = 0; + if (__jsonProps.Contains("capacity")) __score6++; + if (__jsonProps.Contains("params")) __score6++; + if (__jsonProps.Contains("passthrough_parameters")) __score6++; + if (__jsonProps.Contains("pricing")) __score6++; + if (__jsonProps.Contains("type")) __score6++; + var __score7 = 0; + if (__jsonProps.Contains("capacity")) __score7++; + if (__jsonProps.Contains("params")) __score7++; + if (__jsonProps.Contains("passthrough_parameters")) __score7++; + if (__jsonProps.Contains("pricing")) __score7++; + if (__jsonProps.Contains("type")) __score7++; + var __score8 = 0; + if (__jsonProps.Contains("capacity")) __score8++; + if (__jsonProps.Contains("params")) __score8++; + if (__jsonProps.Contains("passthrough_parameters")) __score8++; + if (__jsonProps.Contains("pricing")) __score8++; + if (__jsonProps.Contains("streaming")) __score8++; + if (__jsonProps.Contains("type")) __score8++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } + if (__score4 > __bestScore) { __bestScore = __score4; __bestIndex = 4; } + if (__score5 > __bestScore) { __bestScore = __score5; __bestIndex = 5; } + if (__score6 > __bestScore) { __bestScore = __score6; __bestIndex = 6; } + if (__score7 > __bestScore) { __bestScore = __score7; __bestIndex = 7; } + if (__score8 > __bestScore) { __bestScore = __score8; __bestIndex = 8; } + + global::OpenRouter.ModelOutputV2Variant1? modelOutputV2Variant1 = default; + global::OpenRouter.ModelOutputV2Variant2? modelOutputV2Variant2 = default; + global::OpenRouter.ModelOutputV2Variant3? modelOutputV2Variant3 = default; + global::OpenRouter.ModelOutputV2Variant4? modelOutputV2Variant4 = default; + global::OpenRouter.ModelOutputV2Variant5? modelOutputV2Variant5 = default; + global::OpenRouter.ModelOutputV2Variant6? modelOutputV2Variant6 = default; + global::OpenRouter.ModelOutputV2Variant7? modelOutputV2Variant7 = default; + global::OpenRouter.ModelOutputV2Variant8? modelOutputV2Variant8 = default; + global::OpenRouter.ModelOutputV2Variant9? modelOutputV2Variant9 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant1).Name}"); + modelOutputV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant2).Name}"); + modelOutputV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant3).Name}"); + modelOutputV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 3) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant4).Name}"); + modelOutputV2Variant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 4) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant5).Name}"); + modelOutputV2Variant5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 5) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant6).Name}"); + modelOutputV2Variant6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 6) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant7).Name}"); + modelOutputV2Variant7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 7) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant8).Name}"); + modelOutputV2Variant8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 8) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant9).Name}"); + modelOutputV2Variant9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant1).Name}"); + modelOutputV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant2).Name}"); + modelOutputV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant3).Name}"); + modelOutputV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant4).Name}"); + modelOutputV2Variant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant5).Name}"); + modelOutputV2Variant5 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant6).Name}"); + modelOutputV2Variant6 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant7).Name}"); + modelOutputV2Variant7 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant8).Name}"); + modelOutputV2Variant8 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (modelOutputV2Variant1 == null && modelOutputV2Variant2 == null && modelOutputV2Variant3 == null && modelOutputV2Variant4 == null && modelOutputV2Variant5 == null && modelOutputV2Variant6 == null && modelOutputV2Variant7 == null && modelOutputV2Variant8 == null && modelOutputV2Variant9 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant9).Name}"); + modelOutputV2Variant9 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.ModelOutputV2( + modelOutputV2Variant1, + + modelOutputV2Variant2, + + modelOutputV2Variant3, + + modelOutputV2Variant4, + + modelOutputV2Variant5, + + modelOutputV2Variant6, + + modelOutputV2Variant7, + + modelOutputV2Variant8, + + modelOutputV2Variant9 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsModelOutputV2Variant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant1(), typeInfo); + } + else if (value.IsModelOutputV2Variant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant2(), typeInfo); + } + else if (value.IsModelOutputV2Variant3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant3(), typeInfo); + } + else if (value.IsModelOutputV2Variant4) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant4(), typeInfo); + } + else if (value.IsModelOutputV2Variant5) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant5), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant5).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant5(), typeInfo); + } + else if (value.IsModelOutputV2Variant6) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant6), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant6).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant6(), typeInfo); + } + else if (value.IsModelOutputV2Variant7) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant7), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant7).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant7(), typeInfo); + } + else if (value.IsModelOutputV2Variant8) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant8), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant8).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant8(), typeInfo); + } + else if (value.IsModelOutputV2Variant9) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.ModelOutputV2Variant9), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.ModelOutputV2Variant9).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickModelOutputV2Variant9(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1Type.g.cs new file mode 100644 index 00000000..8e044aed --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant1Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1TypeNullable.g.cs new file mode 100644 index 00000000..d3c65cbe --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant1TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant1Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2Type.g.cs new file mode 100644 index 00000000..b16f4c94 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2TypeNullable.g.cs new file mode 100644 index 00000000..3cb2af89 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3Type.g.cs new file mode 100644 index 00000000..aba85f02 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant3TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant3Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant3TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant3Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant3Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant3TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3TypeNullable.g.cs new file mode 100644 index 00000000..e6f12b78 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant3TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant3TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant3Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant3TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant3Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant3Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant3TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4Type.g.cs new file mode 100644 index 00000000..f6900bde --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant4TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant4Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant4TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant4Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant4Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant4Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant4TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4TypeNullable.g.cs new file mode 100644 index 00000000..17246381 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant4TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant4TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant4Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant4TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant4Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant4Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant4Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant4TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5Type.g.cs new file mode 100644 index 00000000..5e399300 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant5TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant5Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant5TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant5Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant5Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant5Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant5TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5TypeNullable.g.cs new file mode 100644 index 00000000..72f36dac --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant5TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant5TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant5Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant5TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant5Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant5Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant5Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant5TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6Type.g.cs new file mode 100644 index 00000000..0d995a9f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant6TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant6Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant6TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant6Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant6Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant6Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant6TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6TypeNullable.g.cs new file mode 100644 index 00000000..bbc0cdad --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant6TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant6TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant6Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant6TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant6Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant6Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant6Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant6TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7Type.g.cs new file mode 100644 index 00000000..891f7ad3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant7TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant7Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant7TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant7Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant7Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant7Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant7TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7TypeNullable.g.cs new file mode 100644 index 00000000..c12b4679 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant7TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant7TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant7Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant7TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant7Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant7Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant7Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant7TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8Type.g.cs new file mode 100644 index 00000000..a25d2cf0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant8TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant8Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant8TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant8Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant8Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant8Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant8TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8TypeNullable.g.cs new file mode 100644 index 00000000..21bdaba1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant8TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant8TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant8Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant8TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant8Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant8Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant8Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant8TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9Type.g.cs new file mode 100644 index 00000000..6fb848f1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant9TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant9Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant9TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant9Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant9Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant9Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant9TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9TypeNullable.g.cs new file mode 100644 index 00000000..b3eca3fd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelOutputV2Variant9TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelOutputV2Variant9TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelOutputV2Variant9Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelOutputV2Variant9TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.ModelOutputV2Variant9Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelOutputV2Variant9Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelOutputV2Variant9Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelOutputV2Variant9TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Input.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Input.g.cs new file mode 100644 index 00000000..cebac38f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Input.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2InputJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Input Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2InputExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Input); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Input value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelV2InputExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2InputNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2InputNullable.g.cs new file mode 100644 index 00000000..9d30fe2d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2InputNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2InputNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Input? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2InputExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Input?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Input? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelV2InputExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Kind.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Kind.g.cs new file mode 100644 index 00000000..42171a3d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Kind.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2KindJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Kind Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2KindExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Kind); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Kind value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelV2KindExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2KindNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2KindNullable.g.cs new file mode 100644 index 00000000..5f3eb304 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2KindNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2KindNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Kind? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2KindExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Kind?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Kind? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelV2KindExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Output.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Output.g.cs new file mode 100644 index 00000000..17326a97 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Output.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2OutputJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Output Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2OutputExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Output); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Output value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelV2OutputExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2OutputNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2OutputNullable.g.cs new file mode 100644 index 00000000..ed0933f8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2OutputNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2OutputNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Output? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2OutputExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Output?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Output? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelV2OutputExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Variant.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Variant.g.cs new file mode 100644 index 00000000..ea6fbb23 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2Variant.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2VariantJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Variant Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2VariantExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Variant); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Variant value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ModelV2VariantExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2VariantNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2VariantNullable.g.cs new file mode 100644 index 00000000..497a9807 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ModelV2VariantNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ModelV2VariantNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ModelV2Variant? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ModelV2VariantExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ModelV2Variant?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ModelV2Variant? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ModelV2VariantExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2.g.cs new file mode 100644 index 00000000..00223adf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2.g.cs @@ -0,0 +1,146 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class OutputCapacityEntryV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputCapacityEntryV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("per")) __score0++; + if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("unit")) __score0++; + if (__jsonProps.Contains("value")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("unit")) __score1++; + if (__jsonProps.Contains("value")) __score1++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + + global::OpenRouter.OutputCapacityEntryV2Variant1? outputCapacityEntryV2Variant1 = default; + global::OpenRouter.OutputCapacityEntryV2Variant2? outputCapacityEntryV2Variant2 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputCapacityEntryV2Variant1).Name}"); + outputCapacityEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputCapacityEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputCapacityEntryV2Variant2).Name}"); + outputCapacityEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (outputCapacityEntryV2Variant1 == null && outputCapacityEntryV2Variant2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputCapacityEntryV2Variant1).Name}"); + outputCapacityEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (outputCapacityEntryV2Variant1 == null && outputCapacityEntryV2Variant2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputCapacityEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputCapacityEntryV2Variant2).Name}"); + outputCapacityEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.OutputCapacityEntryV2( + outputCapacityEntryV2Variant1, + + outputCapacityEntryV2Variant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputCapacityEntryV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsOutputCapacityEntryV2Variant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputCapacityEntryV2Variant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOutputCapacityEntryV2Variant1(), typeInfo); + } + else if (value.IsOutputCapacityEntryV2Variant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.OutputCapacityEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.OutputCapacityEntryV2Variant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickOutputCapacityEntryV2Variant2(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.STTRequestProviderDataCollection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Per.g.cs similarity index 68% rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.STTRequestProviderDataCollection.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Per.g.cs index 050c68a9..05bb27b9 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.STTRequestProviderDataCollection.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Per.g.cs @@ -3,10 +3,10 @@ namespace OpenRouter.JsonConverters { /// - public sealed class STTRequestProviderDataCollectionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class OutputCapacityEntryV2Variant1PerJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::OpenRouter.STTRequestProviderDataCollection Read( + public override global::OpenRouter.OutputCapacityEntryV2Variant1Per Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,14 +18,14 @@ public sealed class STTRequestProviderDataCollectionJsonConverter : global::Syst var stringValue = reader.GetString(); if (stringValue != null) { - return global::OpenRouter.STTRequestProviderDataCollectionExtensions.ToEnum(stringValue) ?? default; + return global::OpenRouter.OutputCapacityEntryV2Variant1PerExtensions.ToEnum(stringValue) ?? default; } break; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::OpenRouter.STTRequestProviderDataCollection); + return default(global::OpenRouter.OutputCapacityEntryV2Variant1Per); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -37,12 +37,12 @@ public sealed class STTRequestProviderDataCollectionJsonConverter : global::Syst /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.STTRequestProviderDataCollection value, + global::OpenRouter.OutputCapacityEntryV2Variant1Per value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::OpenRouter.STTRequestProviderDataCollectionExtensions.ToValueString(value)); + writer.WriteStringValue(global::OpenRouter.OutputCapacityEntryV2Variant1PerExtensions.ToValueString(value)); } } } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.STTRequestProviderDataCollectionNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1PerNullable.g.cs similarity index 70% rename from src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.STTRequestProviderDataCollectionNullable.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1PerNullable.g.cs index 4f0676ed..edd75aaf 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.STTRequestProviderDataCollectionNullable.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1PerNullable.g.cs @@ -3,10 +3,10 @@ namespace OpenRouter.JsonConverters { /// - public sealed class STTRequestProviderDataCollectionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class OutputCapacityEntryV2Variant1PerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::OpenRouter.STTRequestProviderDataCollection? Read( + public override global::OpenRouter.OutputCapacityEntryV2Variant1Per? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,14 +18,14 @@ public sealed class STTRequestProviderDataCollectionNullableJsonConverter : glob var stringValue = reader.GetString(); if (stringValue != null) { - return global::OpenRouter.STTRequestProviderDataCollectionExtensions.ToEnum(stringValue); + return global::OpenRouter.OutputCapacityEntryV2Variant1PerExtensions.ToEnum(stringValue); } break; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::OpenRouter.STTRequestProviderDataCollection?); + return default(global::OpenRouter.OutputCapacityEntryV2Variant1Per?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -37,7 +37,7 @@ public sealed class STTRequestProviderDataCollectionNullableJsonConverter : glob /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::OpenRouter.STTRequestProviderDataCollection? value, + global::OpenRouter.OutputCapacityEntryV2Variant1Per? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -48,7 +48,7 @@ public override void Write( } else { - writer.WriteStringValue(global::OpenRouter.STTRequestProviderDataCollectionExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::OpenRouter.OutputCapacityEntryV2Variant1PerExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..871c01ff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1Type.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputCapacityEntryV2Variant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputCapacityEntryV2Variant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputCapacityEntryV2Variant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputCapacityEntryV2Variant1Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputCapacityEntryV2Variant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.OutputCapacityEntryV2Variant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1TypeNullable.g.cs new file mode 100644 index 00000000..ca53b337 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1TypeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputCapacityEntryV2Variant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputCapacityEntryV2Variant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputCapacityEntryV2Variant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputCapacityEntryV2Variant1Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputCapacityEntryV2Variant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.OutputCapacityEntryV2Variant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..a4272105 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputCapacityEntryV2Variant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputCapacityEntryV2Variant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputCapacityEntryV2Variant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.OutputCapacityEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputCapacityEntryV2Variant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputCapacityEntryV2Variant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.OutputCapacityEntryV2Variant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2TypeNullable.g.cs new file mode 100644 index 00000000..8d8302f7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputCapacityEntryV2Variant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputCapacityEntryV2Variant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputCapacityEntryV2Variant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.OutputCapacityEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputCapacityEntryV2Variant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputCapacityEntryV2Variant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.OutputCapacityEntryV2Variant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2Type.g.cs new file mode 100644 index 00000000..176a766e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2Type.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputPricingEntryV2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputPricingEntryV2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputPricingEntryV2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputPricingEntryV2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputPricingEntryV2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.OutputPricingEntryV2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2TypeNullable.g.cs new file mode 100644 index 00000000..4f237564 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingEntryV2TypeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputPricingEntryV2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputPricingEntryV2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputPricingEntryV2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputPricingEntryV2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputPricingEntryV2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.OutputPricingEntryV2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2.g.cs new file mode 100644 index 00000000..28541ae3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputPricingUnitV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputPricingUnitV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputPricingUnitV2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputPricingUnitV2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputPricingUnitV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.OutputPricingUnitV2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2Nullable.g.cs new file mode 100644 index 00000000..01b66185 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.OutputPricingUnitV2Nullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class OutputPricingUnitV2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.OutputPricingUnitV2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.OutputPricingUnitV2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.OutputPricingUnitV2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.OutputPricingUnitV2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.OutputPricingUnitV2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2Type.g.cs new file mode 100644 index 00000000..0a18cf68 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2Type.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ParameterDescriptorV2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ParameterDescriptorV2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ParameterDescriptorV2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ParameterDescriptorV2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ParameterDescriptorV2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.ParameterDescriptorV2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2TypeNullable.g.cs new file mode 100644 index 00000000..ebfc479c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.ParameterDescriptorV2TypeNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class ParameterDescriptorV2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.ParameterDescriptorV2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.ParameterDescriptorV2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.ParameterDescriptorV2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.ParameterDescriptorV2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.ParameterDescriptorV2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PricingPredicateV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PricingPredicateV2.g.cs new file mode 100644 index 00000000..668fdd75 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.PricingPredicateV2.g.cs @@ -0,0 +1,228 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class PricingPredicateV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.PricingPredicateV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + + } + } + + var __score0 = 0; + var __score1 = 0; + if (__jsonProps.Contains("allOf")) __score1++; + var __score2 = 0; + if (__jsonProps.Contains("anyOf")) __score2++; + var __score3 = 0; + if (__jsonProps.Contains("not")) __score3++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + if (__score3 > __bestScore) { __bestScore = __score3; __bestIndex = 3; } + + object? pricingPredicateV2Variant1 = default; + global::OpenRouter.PricingPredicateV2Variant2? pricingPredicateV2Variant2 = default; + global::OpenRouter.PricingPredicateV2Variant3? pricingPredicateV2Variant3 = default; + global::OpenRouter.PricingPredicateV2Variant4? pricingPredicateV2Variant4 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + pricingPredicateV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant2).Name}"); + pricingPredicateV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant3).Name}"); + pricingPredicateV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 3) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant4).Name}"); + pricingPredicateV2Variant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (pricingPredicateV2Variant1 == null && pricingPredicateV2Variant2 == null && pricingPredicateV2Variant3 == null && pricingPredicateV2Variant4 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + pricingPredicateV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (pricingPredicateV2Variant1 == null && pricingPredicateV2Variant2 == null && pricingPredicateV2Variant3 == null && pricingPredicateV2Variant4 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant2).Name}"); + pricingPredicateV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (pricingPredicateV2Variant1 == null && pricingPredicateV2Variant2 == null && pricingPredicateV2Variant3 == null && pricingPredicateV2Variant4 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant3).Name}"); + pricingPredicateV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (pricingPredicateV2Variant1 == null && pricingPredicateV2Variant2 == null && pricingPredicateV2Variant3 == null && pricingPredicateV2Variant4 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant4).Name}"); + pricingPredicateV2Variant4 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.PricingPredicateV2( + pricingPredicateV2Variant1, + + pricingPredicateV2Variant2, + + pricingPredicateV2Variant3, + + pricingPredicateV2Variant4 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.PricingPredicateV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsPricingPredicateV2Variant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(object), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(object).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPricingPredicateV2Variant1(), typeInfo); + } + else if (value.IsPricingPredicateV2Variant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPricingPredicateV2Variant2(), typeInfo); + } + else if (value.IsPricingPredicateV2Variant3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPricingPredicateV2Variant3(), typeInfo); + } + else if (value.IsPricingPredicateV2Variant4) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.PricingPredicateV2Variant4), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.PricingPredicateV2Variant4).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickPricingPredicateV2Variant4(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2.g.cs new file mode 100644 index 00000000..c086a339 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2.g.cs @@ -0,0 +1,193 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class RequestCapacityEntryV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("per")) __score0++; + if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("unit")) __score0++; + if (__jsonProps.Contains("value")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("per")) __score1++; + if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("unit")) __score1++; + if (__jsonProps.Contains("value")) __score1++; + var __score2 = 0; + if (__jsonProps.Contains("type")) __score2++; + if (__jsonProps.Contains("unit")) __score2++; + if (__jsonProps.Contains("value")) __score2++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + if (__score2 > __bestScore) { __bestScore = __score2; __bestIndex = 2; } + + global::OpenRouter.RequestCapacityEntryV2Variant1? requestCapacityEntryV2Variant1 = default; + global::OpenRouter.RequestCapacityEntryV2Variant2? requestCapacityEntryV2Variant2 = default; + global::OpenRouter.RequestCapacityEntryV2Variant3? requestCapacityEntryV2Variant3 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant1).Name}"); + requestCapacityEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant2).Name}"); + requestCapacityEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 2) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant3).Name}"); + requestCapacityEntryV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (requestCapacityEntryV2Variant1 == null && requestCapacityEntryV2Variant2 == null && requestCapacityEntryV2Variant3 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant1).Name}"); + requestCapacityEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (requestCapacityEntryV2Variant1 == null && requestCapacityEntryV2Variant2 == null && requestCapacityEntryV2Variant3 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant2).Name}"); + requestCapacityEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (requestCapacityEntryV2Variant1 == null && requestCapacityEntryV2Variant2 == null && requestCapacityEntryV2Variant3 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant3).Name}"); + requestCapacityEntryV2Variant3 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.RequestCapacityEntryV2( + requestCapacityEntryV2Variant1, + + requestCapacityEntryV2Variant2, + + requestCapacityEntryV2Variant3 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsRequestCapacityEntryV2Variant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRequestCapacityEntryV2Variant1(), typeInfo); + } + else if (value.IsRequestCapacityEntryV2Variant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRequestCapacityEntryV2Variant2(), typeInfo); + } + else if (value.IsRequestCapacityEntryV2Variant3) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestCapacityEntryV2Variant3), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestCapacityEntryV2Variant3).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRequestCapacityEntryV2Variant3(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Per.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Per.g.cs new file mode 100644 index 00000000..57f9204e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Per.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant1PerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant1Per Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant1PerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant1Per); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant1Per value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant1PerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1PerNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1PerNullable.g.cs new file mode 100644 index 00000000..2d923433 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1PerNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant1PerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant1Per? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant1PerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant1Per?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant1Per? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant1PerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..0bf33600 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestCapacityEntryV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant1Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1TypeNullable.g.cs new file mode 100644 index 00000000..a814ff5c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestCapacityEntryV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant1Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Per.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Per.g.cs new file mode 100644 index 00000000..dcecb31d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Per.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant2PerJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant2Per Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant2PerExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant2Per); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant2Per value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant2PerExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2PerNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2PerNullable.g.cs new file mode 100644 index 00000000..89eede90 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2PerNullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant2PerNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant2Per? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant2PerExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant2Per?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant2Per? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant2PerExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..38069446 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestCapacityEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2TypeNullable.g.cs new file mode 100644 index 00000000..f514374c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestCapacityEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3Type.g.cs new file mode 100644 index 00000000..1ac7a684 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant3TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant3Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant3TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestCapacityEntryV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant3Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant3Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant3TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3TypeNullable.g.cs new file mode 100644 index 00000000..f972c5d9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestCapacityEntryV2Variant3TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestCapacityEntryV2Variant3Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestCapacityEntryV2Variant3TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestCapacityEntryV2Variant3Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestCapacityEntryV2Variant3Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestCapacityEntryV2Variant3Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestCapacityEntryV2Variant3TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2.g.cs new file mode 100644 index 00000000..adada6a2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2.g.cs @@ -0,0 +1,147 @@ +#nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + +namespace OpenRouter.JsonConverters +{ + /// + public class RequestPricingEntryV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestPricingEntryV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); + var __rawJson = __jsonDocument.RootElement.GetRawText(); + var __jsonProps = new global::System.Collections.Generic.HashSet(); + if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) + { + foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) + { + __jsonProps.Add(__jsonProp.Name); + + } + } + + var __score0 = 0; + if (__jsonProps.Contains("cost_usd")) __score0++; + if (__jsonProps.Contains("overrides")) __score0++; + if (__jsonProps.Contains("type")) __score0++; + if (__jsonProps.Contains("unit")) __score0++; + var __score1 = 0; + if (__jsonProps.Contains("cost_usd")) __score1++; + if (__jsonProps.Contains("overrides")) __score1++; + if (__jsonProps.Contains("type")) __score1++; + if (__jsonProps.Contains("unit")) __score1++; + var __bestScore = 0; + var __bestIndex = -1; + if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } + if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } + + global::OpenRouter.RequestPricingEntryV2Variant1? requestPricingEntryV2Variant1 = default; + global::OpenRouter.RequestPricingEntryV2Variant2? requestPricingEntryV2Variant2 = default; + if (__bestIndex >= 0) + { + if (__bestIndex == 0) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestPricingEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestPricingEntryV2Variant1).Name}"); + requestPricingEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + else if (__bestIndex == 1) + { + try + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestPricingEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestPricingEntryV2Variant2).Name}"); + requestPricingEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + } + + if (requestPricingEntryV2Variant1 == null && requestPricingEntryV2Variant2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestPricingEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestPricingEntryV2Variant1).Name}"); + requestPricingEntryV2Variant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + if (requestPricingEntryV2Variant1 == null && requestPricingEntryV2Variant2 == null) + { + try + { + + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestPricingEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestPricingEntryV2Variant2).Name}"); + requestPricingEntryV2Variant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); + } + catch (global::System.Text.Json.JsonException) + { + } + catch (global::System.InvalidOperationException) + { + } + } + + var __value = new global::OpenRouter.RequestPricingEntryV2( + requestPricingEntryV2Variant1, + + requestPricingEntryV2Variant2 + ); + + return __value; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestPricingEntryV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + options = options ?? throw new global::System.ArgumentNullException(nameof(options)); + var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); + + if (value.IsRequestPricingEntryV2Variant1) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestPricingEntryV2Variant1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestPricingEntryV2Variant1).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRequestPricingEntryV2Variant1(), typeInfo); + } + else if (value.IsRequestPricingEntryV2Variant2) + { + var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::OpenRouter.RequestPricingEntryV2Variant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? + throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::OpenRouter.RequestPricingEntryV2Variant2).Name}"); + global::System.Text.Json.JsonSerializer.Serialize(writer, value.PickRequestPricingEntryV2Variant2(), typeInfo); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..7513a84b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestPricingEntryV2Variant1TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestPricingEntryV2Variant1Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestPricingEntryV2Variant1TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestPricingEntryV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestPricingEntryV2Variant1Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestPricingEntryV2Variant1Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestPricingEntryV2Variant1TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1TypeNullable.g.cs new file mode 100644 index 00000000..55e2d44f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant1TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestPricingEntryV2Variant1TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestPricingEntryV2Variant1Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestPricingEntryV2Variant1TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestPricingEntryV2Variant1Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestPricingEntryV2Variant1Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestPricingEntryV2Variant1Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestPricingEntryV2Variant1TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..92e421bc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2Type.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestPricingEntryV2Variant2TypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestPricingEntryV2Variant2Type Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestPricingEntryV2Variant2TypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestPricingEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestPricingEntryV2Variant2Type); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestPricingEntryV2Variant2Type value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestPricingEntryV2Variant2TypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2TypeNullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2TypeNullable.g.cs new file mode 100644 index 00000000..6d25b3a8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestPricingEntryV2Variant2TypeNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestPricingEntryV2Variant2TypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestPricingEntryV2Variant2Type? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestPricingEntryV2Variant2TypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestPricingEntryV2Variant2Type)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestPricingEntryV2Variant2Type?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestPricingEntryV2Variant2Type? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestPricingEntryV2Variant2TypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2.g.cs new file mode 100644 index 00000000..5e8955a7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestUnitV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestUnitV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestUnitV2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestUnitV2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestUnitV2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestUnitV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.RequestUnitV2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2Nullable.g.cs new file mode 100644 index 00000000..81ff1abf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.RequestUnitV2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class RequestUnitV2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.RequestUnitV2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.RequestUnitV2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.RequestUnitV2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.RequestUnitV2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.RequestUnitV2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.RequestUnitV2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2.g.cs new file mode 100644 index 00000000..942a1788 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class SearchUnitV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.SearchUnitV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.SearchUnitV2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.SearchUnitV2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.SearchUnitV2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.SearchUnitV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.SearchUnitV2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2Nullable.g.cs new file mode 100644 index 00000000..2eb70dbf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.SearchUnitV2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class SearchUnitV2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.SearchUnitV2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.SearchUnitV2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::OpenRouter.SearchUnitV2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.SearchUnitV2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.SearchUnitV2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.SearchUnitV2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2.g.cs new file mode 100644 index 00000000..9743709a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class UtcDayV2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.UtcDayV2 Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.UtcDayV2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.UtcDayV2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.UtcDayV2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::OpenRouter.UtcDayV2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2Nullable.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2Nullable.g.cs new file mode 100644 index 00000000..eff5d5e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonConverters.UtcDayV2Nullable.g.cs @@ -0,0 +1,55 @@ +#nullable enable + +namespace OpenRouter.JsonConverters +{ + /// + public sealed class UtcDayV2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::OpenRouter.UtcDayV2? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::OpenRouter.UtcDayV2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::OpenRouter.UtcDayV2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::OpenRouter.UtcDayV2? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::OpenRouter.UtcDayV2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs index 67c2ed3b..229027e4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContext.g.cs @@ -40,6 +40,7 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] @@ -71,6 +72,7 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] @@ -148,6 +150,7 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AgentMessageItemContentItem2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AgentMessageItemContentItemType), TypeInfoPropertyName = "AgentMessageItemContentItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AgentMessageItemType), TypeInfoPropertyName = "AgentMessageItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AliasTargetV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Alignment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AlignmentCallRecord), TypeInfoPropertyName = "AlignmentCallRecord2")] @@ -508,9 +511,6 @@ namespace OpenRouter [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemPhaseVariant22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant1), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant2), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant3), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant4), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemType), TypeInfoPropertyName = "BaseInputsVariant2ItemType2")] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -552,6 +552,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] @@ -583,6 +584,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] @@ -599,6 +601,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant3), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemRoleVariant4), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.BaseInputsVariant2ItemType), TypeInfoPropertyName = "BaseInputsVariant2ItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseInputMessageItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCallOutput))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIResponseFunctionToolCall))] @@ -1020,11 +1025,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicy), TypeInfoPropertyName = "ContainerNetworkPolicy2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerAutoEnvironmentType), TypeInfoPropertyName = "ContainerAutoEnvironmentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFile))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileObject), TypeInfoPropertyName = "ContainerFileObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileSource), TypeInfoPropertyName = "ContainerFileSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponseObject), TypeInfoPropertyName = "ContainerFileListResponseObject2")] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1066,6 +1066,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] @@ -1097,6 +1098,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] @@ -1113,6 +1115,11 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileObject), TypeInfoPropertyName = "ContainerFileObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileSource), TypeInfoPropertyName = "ContainerFileSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerFileListResponseObject), TypeInfoPropertyName = "ContainerFileListResponseObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant1Type), TypeInfoPropertyName = "ContainerNetworkPolicyVariant1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ContainerNetworkPolicyVariant2))] @@ -1216,6 +1223,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.InputFile>), TypeInfoPropertyName = "OneOfInputTextAllOfInputImageObjectInputFile2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DABenchmarkEntry))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DatacenterV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DatetimeServerToolConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DatetimeServerToolType), TypeInfoPropertyName = "DatetimeServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DebugEvent))] @@ -1260,6 +1268,7 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteScimGroupMappingResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteWorkspaceBudgetResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteWorkspaceResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DescriptorUnitV2), TypeInfoPropertyName = "DescriptorUnitV22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string, object>), TypeInfoPropertyName = "AnyOfIListOneOfInputTextAllOfInputImageObjectInputFileInputAudioInputVideoStringObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>))] @@ -1276,6 +1285,23 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageType), TypeInfoPropertyName = "EasyInputMessageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EdgeNetworkTimeoutResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EdgeNetworkTimeoutResponseErrorData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointDataPolicyV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointDocumentV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2), TypeInfoPropertyName = "RequestCapacityEntryV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2), TypeInfoPropertyName = "ModelInputV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointOpenrouterV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2), TypeInfoPropertyName = "ModelOutputV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParameterDescriptorV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2), TypeInfoPropertyName = "RequestPricingEntryV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointProviderV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointDocumentV2Quantization), TypeInfoPropertyName = "EndpointDocumentV2Quantization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointDocumentV2ServiceTier), TypeInfoPropertyName = "EndpointDocumentV2ServiceTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointInfo))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointsMetadata))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -1492,6 +1518,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputAudioInputAudio1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputAudioInputAudio1Format), TypeInfoPropertyName = "InputAudioInputAudio1Format2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputAudioType), TypeInfoPropertyName = "InputAudioType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputCapacityEntryV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputCapacityEntryV2Per), TypeInfoPropertyName = "InputCapacityEntryV2Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputCapacityEntryV2Type), TypeInfoPropertyName = "InputCapacityEntryV2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingUnitV2), TypeInfoPropertyName = "InputPricingUnitV22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputFileType), TypeInfoPropertyName = "InputFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputImageDetail), TypeInfoPropertyName = "InputImageDetail2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputImageType), TypeInfoPropertyName = "InputImageType2")] @@ -1502,39 +1532,9 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputMessageItemRoleVariant3), TypeInfoPropertyName = "InputMessageItemRoleVariant32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputMessageItemType), TypeInfoPropertyName = "InputMessageItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputModality), TypeInfoPropertyName = "InputModality2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReference), TypeInfoPropertyName = "InputReference2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReferenceDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReferenceDiscriminatorType), TypeInfoPropertyName = "InputReferenceDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Inputs), TypeInfoPropertyName = "Inputs2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningItem), TypeInfoPropertyName = "ReasoningItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputMessageItemInputsVariant2ItemVariant822")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageItem), TypeInfoPropertyName = "OutputMessageItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant82))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>, string, object>), TypeInfoPropertyName = "AnyOfIListAnyOfResponseOutputTextOpenAIResponsesRefusalContentStringObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant8Type), TypeInfoPropertyName = "InputsVariant2ItemVariant8Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputReasoningItemInputsVariant2ItemVariant922")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputReasoningItem), TypeInfoPropertyName = "OutputReasoningItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant92))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchCallItem), TypeInfoPropertyName = "OutputWebSearchCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchCallItem), TypeInfoPropertyName = "OutputFileSearchCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationCallItem), TypeInfoPropertyName = "OutputImageGenerationCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterCallItem), TypeInfoPropertyName = "OutputCodeInterpreterCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputDatetimeItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBrowserUseServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputApplyPatchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMcpServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2), TypeInfoPropertyName = "InputPricingEntryV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1576,6 +1576,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] @@ -1607,6 +1608,7 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] @@ -1623,6 +1625,47 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant1Type), TypeInfoPropertyName = "InputPricingEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UtcDayV2), TypeInfoPropertyName = "UtcDayV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant2Type), TypeInfoPropertyName = "InputPricingEntryV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant3Type), TypeInfoPropertyName = "InputPricingEntryV2Variant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReference), TypeInfoPropertyName = "InputReference2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReferenceDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReferenceDiscriminatorType), TypeInfoPropertyName = "InputReferenceDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Inputs), TypeInfoPropertyName = "Inputs2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningItem), TypeInfoPropertyName = "ReasoningItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputMessageItemInputsVariant2ItemVariant822")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageItem), TypeInfoPropertyName = "OutputMessageItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant82))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>, string, object>), TypeInfoPropertyName = "AnyOfIListAnyOfResponseOutputTextOpenAIResponsesRefusalContentStringObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant8Type), TypeInfoPropertyName = "InputsVariant2ItemVariant8Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfOutputReasoningItemInputsVariant2ItemVariant922")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputReasoningItem), TypeInfoPropertyName = "OutputReasoningItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputsVariant2ItemVariant92))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchCallItem), TypeInfoPropertyName = "OutputWebSearchCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchCallItem), TypeInfoPropertyName = "OutputFileSearchCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationCallItem), TypeInfoPropertyName = "OutputImageGenerationCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterCallItem), TypeInfoPropertyName = "OutputCodeInterpreterCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputDatetimeItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFileSearchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputImageGenerationServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBrowserUseServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputTextEditorServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputApplyPatchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebFetchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputToolSearchServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMemoryServerToolItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMcpServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputFusionServerToolItem))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputAdvisorServerToolItem))] @@ -1986,71 +2029,28 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Parameter), TypeInfoPropertyName = "Parameter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.TopProviderInfo))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfReasoningEffortObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsCountResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsCountResponseData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsListResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsListResponseLinks))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModerationPluginId), TypeInfoPropertyName = "ModerationPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionTool))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolAllowedCaller), TypeInfoPropertyName = "NamespaceFunctionToolAllowedCaller2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolType), TypeInfoPropertyName = "NamespaceFunctionToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfNamespaceFunctionToolCustomTool2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceToolType), TypeInfoPropertyName = "NamespaceToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NotFoundResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NotFoundResponseErrorData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthErrorResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthErrorResponseError), TypeInfoPropertyName = "OAuthErrorResponseError2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwks))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKey))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyAlg), TypeInfoPropertyName = "OAuthJwksKeyAlg2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyCrv), TypeInfoPropertyName = "OAuthJwksKeyCrv2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyKty), TypeInfoPropertyName = "OAuthJwksKeyKty2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyUse), TypeInfoPropertyName = "OAuthJwksKeyUse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRulesConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDataRegion), TypeInfoPropertyName = "ObservabilityDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationType), TypeInfoPropertyName = "ObservabilityArizeDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationType), TypeInfoPropertyName = "ObservabilityBraintrustDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationType), TypeInfoPropertyName = "ObservabilityClickhouseDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationType), TypeInfoPropertyName = "ObservabilityDatadogDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3Destination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestination))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminator))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminatorType), TypeInfoPropertyName = "ObservabilityDestinationDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroup))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupLogic), TypeInfoPropertyName = "ObservabilityFilterRuleGroupLogic2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRule))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleField), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleField2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant1Params))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant1ParamsMaxLength))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant1Type), TypeInfoPropertyName = "ModelInputV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2Params))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType), TypeInfoPropertyName = "ModelInputV2Variant2ParamsDetailLevelsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue), TypeInfoPropertyName = "ModelInputV2Variant2ParamsDetailLevelsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormats))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType), TypeInfoPropertyName = "ModelInputV2Variant2ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue), TypeInfoPropertyName = "ModelInputV2Variant2ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferences))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType), TypeInfoPropertyName = "ModelInputV2Variant2ParamsReferencesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleType), TypeInfoPropertyName = "ModelInputV2Variant2ParamsRoleType2")] internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -2092,6 +2092,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] @@ -2123,6 +2124,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] @@ -2139,6 +2141,153 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue), TypeInfoPropertyName = "ModelInputV2Variant2ParamsRoleValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsSources))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType), TypeInfoPropertyName = "ModelInputV2Variant2ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue), TypeInfoPropertyName = "ModelInputV2Variant2ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2Type), TypeInfoPropertyName = "ModelInputV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3Params))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormats))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType), TypeInfoPropertyName = "ModelInputV2Variant3ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue), TypeInfoPropertyName = "ModelInputV2Variant3ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsSources))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType), TypeInfoPropertyName = "ModelInputV2Variant3ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue), TypeInfoPropertyName = "ModelInputV2Variant3ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3Type), TypeInfoPropertyName = "ModelInputV2Variant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4Params))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormats))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType), TypeInfoPropertyName = "ModelInputV2Variant4ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue), TypeInfoPropertyName = "ModelInputV2Variant4ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsSources))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType), TypeInfoPropertyName = "ModelInputV2Variant4ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue), TypeInfoPropertyName = "ModelInputV2Variant4ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4Type), TypeInfoPropertyName = "ModelInputV2Variant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5Params))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormats))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType), TypeInfoPropertyName = "ModelInputV2Variant5ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue), TypeInfoPropertyName = "ModelInputV2Variant5ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferences))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType), TypeInfoPropertyName = "ModelInputV2Variant5ParamsReferencesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsSources))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType), TypeInfoPropertyName = "ModelInputV2Variant5ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue), TypeInfoPropertyName = "ModelInputV2Variant5ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5Type), TypeInfoPropertyName = "ModelInputV2Variant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2), TypeInfoPropertyName = "OutputCapacityEntryV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant1MaxLength))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputPricingEntryV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant1Type), TypeInfoPropertyName = "ModelOutputV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant2Type), TypeInfoPropertyName = "ModelOutputV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant3Type), TypeInfoPropertyName = "ModelOutputV2Variant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant4Type), TypeInfoPropertyName = "ModelOutputV2Variant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant5Type), TypeInfoPropertyName = "ModelOutputV2Variant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant6))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant6Type), TypeInfoPropertyName = "ModelOutputV2Variant6Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant7))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant7Type), TypeInfoPropertyName = "ModelOutputV2Variant7Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant8))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant8Type), TypeInfoPropertyName = "ModelOutputV2Variant8Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant9))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant9Type), TypeInfoPropertyName = "ModelOutputV2Variant9Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfReasoningEffortObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsCountResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsCountResponseData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsListResponseLinks))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsV2ListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelsV2ListResponseLinks))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Input), TypeInfoPropertyName = "ModelV2Input2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Kind), TypeInfoPropertyName = "ModelV2Kind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Output), TypeInfoPropertyName = "ModelV2Output2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Variant), TypeInfoPropertyName = "ModelV2Variant2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Response))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModerationPluginId), TypeInfoPropertyName = "ModerationPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionTool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolAllowedCaller), TypeInfoPropertyName = "NamespaceFunctionToolAllowedCaller2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolType), TypeInfoPropertyName = "NamespaceFunctionToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfNamespaceFunctionToolCustomTool2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceToolType), TypeInfoPropertyName = "NamespaceToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NotFoundResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NotFoundResponseErrorData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthErrorResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthErrorResponseError), TypeInfoPropertyName = "OAuthErrorResponseError2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwks))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKey))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyAlg), TypeInfoPropertyName = "OAuthJwksKeyAlg2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyCrv), TypeInfoPropertyName = "OAuthJwksKeyCrv2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyKty), TypeInfoPropertyName = "OAuthJwksKeyKty2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyUse), TypeInfoPropertyName = "OAuthJwksKeyUse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRulesConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDataRegion), TypeInfoPropertyName = "ObservabilityDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationType), TypeInfoPropertyName = "ObservabilityArizeDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationType), TypeInfoPropertyName = "ObservabilityBraintrustDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationType), TypeInfoPropertyName = "ObservabilityClickhouseDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationType), TypeInfoPropertyName = "ObservabilityDatadogDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3Destination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestination))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminator))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminatorType), TypeInfoPropertyName = "ObservabilityDestinationDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroup))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupLogic), TypeInfoPropertyName = "ObservabilityFilterRuleGroupLogic2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRule))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleField), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleField2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator), TypeInfoPropertyName = "ObservabilityFilterRuleGroupRuleOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationType), TypeInfoPropertyName = "ObservabilityGrafanaDestinationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationType), TypeInfoPropertyName = "ObservabilityLangfuseDestinationType2")] @@ -2286,6 +2435,13 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItemFileType), TypeInfoPropertyName = "OutputBashServerToolItemFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItemType), TypeInfoPropertyName = "OutputBashServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBrowserUseServerToolItemType), TypeInfoPropertyName = "OutputBrowserUseServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Per), TypeInfoPropertyName = "OutputCapacityEntryV2Variant1Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Type), TypeInfoPropertyName = "OutputCapacityEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputPricingUnitV2), TypeInfoPropertyName = "OutputPricingUnitV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant2Type), TypeInfoPropertyName = "OutputCapacityEntryV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestUnitV2), TypeInfoPropertyName = "RequestUnitV22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterServerToolItemType), TypeInfoPropertyName = "OutputCodeInterpreterServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItemPendingSafetyCheck))] @@ -2373,6 +2529,7 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant3), TypeInfoPropertyName = "OutputMessageStatusVariant32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType), TypeInfoPropertyName = "OutputMessageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputModalityEnum), TypeInfoPropertyName = "OutputModalityEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputPricingEntryV2Type), TypeInfoPropertyName = "OutputPricingEntryV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputReasoningItemVariant2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningFormat), TypeInfoPropertyName = "ReasoningFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItemType), TypeInfoPropertyName = "OutputSearchModelsServerToolItemType2")] @@ -2401,50 +2558,153 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionSourceType), TypeInfoPropertyName = "OutputWebSearchServerToolItemActionSourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionType), TypeInfoPropertyName = "OutputWebSearchServerToolItemActionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemType), TypeInfoPropertyName = "OutputWebSearchServerToolItemType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginId), TypeInfoPropertyName = "ParetoRouterPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginPriceSource), TypeInfoPropertyName = "ParetoRouterPluginPriceSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PayloadTooLargeResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PayloadTooLargeResponseErrorData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PaymentRequiredResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PaymentRequiredResponseErrorData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngine), TypeInfoPropertyName = "PDFParserEngine2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant1), TypeInfoPropertyName = "PDFParserEngineVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant2), TypeInfoPropertyName = "PDFParserEngineVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PercentileLatencyCutoffs))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PercentileStats))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PercentileThroughputCutoffs))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PipelineStageType), TypeInfoPropertyName = "PipelineStageType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>), TypeInfoPropertyName = "AnyOfStringIListPredictionContentText2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionContentText))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionType), TypeInfoPropertyName = "PredictionType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionContentTextType), TypeInfoPropertyName = "PredictionContentTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMaxLatency), TypeInfoPropertyName = "PreferredMaxLatency2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMinThroughput), TypeInfoPropertyName = "PreferredMinThroughput2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PresetStatus), TypeInfoPropertyName = "PresetStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PresetWithDesignatedVersionVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Preview20250311WebSearchServerToolType), TypeInfoPropertyName = "Preview20250311WebSearchServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchUserLocation))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchServerToolType), TypeInfoPropertyName = "PreviewWebSearchServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchUserLocationType), TypeInfoPropertyName = "PreviewWebSearchUserLocationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverride))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideUtcDay), TypeInfoPropertyName = "PricingOverrideUtcDay2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpoint))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointStatus), TypeInfoPropertyName = "PrivateEndpointStatus2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheck))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheckReason), TypeInfoPropertyName = "PrivateEndpointCheckReason2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointValidation))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointValidationResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheBreakpointMode), TypeInfoPropertyName = "PromptCacheBreakpointMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheOptionsMode), TypeInfoPropertyName = "PromptCacheOptionsMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderOverloadedResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderOverloadedResponseErrorData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderPreferencesDataCollection), TypeInfoPropertyName = "ProviderPreferencesDataCollection2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderPreferencesMaxPrice))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfStringDoubleBoolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParameterDescriptorV2Type), TypeInfoPropertyName = "ParameterDescriptorV2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "OneOfStringDouble2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginId), TypeInfoPropertyName = "ParetoRouterPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginPriceSource), TypeInfoPropertyName = "ParetoRouterPluginPriceSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PayloadTooLargeResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PayloadTooLargeResponseErrorData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PaymentRequiredResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PaymentRequiredResponseErrorData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngine), TypeInfoPropertyName = "PDFParserEngine2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant1), TypeInfoPropertyName = "PDFParserEngineVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngineVariant2), TypeInfoPropertyName = "PDFParserEngineVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PercentileLatencyCutoffs))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PercentileStats))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PercentileThroughputCutoffs))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PipelineStageType), TypeInfoPropertyName = "PipelineStageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>), TypeInfoPropertyName = "AnyOfStringIListPredictionContentText2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionContentText))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionType), TypeInfoPropertyName = "PredictionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PredictionContentTextType), TypeInfoPropertyName = "PredictionContentTextType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMaxLatency), TypeInfoPropertyName = "PreferredMaxLatency2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreferredMinThroughput), TypeInfoPropertyName = "PreferredMinThroughput2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PresetStatus), TypeInfoPropertyName = "PresetStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PresetWithDesignatedVersionVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Preview20250311WebSearchServerToolType), TypeInfoPropertyName = "Preview20250311WebSearchServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchUserLocation))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchServerToolType), TypeInfoPropertyName = "PreviewWebSearchServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchUserLocationType), TypeInfoPropertyName = "PreviewWebSearchUserLocationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverride))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideUtcDay), TypeInfoPropertyName = "PricingOverrideUtcDay2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2), TypeInfoPropertyName = "PricingPredicateV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2Variant1Variant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2Variant1Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2Variant1Variant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2Variant1Variant4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2Variant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2Variant4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpoint))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointStatus), TypeInfoPropertyName = "PrivateEndpointStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheck))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheckReason), TypeInfoPropertyName = "PrivateEndpointCheckReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointValidation))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointValidationResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheBreakpointMode), TypeInfoPropertyName = "PromptCacheBreakpointMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheOptionsMode), TypeInfoPropertyName = "PromptCacheOptionsMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderOverloadedResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderOverloadedResponseErrorData))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderPreferencesDataCollection), TypeInfoPropertyName = "ProviderPreferencesDataCollection2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderPreferencesMaxPrice))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Quantization), TypeInfoPropertyName = "Quantization2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderResponseProviderName), TypeInfoPropertyName = "ProviderResponseProviderName2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderResponseRoutedServiceTier), TypeInfoPropertyName = "ProviderResponseRoutedServiceTier2")] @@ -2491,6 +2751,19 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningTextContentType), TypeInfoPropertyName = "ReasoningTextContentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDeltaEvent), TypeInfoPropertyName = "RefusalDeltaEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDoneEvent), TypeInfoPropertyName = "RefusalDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Per), TypeInfoPropertyName = "RequestCapacityEntryV2Variant1Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Type), TypeInfoPropertyName = "RequestCapacityEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Per), TypeInfoPropertyName = "RequestCapacityEntryV2Variant2Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Type), TypeInfoPropertyName = "RequestCapacityEntryV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchUnitV2), TypeInfoPropertyName = "SearchUnitV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant3Type), TypeInfoPropertyName = "RequestCapacityEntryV2Variant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2Variant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2Variant1Type), TypeInfoPropertyName = "RequestPricingEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2Variant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2Variant2Type), TypeInfoPropertyName = "RequestPricingEntryV2Variant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestTimeoutResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestTimeoutResponseErrorData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseHealingPluginId), TypeInfoPropertyName = "ResponseHealingPluginId2")] @@ -2561,94 +2834,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFile))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemFileType), TypeInfoPropertyName = "ShellCallOutputItemFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallOutputItemType), TypeInfoPropertyName = "ShellCallOutputItemType2")] - internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolType), TypeInfoPropertyName = "ShellServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellServerToolOpenRouterType), TypeInfoPropertyName = "ShellServerToolOpenRouterType2")] @@ -2670,7 +2855,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestProvider))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestProviderDataCollection), TypeInfoPropertyName = "SpeechRequestProviderDataCollection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestResponseFormat), TypeInfoPropertyName = "SpeechRequestResponseFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenCondition), TypeInfoPropertyName = "StopServerToolsWhenCondition2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenStepCountIs))] @@ -2713,7 +2897,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTUrlInputAudio))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTRequestProvider))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTRequestProviderDataCollection), TypeInfoPropertyName = "STTRequestProviderDataCollection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTRequestResponseFormat), TypeInfoPropertyName = "STTRequestResponseFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTTimestampGranularity), TypeInfoPropertyName = "STTTimestampGranularity2")] @@ -2888,42 +3071,134 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod), TypeInfoPropertyName = "CreateAuthKeysCodeRequestCodeChallengeMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType), TypeInfoPropertyName = "CreateAuthKeysCodeRequestUsageLimitType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestEncodingFormat), TypeInfoPropertyName = "CreateEmbeddingsRequestEncodingFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnyOfStringIListStringIListDoubleIListIListDoubleIListCreateEmbeddingsRequestInputVariant5Item2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type), TypeInfoPropertyName = "CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type), TypeInfoPropertyName = "CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UploadFileRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequestExternal))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequestLimitReset), TypeInfoPropertyName = "CreateKeysRequestLimitReset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateKeysRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateKeysRequestLimitReset), TypeInfoPropertyName = "UpdateKeysRequestLimitReset2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfStringCreateRerankRequestDocument2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankRequestDocument))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetUserActivityGroupBy), TypeInfoPropertyName = "GetUserActivityGroupBy2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfBatchListTimestampObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSource), TypeInfoPropertyName = "GetBenchmarksSource2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksTaskType), TypeInfoPropertyName = "GetBenchmarksTaskType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksBenchmarkType), TypeInfoPropertyName = "GetBenchmarksBenchmarkType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSearchSurface), TypeInfoPropertyName = "GetBenchmarksSearchSurface2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksArena), TypeInfoPropertyName = "GetBenchmarksArena2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListBYOKKeysProvider), TypeInfoPropertyName = "ListBYOKKeysProvider2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetTaskClassificationsWindow), TypeInfoPropertyName = "GetTaskClassificationsWindow2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsCategory), TypeInfoPropertyName = "GetAppRankingsCategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSubcategory), TypeInfoPropertyName = "GetAppRankingsSubcategory2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSort), TypeInfoPropertyName = "GetAppRankingsSort2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyPeriod), TypeInfoPropertyName = "GetRankingsDailyPeriod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyModality), TypeInfoPropertyName = "GetRankingsDailyModality2")] + internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestEncodingFormat), TypeInfoPropertyName = "CreateEmbeddingsRequestEncodingFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnyOfStringIListStringIListDoubleIListIListDoubleIListCreateEmbeddingsRequestInputVariant5Item2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type), TypeInfoPropertyName = "CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type), TypeInfoPropertyName = "CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UploadFileRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequestExternal))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateKeysRequestLimitReset), TypeInfoPropertyName = "CreateKeysRequestLimitReset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateKeysRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateKeysRequestLimitReset), TypeInfoPropertyName = "UpdateKeysRequestLimitReset2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnyOfStringCreateRerankRequestDocument2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateRerankRequestDocument))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetUserActivityGroupBy), TypeInfoPropertyName = "GetUserActivityGroupBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListModelsV2Region), TypeInfoPropertyName = "ListModelsV2Region2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelV2Region), TypeInfoPropertyName = "GetModelV2Region2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf), TypeInfoPropertyName = "AllOfBatchListTimestampObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSource), TypeInfoPropertyName = "GetBenchmarksSource2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksTaskType), TypeInfoPropertyName = "GetBenchmarksTaskType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksBenchmarkType), TypeInfoPropertyName = "GetBenchmarksBenchmarkType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSearchSurface), TypeInfoPropertyName = "GetBenchmarksSearchSurface2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksArena), TypeInfoPropertyName = "GetBenchmarksArena2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListBYOKKeysProvider), TypeInfoPropertyName = "ListBYOKKeysProvider2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetTaskClassificationsWindow), TypeInfoPropertyName = "GetTaskClassificationsWindow2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsCategory), TypeInfoPropertyName = "GetAppRankingsCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSubcategory), TypeInfoPropertyName = "GetAppRankingsSubcategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAppRankingsSort), TypeInfoPropertyName = "GetAppRankingsSort2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyPeriod), TypeInfoPropertyName = "GetRankingsDailyPeriod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyModality), TypeInfoPropertyName = "GetRankingsDailyModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyContextBucket), TypeInfoPropertyName = "GetRankingsDailyContextBucket2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyCategory), TypeInfoPropertyName = "GetRankingsDailyCategory2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetRankingsDailyLanguageType), TypeInfoPropertyName = "GetRankingsDailyLanguageType2")] @@ -3073,94 +3348,6 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionOutputType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionOutputType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionResultType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionResultType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionToolResultType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionToolResultType2")] - internal sealed partial class SourceGenerationContextChunk5 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicServerToolErrorCode?), TypeInfoPropertyName = "NullableAnthropicServerToolErrorCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCodeExecutionToolResultErrorType?), TypeInfoPropertyName = "NullableAnthropicCodeExecutionToolResultErrorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnthropicCompactionBlockType?), TypeInfoPropertyName = "NullableAnthropicCompactionBlockType2")] @@ -3398,50 +3585,140 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfStringObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatNamedToolChoiceType?), TypeInfoPropertyName = "NullableChatNamedToolChoiceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningDetailUnion?), TypeInfoPropertyName = "NullableReasoningDetailUnion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatReasoningSummaryVerbosityEnum?), TypeInfoPropertyName = "NullableChatReasoningSummaryVerbosityEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestModalitie?), TypeInfoPropertyName = "NullableChatRequestModalitie2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem?), TypeInfoPropertyName = "NullablePluginsItem2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableChatRequestPluginDiscriminatorId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort2?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseFormat?), TypeInfoPropertyName = "NullableResponseFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestResponseFormatDiscriminatorType?), TypeInfoPropertyName = "NullableChatRequestResponseFormatDiscriminatorType2")] - #pragma warning disable CS0618 // This registration names a deprecated API model. - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeprecatedRoute?), TypeInfoPropertyName = "NullableDeprecatedRoute2")] - #pragma warning restore CS0618 - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestServiceTier?), TypeInfoPropertyName = "NullableChatRequestServiceTier2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, object>?), TypeInfoPropertyName = "NullableAnyOfStringIListStringObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoice?), TypeInfoPropertyName = "NullableChatToolChoice2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTimeOffset?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatResultObject?), TypeInfoPropertyName = "NullableChatResultObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerToolType?), TypeInfoPropertyName = "NullableChatSearchModelsServerToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamChunkObject?), TypeInfoPropertyName = "NullableChatStreamChunkObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfChatAudioOutputObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamDeltaRole?), TypeInfoPropertyName = "NullableChatStreamDeltaRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamToolCallType?), TypeInfoPropertyName = "NullableChatStreamToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSystemMessageRole?), TypeInfoPropertyName = "NullableChatSystemMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolCallType?), TypeInfoPropertyName = "NullableChatToolCallType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant1?), TypeInfoPropertyName = "NullableChatToolChoiceVariant12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant2?), TypeInfoPropertyName = "NullableChatToolChoiceVariant22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant3?), TypeInfoPropertyName = "NullableChatToolChoiceVariant32")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListChatContentItems2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolMessageRole?), TypeInfoPropertyName = "NullableChatToolMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatUserMessageRole?), TypeInfoPropertyName = "NullableChatUserMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchEngineEnum?), TypeInfoPropertyName = "NullableWebSearchEngineEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchMode?), TypeInfoPropertyName = "NullableWebSearchMode2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchQualityLevel?), TypeInfoPropertyName = "NullableSearchQualityLevel2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatWebSearchShorthandType?), TypeInfoPropertyName = "NullableChatWebSearchShorthandType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDeltaEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDeltaEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDoneEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDoneEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCompletedEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCompletedEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInProgressEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInProgressEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInterpretingEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInterpretingEvent2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallItem?), TypeInfoPropertyName = "NullableCodeInterpreterCallItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterFileOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterFileOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterImageOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterImageOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterLogsOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterLogsOutputType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringCodeInterpreterServerToolContainer2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolContainerMemoryLimit2")] + internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatReasoningSummaryVerbosityEnum?), TypeInfoPropertyName = "NullableChatReasoningSummaryVerbosityEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestModalitie?), TypeInfoPropertyName = "NullableChatRequestModalitie2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem?), TypeInfoPropertyName = "NullablePluginsItem2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableChatRequestPluginDiscriminatorId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestReasoningEffort2?), TypeInfoPropertyName = "NullableChatRequestReasoningEffort22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseFormat?), TypeInfoPropertyName = "NullableResponseFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestResponseFormatDiscriminatorType?), TypeInfoPropertyName = "NullableChatRequestResponseFormatDiscriminatorType2")] + #pragma warning disable CS0618 // This registration names a deprecated API model. + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeprecatedRoute?), TypeInfoPropertyName = "NullableDeprecatedRoute2")] + #pragma warning restore CS0618 + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatRequestServiceTier?), TypeInfoPropertyName = "NullableChatRequestServiceTier2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, object>?), TypeInfoPropertyName = "NullableAnyOfStringIListStringObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoice?), TypeInfoPropertyName = "NullableChatToolChoice2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTimeOffset?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatResultObject?), TypeInfoPropertyName = "NullableChatResultObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSearchModelsServerToolType?), TypeInfoPropertyName = "NullableChatSearchModelsServerToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamChunkObject?), TypeInfoPropertyName = "NullableChatStreamChunkObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfChatAudioOutputObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamDeltaRole?), TypeInfoPropertyName = "NullableChatStreamDeltaRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatStreamToolCallType?), TypeInfoPropertyName = "NullableChatStreamToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatSystemMessageRole?), TypeInfoPropertyName = "NullableChatSystemMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolCallType?), TypeInfoPropertyName = "NullableChatToolCallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant1?), TypeInfoPropertyName = "NullableChatToolChoiceVariant12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant2?), TypeInfoPropertyName = "NullableChatToolChoiceVariant22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolChoiceVariant3?), TypeInfoPropertyName = "NullableChatToolChoiceVariant32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>?), TypeInfoPropertyName = "NullableAnyOfStringIListChatContentItems2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatToolMessageRole?), TypeInfoPropertyName = "NullableChatToolMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatUserMessageRole?), TypeInfoPropertyName = "NullableChatUserMessageRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchEngineEnum?), TypeInfoPropertyName = "NullableWebSearchEngineEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.WebSearchMode?), TypeInfoPropertyName = "NullableWebSearchMode2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchQualityLevel?), TypeInfoPropertyName = "NullableSearchQualityLevel2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ChatWebSearchShorthandType?), TypeInfoPropertyName = "NullableChatWebSearchShorthandType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDeltaEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDeltaEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCodeDoneEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCodeDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallCompletedEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallCompletedEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInProgressEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInProgressEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallInterpretingEvent?), TypeInfoPropertyName = "NullableCodeInterpreterCallInterpretingEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterCallItem?), TypeInfoPropertyName = "NullableCodeInterpreterCallItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterFileOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterFileOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterImageOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterImageOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterLogsOutputType?), TypeInfoPropertyName = "NullableCodeInterpreterLogsOutputType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringCodeInterpreterServerToolContainer2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolContainerMemoryLimit2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolContainerType?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolContainerType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodeInterpreterServerToolType?), TypeInfoPropertyName = "NullableCodeInterpreterServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CodexLocalShellToolType?), TypeInfoPropertyName = "NullableCodexLocalShellToolType2")] @@ -3518,6 +3795,7 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsResponseAnswersDiscriminatorType?), TypeInfoPropertyName = "NullableDecisionsResponseAnswersDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsScoreAnswerType?), TypeInfoPropertyName = "NullableDecisionsScoreAnswerType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DecisionsScoreQuestionType?), TypeInfoPropertyName = "NullableDecisionsScoreQuestionType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DescriptorUnitV2?), TypeInfoPropertyName = "NullableDescriptorUnitV22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string, object>?), TypeInfoPropertyName = "NullableAnyOfIListOneOfInputTextAllOfInputImageObjectInputFileInputAudioInputVideoStringObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>?), TypeInfoPropertyName = "NullableOneOfInputTextAllOfInputImageObjectInputFileInputAudioInputVideo2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfEasyInputMessagePhaseVariant1EasyInputMessagePhaseVariant2Object2")] @@ -3528,6 +3806,12 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant3?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageRoleVariant4?), TypeInfoPropertyName = "NullableEasyInputMessageRoleVariant42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EasyInputMessageType?), TypeInfoPropertyName = "NullableEasyInputMessageType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2?), TypeInfoPropertyName = "NullableRequestCapacityEntryV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2?), TypeInfoPropertyName = "NullableModelInputV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2?), TypeInfoPropertyName = "NullableModelOutputV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2?), TypeInfoPropertyName = "NullableRequestPricingEntryV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointDocumentV2Quantization?), TypeInfoPropertyName = "NullableEndpointDocumentV2Quantization2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EndpointDocumentV2ServiceTier?), TypeInfoPropertyName = "NullableEndpointDocumentV2ServiceTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.EnumCapabilityType?), TypeInfoPropertyName = "NullableEnumCapabilityType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ErrorEvent?), TypeInfoPropertyName = "NullableErrorEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.FailableToolCallStatus?), TypeInfoPropertyName = "NullableFailableToolCallStatus2")] @@ -3587,94 +3871,6 @@ internal sealed partial class SourceGenerationContextChunk5 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallInProgressEvent?), TypeInfoPropertyName = "NullableImageGenCallInProgressEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCallPartialImageEvent?), TypeInfoPropertyName = "NullableImageGenCallPartialImageEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ImageGenCompletedEventType?), TypeInfoPropertyName = "NullableImageGenCompletedEventType2")] - internal sealed partial class SourceGenerationContextChunk6 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfProviderOptionsObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfProviderSortProviderSortConfigObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ProviderSort?), TypeInfoPropertyName = "NullableProviderSort2")] @@ -3705,6 +3901,9 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InProgressEventType?), TypeInfoPropertyName = "NullableInProgressEventType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputAudioInputAudio1Format?), TypeInfoPropertyName = "NullableInputAudioInputAudio1Format2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputAudioType?), TypeInfoPropertyName = "NullableInputAudioType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputCapacityEntryV2Per?), TypeInfoPropertyName = "NullableInputCapacityEntryV2Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputCapacityEntryV2Type?), TypeInfoPropertyName = "NullableInputCapacityEntryV2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingUnitV2?), TypeInfoPropertyName = "NullableInputPricingUnitV22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputFileType?), TypeInfoPropertyName = "NullableInputFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputImageDetail?), TypeInfoPropertyName = "NullableInputImageDetail2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputImageType?), TypeInfoPropertyName = "NullableInputImageType2")] @@ -3714,6 +3913,11 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputMessageItemRoleVariant3?), TypeInfoPropertyName = "NullableInputMessageItemRoleVariant32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputMessageItemType?), TypeInfoPropertyName = "NullableInputMessageItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputModality?), TypeInfoPropertyName = "NullableInputModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2?), TypeInfoPropertyName = "NullableInputPricingEntryV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant1Type?), TypeInfoPropertyName = "NullableInputPricingEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UtcDayV2?), TypeInfoPropertyName = "NullableUtcDayV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant2Type?), TypeInfoPropertyName = "NullableInputPricingEntryV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputPricingEntryV2Variant3Type?), TypeInfoPropertyName = "NullableInputPricingEntryV2Variant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReference?), TypeInfoPropertyName = "NullableInputReference2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.InputReferenceDiscriminatorType?), TypeInfoPropertyName = "NullableInputReferenceDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Inputs?), TypeInfoPropertyName = "NullableInputs2")] @@ -3869,42 +4073,173 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MessagesToolRemovalBlockType?), TypeInfoPropertyName = "NullableMessagesToolRemovalBlockType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.MetadataLevel?), TypeInfoPropertyName = "NullableMetadataLevel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.Parameter?), TypeInfoPropertyName = "NullableParameter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfReasoningEffortObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModerationPluginId?), TypeInfoPropertyName = "NullableModerationPluginId2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolAllowedCaller?), TypeInfoPropertyName = "NullableNamespaceFunctionToolAllowedCaller2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolType?), TypeInfoPropertyName = "NullableNamespaceFunctionToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfNamespaceFunctionToolCustomTool2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceToolType?), TypeInfoPropertyName = "NullableNamespaceToolType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthErrorResponseError?), TypeInfoPropertyName = "NullableOAuthErrorResponseError2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyAlg?), TypeInfoPropertyName = "NullableOAuthJwksKeyAlg2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyCrv?), TypeInfoPropertyName = "NullableOAuthJwksKeyCrv2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyKty?), TypeInfoPropertyName = "NullableOAuthJwksKeyKty2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyUse?), TypeInfoPropertyName = "NullableOAuthJwksKeyUse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDataRegion?), TypeInfoPropertyName = "NullableObservabilityDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationType?), TypeInfoPropertyName = "NullableObservabilityArizeDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationType?), TypeInfoPropertyName = "NullableObservabilityBraintrustDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationType?), TypeInfoPropertyName = "NullableObservabilityClickhouseDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationType?), TypeInfoPropertyName = "NullableObservabilityDatadogDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminatorType?), TypeInfoPropertyName = "NullableObservabilityDestinationDiscriminatorType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupLogic?), TypeInfoPropertyName = "NullableObservabilityFilterRuleGroupLogic2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleField?), TypeInfoPropertyName = "NullableObservabilityFilterRuleGroupRuleField2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator?), TypeInfoPropertyName = "NullableObservabilityFilterRuleGroupRuleOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationType?), TypeInfoPropertyName = "NullableObservabilityGrafanaDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationType?), TypeInfoPropertyName = "NullableObservabilityLangfuseDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestinationType?), TypeInfoPropertyName = "NullableObservabilityLangsmithDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion?), TypeInfoPropertyName = "NullableObservabilityNewrelicDestinationConfigRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestinationType?), TypeInfoPropertyName = "NullableObservabilityNewrelicDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestinationType?), TypeInfoPropertyName = "NullableObservabilityOpikDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestinationType?), TypeInfoPropertyName = "NullableObservabilityOtelCollectorDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestinationType?), TypeInfoPropertyName = "NullableObservabilityPosthogDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestinationType?), TypeInfoPropertyName = "NullableObservabilityRampDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationType?), TypeInfoPropertyName = "NullableObservabilityS3DestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestinationType?), TypeInfoPropertyName = "NullableObservabilitySentryDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestinationType?), TypeInfoPropertyName = "NullableObservabilitySnowflakeDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestinationType?), TypeInfoPropertyName = "NullableObservabilityWeaveDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationConfigMethod?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationConfigMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationType?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileShape?), TypeInfoPropertyName = "NullableOpenAIFileShape2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant1Type?), TypeInfoPropertyName = "NullableModelInputV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsDetailLevelsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsDetailLevelsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsReferencesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleType?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsRoleType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsRoleValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue?), TypeInfoPropertyName = "NullableModelInputV2Variant2ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant2Type?), TypeInfoPropertyName = "NullableModelInputV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType?), TypeInfoPropertyName = "NullableModelInputV2Variant3ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue?), TypeInfoPropertyName = "NullableModelInputV2Variant3ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType?), TypeInfoPropertyName = "NullableModelInputV2Variant3ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue?), TypeInfoPropertyName = "NullableModelInputV2Variant3ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant3Type?), TypeInfoPropertyName = "NullableModelInputV2Variant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType?), TypeInfoPropertyName = "NullableModelInputV2Variant4ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue?), TypeInfoPropertyName = "NullableModelInputV2Variant4ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType?), TypeInfoPropertyName = "NullableModelInputV2Variant4ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue?), TypeInfoPropertyName = "NullableModelInputV2Variant4ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant4Type?), TypeInfoPropertyName = "NullableModelInputV2Variant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType?), TypeInfoPropertyName = "NullableModelInputV2Variant5ParamsFormatsType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue?), TypeInfoPropertyName = "NullableModelInputV2Variant5ParamsFormatsValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType?), TypeInfoPropertyName = "NullableModelInputV2Variant5ParamsReferencesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType?), TypeInfoPropertyName = "NullableModelInputV2Variant5ParamsSourcesType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue?), TypeInfoPropertyName = "NullableModelInputV2Variant5ParamsSourcesValue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelInputV2Variant5Type?), TypeInfoPropertyName = "NullableModelInputV2Variant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2?), TypeInfoPropertyName = "NullableOutputCapacityEntryV22")] + internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant1Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant2Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant3Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant4Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant4Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant5Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant5Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant6Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant6Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant7Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant7Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant8Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant8Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelOutputV2Variant9Type?), TypeInfoPropertyName = "NullableModelOutputV2Variant9Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfReasoningEffortObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Input?), TypeInfoPropertyName = "NullableModelV2Input2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Kind?), TypeInfoPropertyName = "NullableModelV2Kind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Output?), TypeInfoPropertyName = "NullableModelV2Output2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModelV2Variant?), TypeInfoPropertyName = "NullableModelV2Variant2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ModerationPluginId?), TypeInfoPropertyName = "NullableModerationPluginId2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolAllowedCaller?), TypeInfoPropertyName = "NullableNamespaceFunctionToolAllowedCaller2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceFunctionToolType?), TypeInfoPropertyName = "NullableNamespaceFunctionToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfNamespaceFunctionToolCustomTool2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.NamespaceToolType?), TypeInfoPropertyName = "NullableNamespaceToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthErrorResponseError?), TypeInfoPropertyName = "NullableOAuthErrorResponseError2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyAlg?), TypeInfoPropertyName = "NullableOAuthJwksKeyAlg2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyCrv?), TypeInfoPropertyName = "NullableOAuthJwksKeyCrv2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyKty?), TypeInfoPropertyName = "NullableOAuthJwksKeyKty2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OAuthJwksKeyUse?), TypeInfoPropertyName = "NullableOAuthJwksKeyUse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDataRegion?), TypeInfoPropertyName = "NullableObservabilityDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityArizeDestinationType?), TypeInfoPropertyName = "NullableObservabilityArizeDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityBraintrustDestinationType?), TypeInfoPropertyName = "NullableObservabilityBraintrustDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityClickhouseDestinationType?), TypeInfoPropertyName = "NullableObservabilityClickhouseDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDatadogDestinationType?), TypeInfoPropertyName = "NullableObservabilityDatadogDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityDestinationDiscriminatorType?), TypeInfoPropertyName = "NullableObservabilityDestinationDiscriminatorType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupLogic?), TypeInfoPropertyName = "NullableObservabilityFilterRuleGroupLogic2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleField?), TypeInfoPropertyName = "NullableObservabilityFilterRuleGroupRuleField2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator?), TypeInfoPropertyName = "NullableObservabilityFilterRuleGroupRuleOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityGrafanaDestinationType?), TypeInfoPropertyName = "NullableObservabilityGrafanaDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangfuseDestinationType?), TypeInfoPropertyName = "NullableObservabilityLangfuseDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityLangsmithDestinationType?), TypeInfoPropertyName = "NullableObservabilityLangsmithDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion?), TypeInfoPropertyName = "NullableObservabilityNewrelicDestinationConfigRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityNewrelicDestinationType?), TypeInfoPropertyName = "NullableObservabilityNewrelicDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOpikDestinationType?), TypeInfoPropertyName = "NullableObservabilityOpikDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityOtelCollectorDestinationType?), TypeInfoPropertyName = "NullableObservabilityOtelCollectorDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityPosthogDestinationType?), TypeInfoPropertyName = "NullableObservabilityPosthogDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityRampDestinationType?), TypeInfoPropertyName = "NullableObservabilityRampDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityS3DestinationType?), TypeInfoPropertyName = "NullableObservabilityS3DestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySentryDestinationType?), TypeInfoPropertyName = "NullableObservabilitySentryDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilitySnowflakeDestinationType?), TypeInfoPropertyName = "NullableObservabilitySnowflakeDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWeaveDestinationType?), TypeInfoPropertyName = "NullableObservabilityWeaveDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationConfigMethod?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationConfigMethod2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ObservabilityWebhookDestinationType?), TypeInfoPropertyName = "NullableObservabilityWebhookDestinationType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileShape?), TypeInfoPropertyName = "NullableOpenAIFileShape2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileObject?), TypeInfoPropertyName = "NullableOpenAIFileObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFilePurpose?), TypeInfoPropertyName = "NullableOpenAIFilePurpose2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OpenAIFileStatus?), TypeInfoPropertyName = "NullableOpenAIFileStatus2")] @@ -3978,6 +4313,11 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItemFileType?), TypeInfoPropertyName = "NullableOutputBashServerToolItemFileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBashServerToolItemType?), TypeInfoPropertyName = "NullableOutputBashServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputBrowserUseServerToolItemType?), TypeInfoPropertyName = "NullableOutputBrowserUseServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Per?), TypeInfoPropertyName = "NullableOutputCapacityEntryV2Variant1Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Type?), TypeInfoPropertyName = "NullableOutputCapacityEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputPricingUnitV2?), TypeInfoPropertyName = "NullableOutputPricingUnitV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCapacityEntryV2Variant2Type?), TypeInfoPropertyName = "NullableOutputCapacityEntryV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestUnitV2?), TypeInfoPropertyName = "NullableRequestUnitV22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputCodeInterpreterServerToolItemType?), TypeInfoPropertyName = "NullableOutputCodeInterpreterServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItemStatus?), TypeInfoPropertyName = "NullableOutputComputerCallItemStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputComputerCallItemType?), TypeInfoPropertyName = "NullableOutputComputerCallItemType2")] @@ -4035,6 +4375,7 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageStatusVariant3?), TypeInfoPropertyName = "NullableOutputMessageStatusVariant32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputMessageType?), TypeInfoPropertyName = "NullableOutputMessageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputModalityEnum?), TypeInfoPropertyName = "NullableOutputModalityEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputPricingEntryV2Type?), TypeInfoPropertyName = "NullableOutputPricingEntryV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningFormat?), TypeInfoPropertyName = "NullableReasoningFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputSearchModelsServerToolItemType?), TypeInfoPropertyName = "NullableOutputSearchModelsServerToolItemType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ShellCallStatus?), TypeInfoPropertyName = "NullableShellCallStatus2")] @@ -4051,6 +4392,9 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionSourceType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionSourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemActionType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemActionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OutputWebSearchServerToolItemType?), TypeInfoPropertyName = "NullableOutputWebSearchServerToolItemType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "NullableOneOfStringDoubleBoolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParameterDescriptorV2Type?), TypeInfoPropertyName = "NullableParameterDescriptorV2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "NullableOneOfStringDouble2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginId?), TypeInfoPropertyName = "NullableParetoRouterPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ParetoRouterPluginPriceSource?), TypeInfoPropertyName = "NullableParetoRouterPluginPriceSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PDFParserEngine?), TypeInfoPropertyName = "NullablePDFParserEngine2")] @@ -4067,6 +4411,7 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchServerToolType?), TypeInfoPropertyName = "NullablePreviewWebSearchServerToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PreviewWebSearchUserLocationType?), TypeInfoPropertyName = "NullablePreviewWebSearchUserLocationType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingOverrideUtcDay?), TypeInfoPropertyName = "NullablePricingOverrideUtcDay2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PricingPredicateV2?), TypeInfoPropertyName = "NullablePricingPredicateV22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointStatus?), TypeInfoPropertyName = "NullablePrivateEndpointStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PrivateEndpointCheckReason?), TypeInfoPropertyName = "NullablePrivateEndpointCheckReason2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PromptCacheBreakpointMode?), TypeInfoPropertyName = "NullablePromptCacheBreakpointMode2")] @@ -4095,100 +4440,20 @@ internal sealed partial class SourceGenerationContextChunk6 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ReasoningTextContentType?), TypeInfoPropertyName = "NullableReasoningTextContentType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDeltaEvent?), TypeInfoPropertyName = "NullableRefusalDeltaEvent2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RefusalDoneEvent?), TypeInfoPropertyName = "NullableRefusalDoneEvent2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Per?), TypeInfoPropertyName = "NullableRequestCapacityEntryV2Variant1Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Type?), TypeInfoPropertyName = "NullableRequestCapacityEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Per?), TypeInfoPropertyName = "NullableRequestCapacityEntryV2Variant2Per2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Type?), TypeInfoPropertyName = "NullableRequestCapacityEntryV2Variant2Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SearchUnitV2?), TypeInfoPropertyName = "NullableSearchUnitV22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestCapacityEntryV2Variant3Type?), TypeInfoPropertyName = "NullableRequestCapacityEntryV2Variant3Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2Variant1Type?), TypeInfoPropertyName = "NullableRequestPricingEntryV2Variant1Type2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.RequestPricingEntryV2Variant2Type?), TypeInfoPropertyName = "NullableRequestPricingEntryV2Variant2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseHealingPluginId?), TypeInfoPropertyName = "NullableResponseHealingPluginId2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseIncludesEnum?), TypeInfoPropertyName = "NullableResponseIncludesEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponseOutputTextType?), TypeInfoPropertyName = "NullableResponseOutputTextType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesErrorFieldCode?), TypeInfoPropertyName = "NullableResponsesErrorFieldCode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.PluginsItem3?), TypeInfoPropertyName = "NullablePluginsItem32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId?), TypeInfoPropertyName = "NullableResponsesRequestPluginDiscriminatorId2")] - internal sealed partial class SourceGenerationContextChunk7 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ResponsesRequestServiceTier?), TypeInfoPropertyName = "NullableResponsesRequestServiceTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfFunctionToolResponsesRequestToolVariant12")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamEvents?), TypeInfoPropertyName = "NullableStreamEvents2")] @@ -4222,7 +4487,6 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReferenceAudioType?), TypeInfoPropertyName = "NullableSpeechInputReferenceAudioType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReferenceImageType?), TypeInfoPropertyName = "NullableSpeechInputReferenceImageType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechInputReferenceTextType?), TypeInfoPropertyName = "NullableSpeechInputReferenceTextType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestProviderDataCollection?), TypeInfoPropertyName = "NullableSpeechRequestProviderDataCollection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.SpeechRequestResponseFormat?), TypeInfoPropertyName = "NullableSpeechRequestResponseFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenCondition?), TypeInfoPropertyName = "NullableStopServerToolsWhenCondition2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType?), TypeInfoPropertyName = "NullableStopServerToolsWhenConditionDiscriminatorType2")] @@ -4246,7 +4510,6 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamLogprob?), TypeInfoPropertyName = "NullableStreamLogprob2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.StreamLogprobTopLogprob?), TypeInfoPropertyName = "NullableStreamLogprobTopLogprob2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTInputAudio?), TypeInfoPropertyName = "NullableSTTInputAudio2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTRequestProviderDataCollection?), TypeInfoPropertyName = "NullableSTTRequestProviderDataCollection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTRequestResponseFormat?), TypeInfoPropertyName = "NullableSTTRequestResponseFormat2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTTimestampGranularity?), TypeInfoPropertyName = "NullableSTTTimestampGranularity2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.STTWordType?), TypeInfoPropertyName = "NullableSTTWordType2")] @@ -4321,6 +4584,8 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.UpdateKeysRequestLimitReset?), TypeInfoPropertyName = "NullableUpdateKeysRequestLimitReset2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfStringCreateRerankRequestDocument2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetUserActivityGroupBy?), TypeInfoPropertyName = "NullableGetUserActivityGroupBy2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListModelsV2Region?), TypeInfoPropertyName = "NullableListModelsV2Region2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelV2Region?), TypeInfoPropertyName = "NullableGetModelV2Region2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AllOf?), TypeInfoPropertyName = "NullableAllOfBatchListTimestampObject2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksSource?), TypeInfoPropertyName = "NullableGetBenchmarksSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetBenchmarksTaskType?), TypeInfoPropertyName = "NullableGetBenchmarksTaskType2")] @@ -4346,50 +4611,140 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsZdr?), TypeInfoPropertyName = "NullableGetModelsZdr2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetModelsRegion?), TypeInfoPropertyName = "NullableGetModelsRegion2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeletePrivateEndpointDraftOnly?), TypeInfoPropertyName = "NullableDeletePrivateEndpointDraftOnly2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfDeleteScimGroupMappingKeepMembers2Boolean2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteScimGroupMappingKeepMembers2?), TypeInfoPropertyName = "NullableDeleteScimGroupMappingKeepMembers22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListToolsApiFormat?), TypeInfoPropertyName = "NullableListToolsApiFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataGranularitieName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataMetricDisplayFormat2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorName2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorValueType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItemObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseDataItemObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion?), TypeInfoPropertyName = "NullableGetCurrentKeyResponseDataAllowedDataRegion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListOrganizationMembersResponseDataItemRole?), TypeInfoPropertyName = "NullableListOrganizationMembersResponseDataItemRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseNotFoundResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseConflictResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseUnprocessableEntityResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseInternalServerResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseBadGatewayResponse2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemDatacenter?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemDatacenter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemHeadquarters?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemHeadquarters2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AgentMessageItemContentItem2>>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, string>))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_bf7774b59504ff43")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>), TypeInfoPropertyName = "AdditionalToolsItemTool2_b5f7952f57d49aa1")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "AnthropicFileDocumentSource_59970a182a07e0fb")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ConfigurationUpdateItem_9a27921b3bfede0f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ConfigurationUpdateItem_10780467a36301be")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_540f51064ad9fbb4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_49484aac0f2cfe6f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>), TypeInfoPropertyName = "NamespaceTool_5f1b468ec79e4d2b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_973b1a7fa70038f7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_fa69c7e94f9ea141")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_e0a5ce64df593465")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_6338ce728809f718")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_35bc5f8745b02e33")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_1fb5e476d33ba95e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>), TypeInfoPropertyName = "ConfigurationUpdateItem_047fa3765965bd29")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_85bf23ef95be663d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_2f6a763ce3046bb7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b1c10c2c6b46eea0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8da6d8ac988a888d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesBashToolResultBlock_27547511bde9ffe5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_8b902d8f07b55d71")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_3427b79e8e4441c6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "AnthropicDocumentBlockParam_5665f86286336860")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_50233d14798654a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_ffde3f722316314d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_fd34ecaec78d7e5f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_b2b4342cf8a50666")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_b179c4b756214df6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ToolSearchServerTool_1b9b412e0eef803d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "ToolSearchServerTool_9479becc269e0f9f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_24a3e4d5fd4f5c62")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_ef7bb99dce2c2b0a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_2c059dd05c149ed4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>), TypeInfoPropertyName = "ToolSearchServerTool_d7753f2fe5fa4111")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>), TypeInfoPropertyName = "ContentPartInputFile_2aea3d229536f75d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf), TypeInfoPropertyName = "ContentPartInputFile_538ae37a361ed1d9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>?), TypeInfoPropertyName = "AdditionalToolsItemTool2_09e240cd95900634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "AnthropicFileDocumentSource_814636ad8bcd4bd6")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ConfigurationUpdateItem_5362c7233928ae2f")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BaseInputsVariant2ItemRoleVariant4_5aeb29d58bd76aba")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>?), TypeInfoPropertyName = "NamespaceTool_6f69561a8e6df433")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant4_b512db3eec98d92a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_3e6e941c2ae064c9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_f5555bff6884da83")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "EasyInputMessageRoleVariant4_a381c85a2ffefca7")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>?), TypeInfoPropertyName = "ConfigurationUpdateItem_5bcddb4ddc90e634")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "McpServerToolRequireApprovalVariant3_object_2884e80377aafa75")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesContentBlockDeltaEventDeltaVariant6_b04a01a634d385af")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesContentBlockStartEventContentBlock_c30660cec8d1d2a0")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "MessagesBashToolResultBlock_bd3609ddc72f8945")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesBashToolResultBlock_e42f325df534d1f2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_48af57af66f09051")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "AnthropicDocumentBlockParam_c612fce51eacfc73")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_71052b93d707ee6b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant2KeepEnum2_b4b489f1330d5b4d")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestThinkingVariant4_03c7f1a2acca5c12")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesRequestToolChoiceVariant4_80ddd5e547c6a6f9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "ToolSearchServerTool_dafe8db55066d0a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolAdditionBlockToolVariant3_b3524ee11eb78d15")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "MessagesToolRemovalBlockToolVariant3_b8be7edf70121998")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OpenAIResponseInputMessageItemRoleVariant3_30be2933991f4490")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "OutputItemFunctionCallStatusVariant3_c3e100bad4156ae5")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "OutputItemWebSearchCallActionVariant3_bff9cc86d44cf6cd")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "PricingPredicateV2Variant1Variant4_5832474af559445c")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>?), TypeInfoPropertyName = "ToolSearchServerTool_eab303d51ff5e405")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.OneOf?), TypeInfoPropertyName = "ContentPartInputFile_1886f3bcc3b70a36")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool, global::OpenRouter.AdditionalToolsItemTool2>>), TypeInfoPropertyName = "AdditionalToolsItemTool2_3a8a4fe12a71a6e9")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a716e7029f70194")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool>>), TypeInfoPropertyName = "NamespaceTool_5415e4f11a497d7a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3_a2cea693150f9456")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2_d4b31f98111658ec")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AllOf?, global::OpenRouter.OutputWebSearchCallItem?, global::OpenRouter.OutputFileSearchCallItem?, global::OpenRouter.OutputImageGenerationCallItem?, global::OpenRouter.OutputCodeInterpreterCallItem?, global::OpenRouter.OutputComputerCallItem, global::OpenRouter.OutputDatetimeItem, global::OpenRouter.OutputWebSearchServerToolItem, global::OpenRouter.OutputCodeInterpreterServerToolItem, global::OpenRouter.OutputFileSearchServerToolItem, global::OpenRouter.OutputImageGenerationServerToolItem, global::OpenRouter.OutputBrowserUseServerToolItem, global::OpenRouter.OutputBashServerToolItem, global::OpenRouter.OutputTextEditorServerToolItem, global::OpenRouter.OutputApplyPatchServerToolItem, global::OpenRouter.OutputWebFetchServerToolItem, global::OpenRouter.OutputToolSearchServerToolItem, global::OpenRouter.OutputMemoryServerToolItem, global::OpenRouter.OutputMcpServerToolItem, global::OpenRouter.OutputSearchModelsServerToolItem, global::OpenRouter.OutputFusionServerToolItem, global::OpenRouter.OutputAdvisorServerToolItem, global::OpenRouter.OutputSubagentServerToolItem, global::OpenRouter.OutputFilesServerToolItem, global::OpenRouter.OutputShellServerToolItem, global::OpenRouter.LocalShellCallItem, global::OpenRouter.LocalShellCallOutputItem, global::OpenRouter.ShellCallItem, global::OpenRouter.ShellCallOutputItem, global::OpenRouter.McpListToolsItem, global::OpenRouter.McpApprovalRequestItem, global::OpenRouter.McpApprovalResponseItem, global::OpenRouter.McpCallItem, global::OpenRouter.CustomToolCallItem, global::OpenRouter.CustomToolCallOutputItem?, global::OpenRouter.CompactionItem, global::OpenRouter.ContextCompactionItem, global::OpenRouter.ItemReferenceItem, global::OpenRouter.AdditionalToolsItem, global::OpenRouter.AgentMessageItem, global::OpenRouter.ConfigurationUpdateItem>>), TypeInfoPropertyName = "ConfigurationUpdateItem_0a1711078fcb4b0e")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "MessagesBashToolResultBlock_b6557be28c506f1a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesBashToolResultBlock_8e04116bd0be7b6a")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_ff603e3e1c6bb3fa")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "AnthropicDocumentBlockParam_dfe4b95a03f67e89")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "MessagesRequestContextManagementEditVariant3_6c983e238fc95563")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ToolSearchServerTool_01f1dc7626f092a4")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.PreviewWebSearchServerTool, global::OpenRouter.Preview20250311WebSearchServerTool, global::OpenRouter.LegacyWebSearchServerTool, global::OpenRouter.WebSearchServerTool, global::OpenRouter.FileSearchServerTool, global::OpenRouter.ComputerUseServerTool, global::OpenRouter.CodeInterpreterServerTool, global::OpenRouter.McpServerTool, global::OpenRouter.ImageGenerationServerTool, global::OpenRouter.CodexLocalShellTool, global::OpenRouter.ShellServerTool, global::OpenRouter.ApplyPatchServerTool, global::OpenRouter.CustomTool, global::OpenRouter.NamespaceTool, global::OpenRouter.AdvisorServerToolOpenRouter, global::OpenRouter.SubagentServerToolOpenRouter, global::OpenRouter.DatetimeServerTool, global::OpenRouter.FilesServerTool, global::OpenRouter.FusionServerToolOpenRouter, global::OpenRouter.ImageGenerationServerToolOpenRouter, global::OpenRouter.SearchModelsServerToolOpenRouter, global::OpenRouter.WebFetchServerTool, global::OpenRouter.WebSearchServerToolOpenRouter, global::OpenRouter.ApplyPatchServerToolOpenRouter, global::OpenRouter.BashServerTool, global::OpenRouter.ShellServerToolOpenRouter, global::OpenRouter.ToolSearchServerTool>>), TypeInfoPropertyName = "ToolSearchServerTool_ba88f27f2f078735")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ContentPartInputFile_8471d29128267302")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfDeleteScimGroupMappingKeepMembers2Boolean2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.DeleteScimGroupMappingKeepMembers2?), TypeInfoPropertyName = "NullableDeleteScimGroupMappingKeepMembers22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListToolsApiFormat?), TypeInfoPropertyName = "NullableListToolsApiFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataGranularitieName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataMetricDisplayFormat2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorName2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType?), TypeInfoPropertyName = "NullableGetAnalyticsMetaResponseDataOperatorValueType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseDataItemObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseDataItemObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.CreateEmbeddingsResponseObject?), TypeInfoPropertyName = "NullableCreateEmbeddingsResponseObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion?), TypeInfoPropertyName = "NullableGetCurrentKeyResponseDataAllowedDataRegion2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListOrganizationMembersResponseDataItemRole?), TypeInfoPropertyName = "NullableListOrganizationMembersResponseDataItemRole2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseNotFoundResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseConflictResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseUnprocessableEntityResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseInternalServerResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?), TypeInfoPropertyName = "NullableAnyOfCreatePrivateEndpointValidationFailedResponseBadGatewayResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemDatacenter?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemDatacenter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.ListProvidersResponseDataItemHeadquarters?), TypeInfoPropertyName = "NullableListProvidersResponseDataItemHeadquarters2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.AgentMessageItemContentItem2>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf, string>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4444,6 +4799,11 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string, object>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] @@ -4467,6 +4827,8 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>, string, object>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4509,8 +4871,26 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4544,9 +4924,11 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::OpenRouter.AnyOf>))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -4610,7 +4992,7 @@ internal sealed partial class SourceGenerationContextChunk7 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class SourceGenerationContextChunk8 : global::System.Text.Json.Serialization.JsonSerializerContext + internal sealed partial class SourceGenerationContextChunk9 : global::System.Text.Json.Serialization.JsonSerializerContext { } /// @@ -4707,6 +5089,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.ImageGenCallGeneratingEventJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ImageGenCallInProgressEventJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ImageGenCallPartialImageEventJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.InputPricingEntryV2JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.InputReferenceJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.InputsJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.InternChatMessageJsonConverter()); @@ -4718,6 +5101,8 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.PluginsItem2JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.MessagesResultJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.MessagesStreamEventsJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.ModelInputV2JsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.ModelOutputV2JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ObservabilityDestinationJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OutputVariant2Item3JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OutputVariant2Item4JsonConverter()); @@ -4729,6 +5114,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.OpenResponsesResultJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ORAnthropicContentBlockJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ORAnthropicNullableCallerJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.OutputCapacityEntryV2JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OutputCodeInterpreterCallItemJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OutputFileSearchCallItemJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.OutputFunctionCallItemJsonConverter()); @@ -4745,6 +5131,7 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.PreferredMaxLatencyJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.PreferredMinThroughputJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.PresetWithDesignatedVersionJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.PricingPredicateV2JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ReasoningDeltaEventJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ReasoningDetailUnionJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ReasoningDoneEventJsonConverter()); @@ -4755,6 +5142,8 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.ReasoningSummaryTextDoneEventJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.RefusalDeltaEventJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.RefusalDoneEventJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.RequestCapacityEntryV2JsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.RequestPricingEntryV2JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.PluginsItem3JsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ServerToolDetailsJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.ShellServerToolEnvironmentJsonConverter()); @@ -4901,7 +5290,11 @@ internal static void AddConverters(global::System.Text.Json.JsonSerializerOption options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter>()); + options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::OpenRouter.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); options.Converters.Add(new global::OpenRouter.JsonConverters.AnyOfJsonConverter()); @@ -6196,6 +6589,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.DeprecatedRoute?) + || typeToConvert == typeof(global::OpenRouter.DescriptorUnitV2) + + || typeToConvert == typeof(global::OpenRouter.DescriptorUnitV2?) + || typeToConvert == typeof(global::OpenRouter.EasyInputMessagePhaseVariant1) || typeToConvert == typeof(global::OpenRouter.EasyInputMessagePhaseVariant1?) @@ -6224,6 +6621,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.EasyInputMessageType?) + || typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2Quantization) + + || typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2Quantization?) + + || typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2ServiceTier) + + || typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2ServiceTier?) + || typeToConvert == typeof(global::OpenRouter.EnumCapabilityType) || typeToConvert == typeof(global::OpenRouter.EnumCapabilityType?) @@ -6484,6 +6889,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.InputAudioType?) + || typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Per) + + || typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Per?) + + || typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Type) + + || typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Type?) + || typeToConvert == typeof(global::OpenRouter.InputFileType) || typeToConvert == typeof(global::OpenRouter.InputFileType?) @@ -6516,6 +6929,22 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.InputModality?) + || typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant1Type) + + || typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant1Type?) + + || typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant2Type) + + || typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant2Type?) + + || typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant3Type) + + || typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant3Type?) + + || typeToConvert == typeof(global::OpenRouter.InputPricingUnitV2) + + || typeToConvert == typeof(global::OpenRouter.InputPricingUnitV2?) + || typeToConvert == typeof(global::OpenRouter.InputReferenceDiscriminatorType) || typeToConvert == typeof(global::OpenRouter.InputReferenceDiscriminatorType?) @@ -6988,6 +7417,166 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.ModelGroup?) + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant1Type) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant1Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2Type) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3Type) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4Type) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue?) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5Type) + + || typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant1Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant1Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant2Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant2Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant3Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant3Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant4Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant4Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant5Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant5Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant6Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant6Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant7Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant7Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant8Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant8Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant9Type) + + || typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant9Type?) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Input) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Input?) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Kind) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Kind?) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Output) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Output?) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Variant) + + || typeToConvert == typeof(global::OpenRouter.ModelV2Variant?) + || typeToConvert == typeof(global::OpenRouter.ModerationPluginId) || typeToConvert == typeof(global::OpenRouter.ModerationPluginId?) @@ -7376,6 +7965,18 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.OutputBrowserUseServerToolItemType?) + || typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Per) + + || typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Per?) + + || typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Type) + + || typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Type?) + + || typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant2Type) + + || typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant2Type?) + || typeToConvert == typeof(global::OpenRouter.OutputCodeInterpreterServerToolItemType) || typeToConvert == typeof(global::OpenRouter.OutputCodeInterpreterServerToolItemType?) @@ -7572,6 +8173,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.OutputModalityEnum?) + || typeToConvert == typeof(global::OpenRouter.OutputPricingEntryV2Type) + + || typeToConvert == typeof(global::OpenRouter.OutputPricingEntryV2Type?) + + || typeToConvert == typeof(global::OpenRouter.OutputPricingUnitV2) + + || typeToConvert == typeof(global::OpenRouter.OutputPricingUnitV2?) + || typeToConvert == typeof(global::OpenRouter.OutputSearchModelsServerToolItemType) || typeToConvert == typeof(global::OpenRouter.OutputSearchModelsServerToolItemType?) @@ -7632,6 +8241,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.Parameter?) + || typeToConvert == typeof(global::OpenRouter.ParameterDescriptorV2Type) + + || typeToConvert == typeof(global::OpenRouter.ParameterDescriptorV2Type?) + || typeToConvert == typeof(global::OpenRouter.ParetoRouterPluginId) || typeToConvert == typeof(global::OpenRouter.ParetoRouterPluginId?) @@ -7792,31 +8405,63 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.ReasoningTextContentType?) - || typeToConvert == typeof(global::OpenRouter.ResponseHealingPluginId) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Per) - || typeToConvert == typeof(global::OpenRouter.ResponseHealingPluginId?) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Per?) - || typeToConvert == typeof(global::OpenRouter.ResponseIncludesEnum) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Type) - || typeToConvert == typeof(global::OpenRouter.ResponseIncludesEnum?) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Type?) - || typeToConvert == typeof(global::OpenRouter.ResponseOutputTextType) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Per) - || typeToConvert == typeof(global::OpenRouter.ResponseOutputTextType?) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Per?) - || typeToConvert == typeof(global::OpenRouter.ResponsesErrorFieldCode) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Type) - || typeToConvert == typeof(global::OpenRouter.ResponsesErrorFieldCode?) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Type?) - || typeToConvert == typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant3Type) - || typeToConvert == typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId?) + || typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant3Type?) - || typeToConvert == typeof(global::OpenRouter.ResponsesRequestServiceTier) + || typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant1Type) - || typeToConvert == typeof(global::OpenRouter.ResponsesRequestServiceTier?) + || typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant1Type?) - || typeToConvert == typeof(global::OpenRouter.RoutingStrategy) + || typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant2Type) + + || typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant2Type?) + + || typeToConvert == typeof(global::OpenRouter.RequestUnitV2) + + || typeToConvert == typeof(global::OpenRouter.RequestUnitV2?) + + || typeToConvert == typeof(global::OpenRouter.ResponseHealingPluginId) + + || typeToConvert == typeof(global::OpenRouter.ResponseHealingPluginId?) + + || typeToConvert == typeof(global::OpenRouter.ResponseIncludesEnum) + + || typeToConvert == typeof(global::OpenRouter.ResponseIncludesEnum?) + + || typeToConvert == typeof(global::OpenRouter.ResponseOutputTextType) + + || typeToConvert == typeof(global::OpenRouter.ResponseOutputTextType?) + + || typeToConvert == typeof(global::OpenRouter.ResponsesErrorFieldCode) + + || typeToConvert == typeof(global::OpenRouter.ResponsesErrorFieldCode?) + + || typeToConvert == typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId) + + || typeToConvert == typeof(global::OpenRouter.ResponsesRequestPluginDiscriminatorId?) + + || typeToConvert == typeof(global::OpenRouter.ResponsesRequestServiceTier) + + || typeToConvert == typeof(global::OpenRouter.ResponsesRequestServiceTier?) + + || typeToConvert == typeof(global::OpenRouter.RoutingStrategy) || typeToConvert == typeof(global::OpenRouter.RoutingStrategy?) @@ -7840,6 +8485,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.SearchQualityLevel?) + || typeToConvert == typeof(global::OpenRouter.SearchUnitV2) + + || typeToConvert == typeof(global::OpenRouter.SearchUnitV2?) + || typeToConvert == typeof(global::OpenRouter.ServerToolStatus) || typeToConvert == typeof(global::OpenRouter.ServerToolStatus?) @@ -7940,10 +8589,6 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.SpeechInputReferenceTextType?) - || typeToConvert == typeof(global::OpenRouter.SpeechRequestProviderDataCollection) - - || typeToConvert == typeof(global::OpenRouter.SpeechRequestProviderDataCollection?) - || typeToConvert == typeof(global::OpenRouter.SpeechRequestResponseFormat) || typeToConvert == typeof(global::OpenRouter.SpeechRequestResponseFormat?) @@ -7976,10 +8621,6 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.StreamEventsDiscriminatorType?) - || typeToConvert == typeof(global::OpenRouter.STTRequestProviderDataCollection) - - || typeToConvert == typeof(global::OpenRouter.STTRequestProviderDataCollection?) - || typeToConvert == typeof(global::OpenRouter.STTRequestResponseFormat) || typeToConvert == typeof(global::OpenRouter.STTRequestResponseFormat?) @@ -8124,6 +8765,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.URLCitationType?) + || typeToConvert == typeof(global::OpenRouter.UtcDayV2) + + || typeToConvert == typeof(global::OpenRouter.UtcDayV2?) + || typeToConvert == typeof(global::OpenRouter.VaultEffectiveSecretScope) || typeToConvert == typeof(global::OpenRouter.VaultEffectiveSecretScope?) @@ -8268,6 +8913,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::OpenRouter.GetUserActivityGroupBy?) + || typeToConvert == typeof(global::OpenRouter.ListModelsV2Region) + + || typeToConvert == typeof(global::OpenRouter.ListModelsV2Region?) + + || typeToConvert == typeof(global::OpenRouter.GetModelV2Region) + + || typeToConvert == typeof(global::OpenRouter.GetModelV2Region?) + || typeToConvert == typeof(global::OpenRouter.GetBenchmarksSource) || typeToConvert == typeof(global::OpenRouter.GetBenchmarksSource?) @@ -11457,6 +12110,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.DeprecatedRouteNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.DescriptorUnitV2)) + { + return new global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.DescriptorUnitV2?)) + { + return new global::OpenRouter.JsonConverters.DescriptorUnitV2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.EasyInputMessagePhaseVariant1)) { return new global::OpenRouter.JsonConverters.EasyInputMessagePhaseVariant1JsonConverter(); @@ -11527,6 +12190,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.EasyInputMessageTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2Quantization)) + { + return new global::OpenRouter.JsonConverters.EndpointDocumentV2QuantizationJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2Quantization?)) + { + return new global::OpenRouter.JsonConverters.EndpointDocumentV2QuantizationNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2ServiceTier)) + { + return new global::OpenRouter.JsonConverters.EndpointDocumentV2ServiceTierJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.EndpointDocumentV2ServiceTier?)) + { + return new global::OpenRouter.JsonConverters.EndpointDocumentV2ServiceTierNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.EnumCapabilityType)) { return new global::OpenRouter.JsonConverters.EnumCapabilityTypeJsonConverter(); @@ -12177,6 +12860,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.InputAudioTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Per)) + { + return new global::OpenRouter.JsonConverters.InputCapacityEntryV2PerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Per?)) + { + return new global::OpenRouter.JsonConverters.InputCapacityEntryV2PerNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Type)) + { + return new global::OpenRouter.JsonConverters.InputCapacityEntryV2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputCapacityEntryV2Type?)) + { + return new global::OpenRouter.JsonConverters.InputCapacityEntryV2TypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.InputFileType)) { return new global::OpenRouter.JsonConverters.InputFileTypeJsonConverter(); @@ -12257,6 +12960,46 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.InputModalityNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant1Type)) + { + return new global::OpenRouter.JsonConverters.InputPricingEntryV2Variant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant1Type?)) + { + return new global::OpenRouter.JsonConverters.InputPricingEntryV2Variant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant2Type)) + { + return new global::OpenRouter.JsonConverters.InputPricingEntryV2Variant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant2Type?)) + { + return new global::OpenRouter.JsonConverters.InputPricingEntryV2Variant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant3Type)) + { + return new global::OpenRouter.JsonConverters.InputPricingEntryV2Variant3TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputPricingEntryV2Variant3Type?)) + { + return new global::OpenRouter.JsonConverters.InputPricingEntryV2Variant3TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputPricingUnitV2)) + { + return new global::OpenRouter.JsonConverters.InputPricingUnitV2JsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.InputPricingUnitV2?)) + { + return new global::OpenRouter.JsonConverters.InputPricingUnitV2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.InputReferenceDiscriminatorType)) { return new global::OpenRouter.JsonConverters.InputReferenceDiscriminatorTypeJsonConverter(); @@ -13099,342 +13842,742 @@ public override bool CanConvert(global::System.Type typeToConvert) if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant1Type)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant1TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant1Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant2Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant2Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant3Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant3TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant3Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant3TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant4Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant4TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant4Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant4TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant1Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant1Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Name)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2NameJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Name?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2NameNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Name)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3NameJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Name?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3NameNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Name)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4NameJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Name?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4NameNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Name)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5NameJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Name?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5NameNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Name)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6NameJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Name?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6NameNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Type)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesSearchModelsServerToolType)) + { + return new global::OpenRouter.JsonConverters.MessagesSearchModelsServerToolTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesSearchModelsServerToolType?)) + { + return new global::OpenRouter.JsonConverters.MessagesSearchModelsServerToolTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockFileType)) + { + return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockFileTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockFileType?)) + { + return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockFileTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockType)) + { + return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockType?)) + { + return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageProvider)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventMessageProviderJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageProvider?)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventMessageProviderNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageRole)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventMessageRoleJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageRole?)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventMessageRoleNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageType)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventMessageTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageType?)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventMessageTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventType)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventType?)) + { + return new global::OpenRouter.JsonConverters.MessagesStartEventTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStopEventType)) + { + return new global::OpenRouter.JsonConverters.MessagesStopEventTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStopEventType?)) + { + return new global::OpenRouter.JsonConverters.MessagesStopEventTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStreamEventsDiscriminatorType)) + { + return new global::OpenRouter.JsonConverters.MessagesStreamEventsDiscriminatorTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesStreamEventsDiscriminatorType?)) + { + return new global::OpenRouter.JsonConverters.MessagesStreamEventsDiscriminatorTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant3TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant3TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockType)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockType?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant3TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant3TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockType)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockType?)) + { + return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MetadataLevel)) + { + return new global::OpenRouter.JsonConverters.MetadataLevelJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.MetadataLevel?)) + { + return new global::OpenRouter.JsonConverters.MetadataLevelNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelGroup)) + { + return new global::OpenRouter.JsonConverters.ModelGroupJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelGroup?)) + { + return new global::OpenRouter.JsonConverters.ModelGroupNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant1Type)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant1Type?)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType?)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValueJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue?)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsValueNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsType?)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValueJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue?)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsValueNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesTypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferencesType?)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesTypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleType)) + { + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant1Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleType?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant1TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant2Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant2TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant2Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsRoleValue?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant2TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant3Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant3TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant3Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesType?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant3TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant4Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant4TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolChoiceVariant4Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolChoiceVariant4TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant1Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2Type)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant1TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant1Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant2Type?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant1TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant2TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Name)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2NameJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Name?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsType?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2NameNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant2Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant2TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Name)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3NameJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Name?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesType?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3NameNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant3Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant3TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Name)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3Type)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4NameJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Name?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant3Type?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4NameNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant3TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant4Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsType?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant4TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Name)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5NameJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Name?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5NameNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant5Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesType?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant5TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Name)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6NameJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Name?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6NameNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4Type)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesRequestToolVariant6Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant4Type?)) { - return new global::OpenRouter.JsonConverters.MessagesRequestToolVariant6TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant4TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesSearchModelsServerToolType)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType)) { - return new global::OpenRouter.JsonConverters.MessagesSearchModelsServerToolTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesSearchModelsServerToolType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsType?)) { - return new global::OpenRouter.JsonConverters.MessagesSearchModelsServerToolTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockFileType)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue)) { - return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockFileTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockFileType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue?)) { - return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockFileTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockType)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType)) { - return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesShellToolResultBlockType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferencesType?)) { - return new global::OpenRouter.JsonConverters.MessagesShellToolResultBlockTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageProvider)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventMessageProviderJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesTypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageProvider?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesType?)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventMessageProviderNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageRole)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventMessageRoleJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValueJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageRole?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue?)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventMessageRoleNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesValueNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageType)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5Type)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventMessageTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventMessageType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelInputV2Variant5Type?)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventMessageTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelInputV2Variant5TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventType)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant1Type)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant1TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStartEventType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant1Type?)) { - return new global::OpenRouter.JsonConverters.MessagesStartEventTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant1TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStopEventType)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant2Type)) { - return new global::OpenRouter.JsonConverters.MessagesStopEventTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant2TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStopEventType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant2Type?)) { - return new global::OpenRouter.JsonConverters.MessagesStopEventTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant2TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStreamEventsDiscriminatorType)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant3Type)) { - return new global::OpenRouter.JsonConverters.MessagesStreamEventsDiscriminatorTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant3TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesStreamEventsDiscriminatorType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant3Type?)) { - return new global::OpenRouter.JsonConverters.MessagesStreamEventsDiscriminatorTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant3TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant4Type)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant1TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant4TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant4Type?)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant1TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant4TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant5Type)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant2TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant5TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant5Type?)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant2TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant5TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant6Type)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant3TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant6TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant6Type?)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockToolVariant3TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant6TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockType)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant7Type)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant7TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolAdditionBlockType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant7Type?)) { - return new global::OpenRouter.JsonConverters.MessagesToolAdditionBlockTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant7TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant8Type)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant1TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant8TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant8Type?)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant1TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant8TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant9Type)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant2TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant9TypeJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelOutputV2Variant9Type?)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant2TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelOutputV2Variant9TypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Input)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant3TypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2InputJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type?)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Input?)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockToolVariant3TypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2InputNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockType)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Kind)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockTypeJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2KindJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MessagesToolRemovalBlockType?)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Kind?)) { - return new global::OpenRouter.JsonConverters.MessagesToolRemovalBlockTypeNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2KindNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MetadataLevel)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Output)) { - return new global::OpenRouter.JsonConverters.MetadataLevelJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2OutputJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.MetadataLevel?)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Output?)) { - return new global::OpenRouter.JsonConverters.MetadataLevelNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2OutputNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.ModelGroup)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Variant)) { - return new global::OpenRouter.JsonConverters.ModelGroupJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2VariantJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.ModelGroup?)) + if (typeToConvert == typeof(global::OpenRouter.ModelV2Variant?)) { - return new global::OpenRouter.JsonConverters.ModelGroupNullableJsonConverter(); + return new global::OpenRouter.JsonConverters.ModelV2VariantNullableJsonConverter(); } if (typeToConvert == typeof(global::OpenRouter.ModerationPluginId)) @@ -14407,6 +15550,36 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.OutputBrowserUseServerToolItemTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Per)) + { + return new global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1PerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Per?)) + { + return new global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1PerNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Type)) + { + return new global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant1Type?)) + { + return new global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant2Type)) + { + return new global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputCapacityEntryV2Variant2Type?)) + { + return new global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2TypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.OutputCodeInterpreterServerToolItemType)) { return new global::OpenRouter.JsonConverters.OutputCodeInterpreterServerToolItemTypeJsonConverter(); @@ -14897,6 +16070,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.OutputModalityEnumNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.OutputPricingEntryV2Type)) + { + return new global::OpenRouter.JsonConverters.OutputPricingEntryV2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputPricingEntryV2Type?)) + { + return new global::OpenRouter.JsonConverters.OutputPricingEntryV2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputPricingUnitV2)) + { + return new global::OpenRouter.JsonConverters.OutputPricingUnitV2JsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.OutputPricingUnitV2?)) + { + return new global::OpenRouter.JsonConverters.OutputPricingUnitV2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.OutputSearchModelsServerToolItemType)) { return new global::OpenRouter.JsonConverters.OutputSearchModelsServerToolItemTypeJsonConverter(); @@ -15047,6 +16240,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.ParameterNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.ParameterDescriptorV2Type)) + { + return new global::OpenRouter.JsonConverters.ParameterDescriptorV2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ParameterDescriptorV2Type?)) + { + return new global::OpenRouter.JsonConverters.ParameterDescriptorV2TypeNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.ParetoRouterPluginId)) { return new global::OpenRouter.JsonConverters.ParetoRouterPluginIdJsonConverter(); @@ -15447,6 +16650,86 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.ReasoningTextContentTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Per)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1PerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Per?)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1PerNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Type)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant1Type?)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Per)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2PerJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Per?)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2PerNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Type)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant2Type?)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant3Type)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestCapacityEntryV2Variant3Type?)) + { + return new global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant1Type)) + { + return new global::OpenRouter.JsonConverters.RequestPricingEntryV2Variant1TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant1Type?)) + { + return new global::OpenRouter.JsonConverters.RequestPricingEntryV2Variant1TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant2Type)) + { + return new global::OpenRouter.JsonConverters.RequestPricingEntryV2Variant2TypeJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestPricingEntryV2Variant2Type?)) + { + return new global::OpenRouter.JsonConverters.RequestPricingEntryV2Variant2TypeNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestUnitV2)) + { + return new global::OpenRouter.JsonConverters.RequestUnitV2JsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.RequestUnitV2?)) + { + return new global::OpenRouter.JsonConverters.RequestUnitV2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.ResponseHealingPluginId)) { return new global::OpenRouter.JsonConverters.ResponseHealingPluginIdJsonConverter(); @@ -15567,6 +16850,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.SearchQualityLevelNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.SearchUnitV2)) + { + return new global::OpenRouter.JsonConverters.SearchUnitV2JsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.SearchUnitV2?)) + { + return new global::OpenRouter.JsonConverters.SearchUnitV2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.ServerToolStatus)) { return new global::OpenRouter.JsonConverters.ServerToolStatusJsonConverter(); @@ -15817,16 +17110,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.SpeechInputReferenceTextTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.SpeechRequestProviderDataCollection)) - { - return new global::OpenRouter.JsonConverters.SpeechRequestProviderDataCollectionJsonConverter(); - } - - if (typeToConvert == typeof(global::OpenRouter.SpeechRequestProviderDataCollection?)) - { - return new global::OpenRouter.JsonConverters.SpeechRequestProviderDataCollectionNullableJsonConverter(); - } - if (typeToConvert == typeof(global::OpenRouter.SpeechRequestResponseFormat)) { return new global::OpenRouter.JsonConverters.SpeechRequestResponseFormatJsonConverter(); @@ -15907,16 +17190,6 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.StreamEventsDiscriminatorTypeNullableJsonConverter(); } - if (typeToConvert == typeof(global::OpenRouter.STTRequestProviderDataCollection)) - { - return new global::OpenRouter.JsonConverters.STTRequestProviderDataCollectionJsonConverter(); - } - - if (typeToConvert == typeof(global::OpenRouter.STTRequestProviderDataCollection?)) - { - return new global::OpenRouter.JsonConverters.STTRequestProviderDataCollectionNullableJsonConverter(); - } - if (typeToConvert == typeof(global::OpenRouter.STTRequestResponseFormat)) { return new global::OpenRouter.JsonConverters.STTRequestResponseFormatJsonConverter(); @@ -16277,6 +17550,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.URLCitationTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.UtcDayV2)) + { + return new global::OpenRouter.JsonConverters.UtcDayV2JsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.UtcDayV2?)) + { + return new global::OpenRouter.JsonConverters.UtcDayV2NullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.VaultEffectiveSecretScope)) { return new global::OpenRouter.JsonConverters.VaultEffectiveSecretScopeJsonConverter(); @@ -16637,6 +17920,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::OpenRouter.JsonConverters.GetUserActivityGroupByNullableJsonConverter(); } + if (typeToConvert == typeof(global::OpenRouter.ListModelsV2Region)) + { + return new global::OpenRouter.JsonConverters.ListModelsV2RegionJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.ListModelsV2Region?)) + { + return new global::OpenRouter.JsonConverters.ListModelsV2RegionNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.GetModelV2Region)) + { + return new global::OpenRouter.JsonConverters.GetModelV2RegionJsonConverter(); + } + + if (typeToConvert == typeof(global::OpenRouter.GetModelV2Region?)) + { + return new global::OpenRouter.JsonConverters.GetModelV2RegionNullableJsonConverter(); + } + if (typeToConvert == typeof(global::OpenRouter.GetBenchmarksSource)) { return new global::OpenRouter.JsonConverters.GetBenchmarksSourceJsonConverter(); @@ -17003,7 +18306,7 @@ public override bool CanConvert(global::System.Type typeToConvert) private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver { private readonly object _gate = new(); - private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[9]; + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[10]; public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( global::System.Type type, @@ -17056,6 +18359,8 @@ private sealed class LazyChunkResolver : global::System.Text.Json.Serialization. 7 => new SourceGenerationContextChunk7(new global::System.Text.Json.JsonSerializerOptions()), 8 => new SourceGenerationContextChunk8(new global::System.Text.Json.JsonSerializerOptions()), + + 9 => new SourceGenerationContextChunk9(new global::System.Text.Json.JsonSerializerOptions()), _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), }; } diff --git a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs index 92396047..1a358ed3 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.JsonSerializerContextTypes.g.cs @@ -261,9611 +261,10303 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::OpenRouter.Alignment? Type57 { get; set; } + public global::OpenRouter.AliasTargetV2? Type57 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type58 { get; set; } + public global::OpenRouter.Alignment? Type58 { get; set; } /// /// /// - public global::OpenRouter.AlignmentCallRecord? Type59 { get; set; } + public global::System.Collections.Generic.IList? Type59 { get; set; } /// /// /// - public global::OpenRouter.AlignmentAllowedCallRecord? Type60 { get; set; } + public global::OpenRouter.AlignmentCallRecord? Type60 { get; set; } /// /// /// - public global::OpenRouter.AlignmentAllowedCallRecordOutcome? Type61 { get; set; } + public global::OpenRouter.AlignmentAllowedCallRecord? Type61 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type62 { get; set; } + public global::OpenRouter.AlignmentAllowedCallRecordOutcome? Type62 { get; set; } /// /// /// - public global::OpenRouter.AlignmentRuleRecord? Type63 { get; set; } + public global::System.Collections.Generic.IList? Type63 { get; set; } /// /// /// - public global::OpenRouter.AlignmentBlockedCallRecord? Type64 { get; set; } + public global::OpenRouter.AlignmentRuleRecord? Type64 { get; set; } /// /// /// - public global::OpenRouter.AlignmentBlockedCallRecordOutcome? Type65 { get; set; } + public global::OpenRouter.AlignmentBlockedCallRecord? Type65 { get; set; } /// /// /// - public global::OpenRouter.AlignmentUnavailableCallRecord? Type66 { get; set; } + public global::OpenRouter.AlignmentBlockedCallRecordOutcome? Type66 { get; set; } /// /// /// - public global::OpenRouter.AlignmentCallRecordDiscriminator? Type67 { get; set; } + public global::OpenRouter.AlignmentUnavailableCallRecord? Type67 { get; set; } /// /// /// - public global::OpenRouter.AlignmentCallRecordDiscriminatorOutcome? Type68 { get; set; } + public global::OpenRouter.AlignmentCallRecordDiscriminator? Type68 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatAudio? Type69 { get; set; } + public global::OpenRouter.AlignmentCallRecordDiscriminatorOutcome? Type69 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatImage? Type70 { get; set; } + public global::OpenRouter.AlignmentChatAudio? Type70 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatImageImageUrl? Type71 { get; set; } + public global::OpenRouter.AlignmentChatImage? Type71 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatImageType? Type72 { get; set; } + public global::OpenRouter.AlignmentChatImageImageUrl? Type72 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatRejected? Type73 { get; set; } + public global::OpenRouter.AlignmentChatImageType? Type73 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type74 { get; set; } + public global::OpenRouter.AlignmentChatRejected? Type74 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatRejectedRole? Type75 { get; set; } + public global::System.Collections.Generic.IList? Type75 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type76 { get; set; } + public global::OpenRouter.AlignmentChatRejectedRole? Type76 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatToolCall? Type77 { get; set; } + public global::System.Collections.Generic.IList? Type77 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatToolCallFunction? Type78 { get; set; } + public global::OpenRouter.AlignmentChatToolCall? Type78 { get; set; } /// /// /// - public global::OpenRouter.AlignmentChatToolCallType? Type79 { get; set; } + public global::OpenRouter.AlignmentChatToolCallFunction? Type79 { get; set; } /// /// /// - public global::OpenRouter.AlignmentPlugin? Type80 { get; set; } + public global::OpenRouter.AlignmentChatToolCallType? Type80 { get; set; } /// /// /// - public global::OpenRouter.AlignmentPluginId? Type81 { get; set; } + public global::OpenRouter.AlignmentPlugin? Type81 { get; set; } /// /// /// - public global::OpenRouter.AlignmentPluginMode? Type82 { get; set; } + public global::OpenRouter.AlignmentPluginId? Type82 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type83 { get; set; } + public global::OpenRouter.AlignmentPluginMode? Type83 { get; set; } /// /// /// - public global::OpenRouter.AlignmentRejected? Type84 { get; set; } + public global::System.Collections.Generic.IList? Type84 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type85 { get; set; } + public global::OpenRouter.AlignmentRejected? Type85 { get; set; } /// /// /// - public global::OpenRouter.AlignmentResponsesRejectedItem? Type86 { get; set; } + public global::System.Collections.Generic.IList? Type86 { get; set; } /// /// /// - public global::OpenRouter.OutputMessage? Type87 { get; set; } + public global::OpenRouter.AlignmentResponsesRejectedItem? Type87 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoning? Type88 { get; set; } + public global::OpenRouter.OutputMessage? Type88 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCall? Type89 { get; set; } + public global::OpenRouter.OutputItemReasoning? Type89 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCall? Type90 { get; set; } + public global::OpenRouter.OutputItemFunctionCall? Type90 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCall? Type91 { get; set; } + public global::OpenRouter.OutputItemCustomToolCall? Type91 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCall? Type92 { get; set; } + public global::OpenRouter.OutputItemWebSearchCall? Type92 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCall? Type93 { get; set; } + public global::OpenRouter.OutputItemFileSearchCall? Type93 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCall? Type94 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCall? Type94 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCall? Type95 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCall? Type95 { get; set; } /// /// /// - public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminator? Type96 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCall? Type96 { get; set; } /// /// /// - public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminatorType? Type97 { get; set; } + public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminator? Type97 { get; set; } /// /// /// - public global::OpenRouter.AlignmentUnavailableCallRecordOutcome? Type98 { get; set; } + public global::OpenRouter.AlignmentResponsesRejectedItemDiscriminatorType? Type98 { get; set; } /// /// /// - public global::OpenRouter.AlignmentUnavailableCallRecordReason? Type99 { get; set; } + public global::OpenRouter.AlignmentUnavailableCallRecordOutcome? Type99 { get; set; } /// /// /// - public global::OpenRouter.AnnotationAddedEvent? Type100 { get; set; } + public global::OpenRouter.AlignmentUnavailableCallRecordReason? Type100 { get; set; } /// /// /// - public global::OpenRouter.BaseAnnotationAddedEvent? Type101 { get; set; } + public global::OpenRouter.AnnotationAddedEvent? Type101 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type102 { get; set; } + public global::OpenRouter.BaseAnnotationAddedEvent? Type102 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBaseUsageIteration? Type103 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIteration? Type103 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2? Type104 { get; set; } + public global::OpenRouter.AnthropicBaseUsageIteration? Type104 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2Type? Type105 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2? Type105 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorToolResult? Type106 { get; set; } + public global::OpenRouter.AnthropicAdvisorMessageUsageIterationVariant2Type? Type106 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAdvisorToolResultType? Type107 { get; set; } + public global::OpenRouter.AnthropicAdvisorToolResult? Type107 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type108 { get; set; } + public global::OpenRouter.AnthropicAdvisorToolResultType? Type108 { get; set; } /// /// /// - public global::OpenRouter.AnthropicAllowedCaller? Type109 { get; set; } + public global::System.Collections.Generic.IList? Type109 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSource? Type110 { get; set; } + public global::OpenRouter.AnthropicAllowedCaller? Type110 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageMimeType? Type111 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSource? Type111 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64ImageSourceType? Type112 { get; set; } + public global::OpenRouter.AnthropicImageMimeType? Type112 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSource? Type113 { get; set; } + public global::OpenRouter.AnthropicBase64ImageSourceType? Type113 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type114 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSource? Type114 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBase64PdfSourceType? Type115 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceMediaType? Type115 { get; set; } /// /// /// - public global::OpenRouter.AnthropicIterationCacheCreation? Type116 { get; set; } + public global::OpenRouter.AnthropicBase64PdfSourceType? Type116 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContent? Type117 { get; set; } + public global::OpenRouter.AnthropicIterationCacheCreation? Type117 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type118 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContent? Type118 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResult? Type119 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultError? Type119 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type120 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResult? Type120 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type121 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminator? Type121 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type122 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionContentDiscriminatorType? Type122 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type123 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutput? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type124 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionOutputType? Type124 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type125 { get; set; } + public global::System.Collections.Generic.IList? Type125 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type126 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionResultType? Type126 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type127 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResult? Type127 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type128 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultType? Type128 { get; set; } /// /// /// - public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type129 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorErrorCode? Type129 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirective? Type130 { get; set; } + public global::OpenRouter.AnthropicBashCodeExecutionToolResultErrorType? Type130 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlTtl? Type131 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirective? Type131 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheControlDirectiveType? Type132 { get; set; } + public global::OpenRouter.AnthropicCacheControlTtl? Type132 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCacheCreation? Type133 { get; set; } + public global::OpenRouter.AnthropicCacheControlDirectiveType? Type133 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCaller? Type134 { get; set; } + public global::OpenRouter.AnthropicCacheCreation? Type134 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCaller? Type135 { get; set; } + public global::OpenRouter.AnthropicCaller? Type135 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type136 { get; set; } + public global::OpenRouter.AnthropicDirectCaller? Type136 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type137 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825Caller? Type137 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminator? Type138 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120Caller? Type138 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCallerDiscriminatorType? Type139 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminator? Type139 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocation? Type140 { get; set; } + public global::OpenRouter.AnthropicCallerDiscriminatorType? Type140 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationType? Type141 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocation? Type141 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParam? Type142 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationType? Type142 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationCharLocationParamType? Type143 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParam? Type143 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocation? Type144 { get; set; } + public global::OpenRouter.AnthropicCitationCharLocationParamType? Type144 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type145 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocation? Type145 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type146 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationType? Type146 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type147 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParam? Type147 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocation? Type148 { get; set; } + public global::OpenRouter.AnthropicCitationContentBlockLocationParamType? Type148 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationType? Type149 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocation? Type149 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParam? Type150 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationType? Type150 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationPageLocationParamType? Type151 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParam? Type151 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationsConfig? Type152 { get; set; } + public global::OpenRouter.AnthropicCitationPageLocationParamType? Type152 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocation? Type153 { get; set; } + public global::OpenRouter.AnthropicCitationsConfig? Type153 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type154 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocation? Type154 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationParam? Type155 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationType? Type155 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationSearchResultLocationParamType? Type156 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationParam? Type156 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type157 { get; set; } + public global::OpenRouter.AnthropicCitationSearchResultLocationParamType? Type157 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type158 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocation? Type158 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationParam? Type159 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationType? Type159 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCitationWebSearchResultLocationParamType? Type160 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationParam? Type160 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type161 { get; set; } + public global::OpenRouter.AnthropicCitationWebSearchResultLocationParamType? Type161 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type162 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20250825CallerType? Type162 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContent? Type163 { get; set; } + public global::OpenRouter.AnthropicCodeExecution20260120CallerType? Type163 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type164 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContent? Type164 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResult? Type165 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultError? Type165 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type166 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResult? Type166 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type167 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResult? Type167 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type168 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminator? Type168 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutput? Type169 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionContentDiscriminatorType? Type169 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionOutputType? Type170 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutput? Type170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type171 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionOutputType? Type171 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionResultType? Type172 { get; set; } + public global::System.Collections.Generic.IList? Type172 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResult? Type173 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionResultType? Type173 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type174 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResult? Type174 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolErrorCode? Type175 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultType? Type175 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type176 { get; set; } + public global::OpenRouter.AnthropicServerToolErrorCode? Type176 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlock? Type177 { get; set; } + public global::OpenRouter.AnthropicCodeExecutionToolResultErrorType? Type177 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionBlockType? Type178 { get; set; } + public global::OpenRouter.AnthropicCompactionBlock? Type178 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIteration? Type179 { get; set; } + public global::OpenRouter.AnthropicCompactionBlockType? Type179 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationVariant2? Type180 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIteration? Type180 { get; set; } /// /// /// - public global::OpenRouter.AnthropicCompactionUsageIterationVariant2Type? Type181 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationVariant2? Type181 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainer? Type182 { get; set; } + public global::OpenRouter.AnthropicCompactionUsageIterationVariant2Type? Type182 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type183 { get; set; } + public global::OpenRouter.AnthropicContainer? Type183 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerSkill? Type184 { get; set; } + public global::System.Collections.Generic.IList? Type184 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerSkillType? Type185 { get; set; } + public global::OpenRouter.AnthropicContainerSkill? Type185 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUpload? Type186 { get; set; } + public global::OpenRouter.AnthropicContainerSkillType? Type186 { get; set; } /// /// /// - public global::OpenRouter.AnthropicContainerUploadType? Type187 { get; set; } + public global::OpenRouter.AnthropicContainerUpload? Type187 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDirectCallerType? Type188 { get; set; } + public global::OpenRouter.AnthropicContainerUploadType? Type188 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlock? Type189 { get; set; } + public global::OpenRouter.AnthropicDirectCallerType? Type189 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type190 { get; set; } + public global::OpenRouter.AnthropicDocumentBlock? Type190 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSource? Type191 { get; set; } + public global::OpenRouter.AnyOf? Type191 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockType? Type192 { get; set; } + public global::OpenRouter.AnthropicPlainTextSource? Type192 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParam? Type193 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockType? Type193 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type194 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParam? Type194 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSource? Type195 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamCitations? Type195 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type196 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSource? Type196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type197 { get; set; } + public global::OpenRouter.AnyOf>? Type197 { get; set; } /// /// /// - public global::OpenRouter.ContentVariant2Item? Type198 { get; set; } + public global::System.Collections.Generic.IList? Type198 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParam? Type199 { get; set; } + public global::OpenRouter.ContentVariant2Item? Type199 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParam? Type200 { get; set; } + public global::OpenRouter.AnthropicTextBlockParam? Type200 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminator? Type201 { get; set; } + public global::OpenRouter.AnthropicImageBlockParam? Type201 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminatorType? Type202 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminator? Type202 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamSourceType? Type203 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceContentVariant2ItemDiscriminatorType? Type203 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSource? Type204 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamSourceType? Type204 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDocumentSource? Type205 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSource? Type205 { get; set; } /// /// /// - public global::OpenRouter.AnthropicDocumentBlockParamType? Type206 { get; set; } + public global::OpenRouter.AnthropicFileDocumentSource? Type206 { get; set; } /// /// /// - public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type207 { get; set; } + public global::OpenRouter.AnthropicDocumentBlockParamType? Type207 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFile? Type208 { get; set; } + public global::OpenRouter.AnthropicEncryptedCodeExecutionResultType? Type208 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileShape? Type209 { get; set; } + public global::OpenRouter.AnthropicFile? Type209 { get; set; } /// /// /// - public long? Type210 { get; set; } + public global::OpenRouter.AnthropicFileShape? Type210 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileType? Type211 { get; set; } + public long? Type211 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDeleted? Type212 { get; set; } + public global::OpenRouter.AnthropicFileType? Type212 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDeletedShape? Type213 { get; set; } + public global::OpenRouter.AnthropicFileDeleted? Type213 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDeletedType? Type214 { get; set; } + public global::OpenRouter.AnthropicFileDeletedShape? Type214 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileDocumentSourceType? Type215 { get; set; } + public global::OpenRouter.AnthropicFileDeletedType? Type215 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileList? Type216 { get; set; } + public global::OpenRouter.AnthropicFileDocumentSourceType? Type216 { get; set; } /// /// /// - public global::OpenRouter.AnthropicFileListShape? Type217 { get; set; } + public global::OpenRouter.AnthropicFileList? Type217 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type218 { get; set; } + public global::OpenRouter.AnthropicFileListShape? Type218 { get; set; } /// /// /// - public global::OpenRouter.Source3? Type219 { get; set; } + public global::System.Collections.Generic.IList? Type219 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSource? Type220 { get; set; } + public global::OpenRouter.Source3? Type220 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type221 { get; set; } + public global::OpenRouter.AnthropicUrlImageSource? Type221 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type222 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminator? Type222 { get; set; } /// /// /// - public global::OpenRouter.AnthropicImageBlockParamType? Type223 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamSourceDiscriminatorType? Type223 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type224 { get; set; } + public global::OpenRouter.AnthropicImageBlockParamType? Type224 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type225 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeast? Type225 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTrigger? Type226 { get; set; } + public global::OpenRouter.AnthropicInputTokensClearAtLeastType? Type226 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTokensTriggerType? Type227 { get; set; } + public global::OpenRouter.AnthropicInputTokensTrigger? Type227 { get; set; } /// /// /// - public global::OpenRouter.AnthropicInputTransformation? Type228 { get; set; } + public global::OpenRouter.AnthropicInputTokensTriggerType? Type228 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageOutputConfig? Type229 { get; set; } + public global::OpenRouter.AnthropicInputTransformation? Type229 { get; set; } /// /// /// - public global::OpenRouter.AnthropicOutputEffort? Type230 { get; set; } + public global::OpenRouter.AnthropicMessageOutputConfig? Type230 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponse? Type231 { get; set; } + public global::OpenRouter.AnthropicOutputEffort? Type231 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponseError? Type232 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponse? Type232 { get; set; } /// /// /// - public global::OpenRouter.ApiErrorType? Type233 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponseError? Type233 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponseErrorType? Type234 { get; set; } + public global::OpenRouter.ApiErrorType? Type234 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessagesErrorResponseType? Type235 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponseErrorType? Type235 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIteration? Type236 { get; set; } + public global::OpenRouter.AnthropicMessagesErrorResponseType? Type236 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationVariant2? Type237 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIteration? Type237 { get; set; } /// /// /// - public global::OpenRouter.AnthropicMessageUsageIterationVariant2Type? Type238 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationVariant2? Type238 { get; set; } /// /// /// - public global::OpenRouter.AnthropicOutputTokensDetails? Type239 { get; set; } + public global::OpenRouter.AnthropicMessageUsageIterationVariant2Type? Type239 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type240 { get; set; } + public global::OpenRouter.AnthropicOutputTokensDetails? Type240 { get; set; } /// /// /// - public global::OpenRouter.AnthropicPlainTextSourceType? Type241 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceMediaType? Type241 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlock? Type242 { get; set; } + public global::OpenRouter.AnthropicPlainTextSourceType? Type242 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type243 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlock? Type243 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetails? Type244 { get; set; } + public global::OpenRouter.AnthropicRedactedThinkingBlockType? Type244 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type245 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetails? Type245 { get; set; } /// /// /// - public global::OpenRouter.AnthropicRefusalStopDetailsType? Type246 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsCategory? Type246 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSafeguard? Type247 { get; set; } + public global::OpenRouter.AnthropicRefusalStopDetailsType? Type247 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSafeguardResult? Type248 { get; set; } + public global::OpenRouter.AnthropicSafeguard? Type248 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSafeguardResultStatus? Type249 { get; set; } + public global::OpenRouter.AnthropicSafeguardResult? Type249 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParam? Type250 { get; set; } + public global::OpenRouter.AnthropicSafeguardResultStatus? Type250 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type251 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParam? Type251 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type252 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamCitations? Type252 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSearchResultBlockParamType? Type253 { get; set; } + public global::System.Collections.Generic.IList? Type253 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServerToolUsage? Type254 { get; set; } + public global::OpenRouter.AnthropicSearchResultBlockParamType? Type254 { get; set; } /// /// /// - public global::OpenRouter.AnthropicServiceTier? Type255 { get; set; } + public global::OpenRouter.AnthropicServerToolUsage? Type255 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSpeed? Type256 { get; set; } + public global::OpenRouter.AnthropicServiceTier? Type256 { get; set; } /// /// /// - public global::OpenRouter.AnthropicSystemClearAt? Type257 { get; set; } + public global::OpenRouter.AnthropicSpeed? Type257 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlock? Type258 { get; set; } + public global::OpenRouter.AnthropicSystemClearAt? Type258 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type259 { get; set; } + public global::OpenRouter.AnthropicTextBlock? Type259 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitation? Type260 { get; set; } + public global::System.Collections.Generic.IList? Type260 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockType? Type261 { get; set; } + public global::OpenRouter.AnthropicTextCitation? Type261 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type262 { get; set; } + public global::OpenRouter.AnthropicTextBlockType? Type262 { get; set; } /// /// /// - public global::OpenRouter.CitationsItem? Type263 { get; set; } + public global::System.Collections.Generic.IList? Type263 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminator? Type264 { get; set; } + public global::OpenRouter.CitationsItem? Type264 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminatorType? Type265 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminator? Type265 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextBlockParamType? Type266 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamCitationDiscriminatorType? Type266 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminator? Type267 { get; set; } + public global::OpenRouter.AnthropicTextBlockParamType? Type267 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type268 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminator? Type268 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type269 { get; set; } + public global::OpenRouter.AnthropicTextCitationDiscriminatorType? Type269 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type270 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContent? Type270 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type271 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultError? Type271 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type272 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResult? Type272 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type273 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResult? Type273 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type274 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResult? Type274 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type275 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminator? Type275 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type276 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionContentDiscriminatorType? Type276 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type277 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionCreateResultType? Type277 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type278 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionStrReplaceResultType? Type278 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type279 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResult? Type279 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type280 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultType? Type280 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type281 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorErrorCode? Type281 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type282 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionToolResultErrorType? Type282 { get; set; } /// /// /// - public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type283 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultFileType? Type283 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlock? Type284 { get; set; } + public global::OpenRouter.AnthropicTextEditorCodeExecutionViewResultType? Type284 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockType? Type285 { get; set; } + public global::OpenRouter.AnthropicThinkingBlock? Type285 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockBinding? Type286 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockType? Type286 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockBindingMismatchBehavior? Type287 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockBinding? Type287 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingBlockBindingPrefixMismatchBehavior? Type288 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockBindingMismatchBehavior? Type288 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingDisplay? Type289 { get; set; } + public global::OpenRouter.AnthropicThinkingBlockBindingPrefixMismatchBehavior? Type289 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurns? Type290 { get; set; } + public global::OpenRouter.AnthropicThinkingDisplay? Type290 { get; set; } /// /// /// - public global::OpenRouter.AnthropicThinkingTurnsType? Type291 { get; set; } + public global::OpenRouter.AnthropicThinkingTurns? Type291 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReference? Type292 { get; set; } + public global::OpenRouter.AnthropicThinkingTurnsType? Type292 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolReferenceType? Type293 { get; set; } + public global::OpenRouter.AnthropicToolReference? Type293 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContent? Type294 { get; set; } + public global::OpenRouter.AnthropicToolReferenceType? Type294 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultError? Type295 { get; set; } + public global::OpenRouter.AnthropicToolSearchContent? Type295 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResult? Type296 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultError? Type296 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type297 { get; set; } + public global::OpenRouter.AnthropicToolSearchResult? Type297 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type298 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminator? Type298 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type299 { get; set; } + public global::OpenRouter.AnthropicToolSearchContentDiscriminatorType? Type299 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultType? Type300 { get; set; } + public global::System.Collections.Generic.IList? Type300 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchResultErrorType? Type301 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultType? Type301 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolBm25? Type302 { get; set; } + public global::OpenRouter.AnthropicToolSearchResultErrorType? Type302 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolBm25Name? Type303 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolBm25? Type303 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolBm25Type? Type304 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolBm25Name? Type304 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolRegex? Type305 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolBm25Type? Type305 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolRegexName? Type306 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolRegex? Type306 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolRegexType? Type307 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolRegexName? Type307 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResult? Type308 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolRegexType? Type308 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolSearchToolResultType? Type309 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResult? Type309 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlock? Type310 { get; set; } + public global::OpenRouter.AnthropicToolSearchToolResultType? Type310 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUseBlockType? Type311 { get; set; } + public global::OpenRouter.AnthropicToolUseBlock? Type311 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeep? Type312 { get; set; } + public global::OpenRouter.AnthropicToolUseBlockType? Type312 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesKeepType? Type313 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeep? Type313 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTrigger? Type314 { get; set; } + public global::OpenRouter.AnthropicToolUsesKeepType? Type314 { get; set; } /// /// /// - public global::OpenRouter.AnthropicToolUsesTriggerType? Type315 { get; set; } + public global::OpenRouter.AnthropicToolUsesTrigger? Type315 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIteration? Type316 { get; set; } + public global::OpenRouter.AnthropicToolUsesTriggerType? Type316 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUnknownUsageIterationVariant2? Type317 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIteration? Type317 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlImageSourceType? Type318 { get; set; } + public global::OpenRouter.AnthropicUnknownUsageIterationVariant2? Type318 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUrlPdfSourceType? Type319 { get; set; } + public global::OpenRouter.AnthropicUrlImageSourceType? Type319 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsage? Type320 { get; set; } + public global::OpenRouter.AnthropicUrlPdfSourceType? Type320 { get; set; } /// /// /// - public global::OpenRouter.AnthropicUsageIteration? Type321 { get; set; } + public global::OpenRouter.AnthropicUsage? Type321 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlock? Type322 { get; set; } + public global::OpenRouter.AnthropicUsageIteration? Type322 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchBlockType? Type323 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlock? Type323 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContent? Type324 { get; set; } + public global::OpenRouter.AnthropicWebFetchBlockType? Type324 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultError? Type325 { get; set; } + public global::OpenRouter.AnthropicWebFetchContent? Type325 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type326 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultError? Type326 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type327 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminator? Type327 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResult? Type328 { get; set; } + public global::OpenRouter.AnthropicWebFetchContentDiscriminatorType? Type328 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultType? Type329 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResult? Type329 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type330 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultType? Type330 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type331 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorErrorCode? Type331 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResult? Type332 { get; set; } + public global::OpenRouter.AnthropicWebFetchToolResultErrorType? Type332 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultType? Type333 { get; set; } + public global::OpenRouter.AnthropicWebSearchResult? Type333 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type334 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultType? Type334 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type335 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParam? Type335 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResult? Type336 { get; set; } + public global::OpenRouter.AnthropicWebSearchResultBlockParamType? Type336 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>? Type337 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResult? Type337 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type338 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.AnthropicWebSearchToolResultError>? Type338 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultError? Type339 { get; set; } + public global::System.Collections.Generic.IList? Type339 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultType? Type340 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultError? Type340 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type341 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultType? Type341 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type342 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorErrorCode? Type342 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type343 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolResultErrorType? Type343 { get; set; } /// /// /// - public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type344 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocation? Type344 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallItem? Type345 { get; set; } + public global::OpenRouter.AnthropicWebSearchToolUserLocationType? Type345 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperation? Type346 { get; set; } + public global::OpenRouter.ApplyPatchCallItem? Type346 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallStatus? Type347 { get; set; } + public global::OpenRouter.ApplyPatchCallOperation? Type347 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallItemType? Type348 { get; set; } + public global::OpenRouter.ApplyPatchCallStatus? Type348 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCreateFileOperation? Type349 { get; set; } + public global::OpenRouter.ApplyPatchCallItemType? Type349 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchUpdateFileOperation? Type350 { get; set; } + public global::OpenRouter.ApplyPatchCreateFileOperation? Type350 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchDeleteFileOperation? Type351 { get; set; } + public global::OpenRouter.ApplyPatchUpdateFileOperation? Type351 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiscriminator? Type352 { get; set; } + public global::OpenRouter.ApplyPatchDeleteFileOperation? Type352 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiscriminatorType? Type353 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiscriminator? Type353 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEvent? Type354 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiscriminatorType? Type354 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEventType? Type355 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEvent? Type355 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDoneEvent? Type356 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDeltaEventType? Type356 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOperationDiffDoneEventType? Type357 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDoneEvent? Type357 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOutputItem? Type358 { get; set; } + public global::OpenRouter.ApplyPatchCallOperationDiffDoneEventType? Type358 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOutputItemStatus? Type359 { get; set; } + public global::OpenRouter.ApplyPatchCallOutputItem? Type359 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCallOutputItemType? Type360 { get; set; } + public global::OpenRouter.ApplyPatchCallOutputItemStatus? Type360 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchCreateFileOperationType? Type361 { get; set; } + public global::OpenRouter.ApplyPatchCallOutputItemType? Type361 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchDeleteFileOperationType? Type362 { get; set; } + public global::OpenRouter.ApplyPatchCreateFileOperationType? Type362 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchEngineEnum? Type363 { get; set; } + public global::OpenRouter.ApplyPatchDeleteFileOperationType? Type363 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolType? Type364 { get; set; } + public global::OpenRouter.ApplyPatchEngineEnum? Type364 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolConfig? Type365 { get; set; } + public global::OpenRouter.ApplyPatchServerToolType? Type365 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchServerToolOpenRouterType? Type366 { get; set; } + public global::OpenRouter.ApplyPatchServerToolConfig? Type366 { get; set; } /// /// /// - public global::OpenRouter.ApplyPatchUpdateFileOperationType? Type367 { get; set; } + public global::OpenRouter.ApplyPatchServerToolOpenRouterType? Type367 { get; set; } /// /// /// - public global::OpenRouter.AppRankingsItem? Type368 { get; set; } + public global::OpenRouter.ApplyPatchUpdateFileOperationType? Type368 { get; set; } /// /// /// - public global::OpenRouter.AppRankingsResponse? Type369 { get; set; } + public global::OpenRouter.AppRankingsItem? Type369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type370 { get; set; } + public global::OpenRouter.AppRankingsResponse? Type370 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMeta? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::OpenRouter.AutoBetaRouterPlugin? Type372 { get; set; } + public global::OpenRouter.RankingsDailyMeta? Type372 { get; set; } /// /// /// - public global::OpenRouter.AutoBetaRouterPluginCostTier? Type373 { get; set; } + public global::OpenRouter.AutoBetaRouterPlugin? Type373 { get; set; } /// /// /// - public global::OpenRouter.AutoBetaRouterPluginId? Type374 { get; set; } + public global::OpenRouter.AutoBetaRouterPluginCostTier? Type374 { get; set; } /// /// /// - public global::OpenRouter.AutoRouterPlugin? Type375 { get; set; } + public global::OpenRouter.AutoBetaRouterPluginId? Type375 { get; set; } /// /// /// - public global::OpenRouter.AutoRouterPluginCostTier? Type376 { get; set; } + public global::OpenRouter.AutoRouterPlugin? Type376 { get; set; } /// /// /// - public global::OpenRouter.AutoRouterPluginId? Type377 { get; set; } + public global::OpenRouter.AutoRouterPluginCostTier? Type377 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponse? Type378 { get; set; } + public global::OpenRouter.AutoRouterPluginId? Type378 { get; set; } /// /// /// - public global::OpenRouter.BadGatewayResponseErrorData? Type379 { get; set; } + public global::OpenRouter.BadGatewayResponse? Type379 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponse? Type380 { get; set; } + public global::OpenRouter.BadGatewayResponseErrorData? Type380 { get; set; } /// /// /// - public global::OpenRouter.BadRequestResponseErrorData? Type381 { get; set; } + public global::OpenRouter.BadRequestResponse? Type381 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesAnnotation? Type382 { get; set; } + public global::OpenRouter.BadRequestResponseErrorData? Type382 { get; set; } /// /// /// - public global::OpenRouter.BaseAnnotationAddedEventType? Type383 { get; set; } + public global::OpenRouter.OpenAIResponsesAnnotation? Type383 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartAddedEvent? Type384 { get; set; } + public global::OpenRouter.BaseAnnotationAddedEventType? Type384 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type385 { get; set; } + public global::OpenRouter.BaseContentPartAddedEvent? Type385 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputText? Type386 { get; set; } + public global::OpenRouter.AnyOf? Type386 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesRefusalContent? Type387 { get; set; } + public global::OpenRouter.ResponseOutputText? Type387 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartAddedEventType? Type388 { get; set; } + public global::OpenRouter.OpenAIResponsesRefusalContent? Type388 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartDoneEvent? Type389 { get; set; } + public global::OpenRouter.BaseContentPartAddedEventType? Type389 { get; set; } /// /// /// - public global::OpenRouter.BaseContentPartDoneEventType? Type390 { get; set; } + public global::OpenRouter.BaseContentPartDoneEvent? Type390 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDeltaEvent? Type391 { get; set; } + public global::OpenRouter.BaseContentPartDoneEventType? Type391 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDeltaEventType? Type392 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDeltaEvent? Type392 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDoneEvent? Type393 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDeltaEventType? Type393 { get; set; } /// /// /// - public global::OpenRouter.BaseCustomToolCallInputDoneEventType? Type394 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDoneEvent? Type394 { get; set; } /// /// /// - public global::OpenRouter.BaseErrorEvent? Type395 { get; set; } + public global::OpenRouter.BaseCustomToolCallInputDoneEventType? Type395 { get; set; } /// /// /// - public global::OpenRouter.BaseErrorEventType? Type396 { get; set; } + public global::OpenRouter.BaseErrorEvent? Type396 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDeltaEvent? Type397 { get; set; } + public global::OpenRouter.BaseErrorEventType? Type397 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDeltaEventType? Type398 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDeltaEvent? Type398 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDoneEvent? Type399 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDeltaEventType? Type399 { get; set; } /// /// /// - public global::OpenRouter.BaseFunctionCallArgsDoneEventType? Type400 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDoneEvent? Type400 { get; set; } /// /// /// - public global::OpenRouter.BaseInputs? Type401 { get; set; } + public global::OpenRouter.BaseFunctionCallArgsDoneEventType? Type401 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2Item2? Type402 { get; set; } + public global::OpenRouter.BaseInputs? Type402 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, string>? Type403 { get; set; } + public global::OpenRouter.BaseInputsVariant2Item2? Type403 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type404 { get; set; } + public global::OpenRouter.AnyOf, string>? Type404 { get; set; } /// /// /// - public global::OpenRouter.ContentVariant1Item? Type405 { get; set; } + public global::System.Collections.Generic.IList? Type405 { get; set; } /// /// /// - public global::OpenRouter.InputFile? Type406 { get; set; } + public global::OpenRouter.ContentVariant1Item? Type406 { get; set; } /// /// /// - public global::OpenRouter.InputAudio? Type407 { get; set; } + public global::OpenRouter.InputFile? Type407 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminator? Type408 { get; set; } + public global::OpenRouter.InputAudio? Type408 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminatorType? Type409 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminator? Type409 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type410 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemContentVariant1ItemDiscriminatorType? Type410 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant1? Type411 { get; set; } + public global::OpenRouter.AnyOf? Type411 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2? Type412 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant1? Type412 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant1? Type413 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemPhaseVariant2? Type413 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant2? Type414 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant1? Type414 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant3? Type415 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant2? Type415 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemRoleVariant4? Type416 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant3? Type416 { get; set; } /// /// /// - public global::OpenRouter.BaseInputsVariant2ItemType? Type417 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemRoleVariant4? Type417 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItem? Type418 { get; set; } + public global::OpenRouter.BaseInputsVariant2ItemType? Type418 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type419 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItem? Type419 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCall? Type420 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutput? Type420 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCall? Type421 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCall? Type421 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutput? Type422 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCall? Type422 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateItem? Type423 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutput? Type423 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResult? Type424 { get; set; } + public global::OpenRouter.ConfigurationUpdateItem? Type424 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type425 { get; set; } + public global::OpenRouter.BaseMessagesResult? Type425 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlock? Type426 { get; set; } + public global::System.Collections.Generic.IList? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type427 { get; set; } + public global::OpenRouter.ORAnthropicContentBlock? Type427 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultRole? Type428 { get; set; } + public global::System.Collections.Generic.IList? Type428 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicStopReason? Type429 { get; set; } + public global::OpenRouter.BaseMessagesResultRole? Type429 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultType? Type430 { get; set; } + public global::OpenRouter.ORAnthropicStopReason? Type430 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type431 { get; set; } + public global::OpenRouter.BaseMessagesResultType? Type431 { get; set; } /// /// /// - public global::OpenRouter.BaseMessagesResultUsage? Type432 { get; set; } + public global::OpenRouter.AllOf? Type432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type433 { get; set; } + public global::OpenRouter.BaseMessagesResultUsage? Type433 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningConfig? Type434 { get; set; } + public global::System.Collections.Generic.IList? Type434 { get; set; } /// /// /// - public global::OpenRouter.ReasoningContext? Type435 { get; set; } + public global::OpenRouter.BaseReasoningConfig? Type435 { get; set; } /// /// /// - public global::OpenRouter.ReasoningEffort? Type436 { get; set; } + public global::OpenRouter.ReasoningContext? Type436 { get; set; } /// /// /// - public global::OpenRouter.ReasoningMode? Type437 { get; set; } + public global::OpenRouter.ReasoningEffort? Type437 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryVerbosity? Type438 { get; set; } + public global::OpenRouter.ReasoningMode? Type438 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDeltaEvent? Type439 { get; set; } + public global::OpenRouter.ReasoningSummaryVerbosity? Type439 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDeltaEventType? Type440 { get; set; } + public global::OpenRouter.BaseReasoningDeltaEvent? Type440 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDoneEvent? Type441 { get; set; } + public global::OpenRouter.BaseReasoningDeltaEventType? Type441 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningDoneEventType? Type442 { get; set; } + public global::OpenRouter.BaseReasoningDoneEvent? Type442 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartAddedEvent? Type443 { get; set; } + public global::OpenRouter.BaseReasoningDoneEventType? Type443 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryText? Type444 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartAddedEvent? Type444 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartAddedEventType? Type445 { get; set; } + public global::OpenRouter.ReasoningSummaryText? Type445 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartDoneEvent? Type446 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartAddedEventType? Type446 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryPartDoneEventType? Type447 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartDoneEvent? Type447 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDeltaEvent? Type448 { get; set; } + public global::OpenRouter.BaseReasoningSummaryPartDoneEventType? Type448 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDeltaEventType? Type449 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDeltaEvent? Type449 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDoneEvent? Type450 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDeltaEventType? Type450 { get; set; } /// /// /// - public global::OpenRouter.BaseReasoningSummaryTextDoneEventType? Type451 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDoneEvent? Type451 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDeltaEvent? Type452 { get; set; } + public global::OpenRouter.BaseReasoningSummaryTextDoneEventType? Type452 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDeltaEventType? Type453 { get; set; } + public global::OpenRouter.BaseRefusalDeltaEvent? Type453 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDoneEvent? Type454 { get; set; } + public global::OpenRouter.BaseRefusalDeltaEventType? Type454 { get; set; } /// /// /// - public global::OpenRouter.BaseRefusalDoneEventType? Type455 { get; set; } + public global::OpenRouter.BaseRefusalDoneEvent? Type455 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResult? Type456 { get; set; } + public global::OpenRouter.BaseRefusalDoneEventType? Type456 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorField? Type457 { get; set; } + public global::OpenRouter.BaseResponsesResult? Type457 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetails? Type458 { get; set; } + public global::OpenRouter.ResponsesErrorField? Type458 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type459 { get; set; } + public global::OpenRouter.IncompleteDetails? Type459 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultObject? Type460 { get; set; } + public global::System.Collections.Generic.Dictionary? Type460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type461 { get; set; } + public global::OpenRouter.BaseResponsesResultObject? Type461 { get; set; } /// /// /// - public global::OpenRouter.OutputItem? Type462 { get; set; } + public global::System.Collections.Generic.IList? Type462 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultOutputItemDiscriminator? Type463 { get; set; } + public global::OpenRouter.OutputItem? Type463 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultOutputItemDiscriminatorType? Type464 { get; set; } + public global::OpenRouter.BaseResponsesResultOutputItemDiscriminator? Type464 { get; set; } /// /// /// - public global::OpenRouter.StoredPromptTemplate? Type465 { get; set; } + public global::OpenRouter.BaseResponsesResultOutputItemDiscriminatorType? Type465 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheOptions? Type466 { get; set; } + public global::OpenRouter.StoredPromptTemplate? Type466 { get; set; } /// /// /// - public global::OpenRouter.ServiceTier? Type467 { get; set; } + public global::OpenRouter.PromptCacheOptions? Type467 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesResponseStatus? Type468 { get; set; } + public global::OpenRouter.ServiceTier? Type468 { get; set; } /// /// /// - public global::OpenRouter.TextConfig? Type469 { get; set; } + public global::OpenRouter.OpenAIResponsesResponseStatus? Type469 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoice? Type470 { get; set; } + public global::OpenRouter.TextConfig? Type470 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type471 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoice? Type471 { get; set; } /// /// /// - public global::OpenRouter.BaseResponsesResultToolVariant1? Type472 { get; set; } + public global::OpenRouter.AllOf? Type472 { get; set; } /// /// /// - public global::OpenRouter.Truncation? Type473 { get; set; } + public global::OpenRouter.BaseResponsesResultToolVariant1? Type473 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsage? Type474 { get; set; } + public global::OpenRouter.Truncation? Type474 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDeltaEvent? Type475 { get; set; } + public global::OpenRouter.OpenAIResponsesUsage? Type475 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type476 { get; set; } + public global::OpenRouter.BaseTextDeltaEvent? Type476 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesLogProbs? Type477 { get; set; } + public global::System.Collections.Generic.IList? Type477 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDeltaEventType? Type478 { get; set; } + public global::OpenRouter.OpenResponsesLogProbs? Type478 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDoneEvent? Type479 { get; set; } + public global::OpenRouter.BaseTextDeltaEventType? Type479 { get; set; } /// /// /// - public global::OpenRouter.BaseTextDoneEventType? Type480 { get; set; } + public global::OpenRouter.BaseTextDoneEvent? Type480 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolConfig? Type481 { get; set; } + public global::OpenRouter.BaseTextDoneEventType? Type481 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolType? Type482 { get; set; } + public global::OpenRouter.BashServerToolConfig? Type482 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEngine? Type483 { get; set; } + public global::OpenRouter.BashServerToolType? Type483 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEnvironment? Type484 { get; set; } + public global::OpenRouter.BashServerToolEngine? Type484 { get; set; } /// /// /// - public global::OpenRouter.ContainerAutoEnvironment? Type485 { get; set; } + public global::OpenRouter.BashServerToolEnvironment? Type485 { get; set; } /// /// /// - public global::OpenRouter.ContainerReferenceEnvironment? Type486 { get; set; } + public global::OpenRouter.ContainerAutoEnvironment? Type486 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEnvironmentDiscriminator? Type487 { get; set; } + public global::OpenRouter.ContainerReferenceEnvironment? Type487 { get; set; } /// /// /// - public global::OpenRouter.BashServerToolEnvironmentDiscriminatorType? Type488 { get; set; } + public global::OpenRouter.BashServerToolEnvironmentDiscriminator? Type488 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletedObject? Type489 { get; set; } + public global::OpenRouter.BashServerToolEnvironmentDiscriminatorType? Type489 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionTargets? Type490 { get; set; } + public global::OpenRouter.BatchDeletedObject? Type490 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletedObjectObject? Type491 { get; set; } + public global::OpenRouter.BatchDeletionTargets? Type491 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionOutcome? Type492 { get; set; } + public global::OpenRouter.BatchDeletedObjectObject? Type492 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionTargetsOpenrouter? Type493 { get; set; } + public global::OpenRouter.BatchDeletionOutcome? Type493 { get; set; } /// /// /// - public global::OpenRouter.BatchDeletionTargetsUpstream? Type494 { get; set; } + public global::OpenRouter.BatchDeletionTargetsOpenrouter? Type494 { get; set; } /// /// /// - public global::OpenRouter.BatchErrorResponse? Type495 { get; set; } + public global::OpenRouter.BatchDeletionTargetsUpstream? Type495 { get; set; } /// /// /// - public global::OpenRouter.BatchErrorResponseError? Type496 { get; set; } + public global::OpenRouter.BatchErrorResponse? Type496 { get; set; } /// /// /// - public global::OpenRouter.BatchListItem? Type497 { get; set; } + public global::OpenRouter.BatchErrorResponseError? Type497 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemCompletionWindow? Type498 { get; set; } + public global::OpenRouter.BatchListItem? Type498 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemError? Type499 { get; set; } + public global::OpenRouter.BatchListItemCompletionWindow? Type499 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemObject? Type500 { get; set; } + public global::OpenRouter.BatchListItemError? Type500 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemRequestCounts? Type501 { get; set; } + public global::OpenRouter.BatchListItemObject? Type501 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemStatus? Type502 { get; set; } + public global::OpenRouter.BatchListItemRequestCounts? Type502 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsage? Type503 { get; set; } + public global::OpenRouter.BatchListItemStatus? Type503 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsageCompletionTokensDetails? Type504 { get; set; } + public global::OpenRouter.BatchListItemUsage? Type504 { get; set; } /// /// /// - public global::OpenRouter.CostDetails? Type505 { get; set; } + public global::OpenRouter.BatchListItemUsageCompletionTokensDetails? Type505 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsagePromptTokensDetails? Type506 { get; set; } + public global::OpenRouter.CostDetails? Type506 { get; set; } /// /// /// - public global::OpenRouter.BatchListItemUsageServerToolUse? Type507 { get; set; } + public global::OpenRouter.BatchListItemUsagePromptTokensDetails? Type507 { get; set; } /// /// /// - public global::OpenRouter.BatchListResponse? Type508 { get; set; } + public global::OpenRouter.BatchListItemUsageServerToolUse? Type508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type509 { get; set; } + public global::OpenRouter.BatchListResponse? Type509 { get; set; } /// /// /// - public global::OpenRouter.BatchListResponseObject? Type510 { get; set; } + public global::System.Collections.Generic.IList? Type510 { get; set; } /// /// /// - public global::OpenRouter.BatchListStatus? Type511 { get; set; } + public global::OpenRouter.BatchListResponseObject? Type511 { get; set; } /// /// /// - public global::OpenRouter.BatchListTimestamp? Type512 { get; set; } + public global::OpenRouter.BatchListStatus? Type512 { get; set; } /// /// /// - public global::System.DateTime? Type513 { get; set; } + public global::OpenRouter.BatchListTimestamp? Type513 { get; set; } /// /// /// - public global::OpenRouter.BatchObject? Type514 { get; set; } + public global::System.DateTime? Type514 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectCompletionWindow? Type515 { get; set; } + public global::OpenRouter.BatchObject? Type515 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectError? Type516 { get; set; } + public global::OpenRouter.BatchObjectCompletionWindow? Type516 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectObject? Type517 { get; set; } + public global::OpenRouter.BatchObjectError? Type517 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectRequestCounts? Type518 { get; set; } + public global::OpenRouter.BatchObjectObject? Type518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type519 { get; set; } + public global::OpenRouter.BatchObjectRequestCounts? Type519 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResult? Type520 { get; set; } + public global::System.Collections.Generic.IList? Type520 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultError? Type521 { get; set; } + public global::OpenRouter.BatchObjectResult? Type521 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponse? Type522 { get; set; } + public global::OpenRouter.BatchObjectResultError? Type522 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1? Type523 { get; set; } + public global::OpenRouter.BatchObjectResultResponse? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1? Type524 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Choice? Type525 { get; set; } + public global::System.Collections.Generic.IList? Type525 { get; set; } /// /// /// - public global::OpenRouter.FinishReason? Type526 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Choice? Type526 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobs? Type527 { get; set; } + public global::OpenRouter.FinishReason? Type527 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type528 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobs? Type528 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItem? Type529 { get; set; } + public global::System.Collections.Generic.IList? Type529 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type530 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItem? Type530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type531 { get; set; } + public global::System.Collections.Generic.IList? Type531 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItemTopLogprob? Type532 { get; set; } + public global::System.Collections.Generic.IList? Type532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type533 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsContentItemTopLogprob? Type533 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItem? Type534 { get; set; } + public global::System.Collections.Generic.IList? Type534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type535 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItem? Type535 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItemTopLogprob? Type536 { get; set; } + public global::System.Collections.Generic.IList? Type536 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessage? Type537 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceLogprobsRefusalItemTopLogprob? Type537 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1? Type538 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessage? Type538 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1File? Type539 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1? Type539 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1? Type540 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1File? Type540 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1Type? Type541 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1? Type541 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2? Type542 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant1Type? Type542 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2ImageUrl? Type543 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2? Type543 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2Type? Type544 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2ImageUrl? Type544 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1Type? Type545 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1FileContentItemVariant2Type? Type545 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2? Type546 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant1Type? Type546 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2Type? Type547 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2? Type547 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2UrlCitation? Type548 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2Type? Type548 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3? Type549 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant2UrlCitation? Type549 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3Type? Type550 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3? Type550 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3WebSearchCitation? Type551 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3Type? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type552 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageAnnotationVariant3WebSearchCitation? Type552 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImage? Type553 { get; set; } + public global::System.Collections.Generic.IList? Type553 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageImageUrl? Type554 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImage? Type554 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageType? Type555 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageImageUrl? Type555 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type556 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageImageType? Type556 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummary? Type557 { get; set; } + public global::OpenRouter.AnyOf? Type557 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncrypted? Type558 { get; set; } + public global::OpenRouter.ReasoningDetailSummary? Type558 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailText? Type559 { get; set; } + public global::OpenRouter.ReasoningDetailEncrypted? Type559 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailServerToolCall? Type560 { get; set; } + public global::OpenRouter.ReasoningDetailText? Type560 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageRole? Type561 { get; set; } + public global::OpenRouter.ReasoningDetailServerToolCall? Type561 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type562 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageRole? Type562 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCall? Type563 { get; set; } + public global::System.Collections.Generic.IList? Type563 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallFunction? Type564 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCall? Type564 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallType? Type565 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallFunction? Type565 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Debug? Type566 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1ChoiceMessageToolCallType? Type566 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimings? Type567 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Debug? Type567 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimingsEvent? Type568 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimings? Type568 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Object? Type569 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1DebugTimingsEvent? Type569 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterMetadata? Type570 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Object? Type570 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1Usage? Type571 { get; set; } + public global::OpenRouter.OpenRouterMetadata? Type571 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageCompletionTokensDetails? Type572 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1Usage? Type572 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsagePromptTokensDetails? Type573 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageCompletionTokensDetails? Type573 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUse? Type574 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsagePromptTokensDetails? Type574 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUseDetails? Type575 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUse? Type575 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResult? Type576 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant1UsageServerToolUseDetails? Type576 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3? Type577 { get; set; } + public global::OpenRouter.OpenResponsesResult? Type577 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3Role? Type578 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3? Type578 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3Type? Type579 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3Role? Type579 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type580 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3Type? Type580 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant3Usage? Type581 { get; set; } + public global::OpenRouter.AllOf? Type581 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4? Type582 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant3Usage? Type582 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type583 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4? Type583 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItem? Type584 { get; set; } + public global::System.Collections.Generic.IList? Type584 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, string>? Type585 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItem? Type585 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type586 { get; set; } + public global::OpenRouter.AnyOf, string>? Type586 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItemObject? Type587 { get; set; } + public global::System.Collections.Generic.IList? Type587 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4Object? Type588 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4DataItemObject? Type588 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4Usage? Type589 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4Object? Type589 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectResultResponseBodyVariant4UsagePromptTokensDetails? Type590 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4Usage? Type590 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectStatus? Type591 { get; set; } + public global::OpenRouter.BatchObjectResultResponseBodyVariant4UsagePromptTokensDetails? Type591 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsage? Type592 { get; set; } + public global::OpenRouter.BatchObjectStatus? Type592 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsageCompletionTokensDetails? Type593 { get; set; } + public global::OpenRouter.BatchObjectUsage? Type593 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsagePromptTokensDetails? Type594 { get; set; } + public global::OpenRouter.BatchObjectUsageCompletionTokensDetails? Type594 { get; set; } /// /// /// - public global::OpenRouter.BatchObjectUsageServerToolUse? Type595 { get; set; } + public global::OpenRouter.BatchObjectUsagePromptTokensDetails? Type595 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponse? Type596 { get; set; } + public global::OpenRouter.BatchObjectUsageServerToolUse? Type596 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseCompletionWindow? Type597 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponse? Type597 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseError? Type598 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseCompletionWindow? Type598 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseObject? Type599 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseError? Type599 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseRequestCounts? Type600 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseObject? Type600 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseStatus? Type601 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseRequestCounts? Type601 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsage? Type602 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseStatus? Type602 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsageCompletionTokensDetails? Type603 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsage? Type603 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsagePromptTokensDetails? Type604 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsageCompletionTokensDetails? Type604 { get; set; } /// /// /// - public global::OpenRouter.BatchPaymentRequiredResponseUsageServerToolUse? Type605 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsagePromptTokensDetails? Type605 { get; set; } /// /// /// - public global::OpenRouter.BatchProviderPreferences? Type606 { get; set; } + public global::OpenRouter.BatchPaymentRequiredResponseUsageServerToolUse? Type606 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type607 { get; set; } + public global::OpenRouter.BatchProviderPreferences? Type607 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type608 { get; set; } + public global::System.Collections.Generic.IList>? Type608 { get; set; } /// /// /// - public global::OpenRouter.ProviderName? Type609 { get; set; } + public global::OpenRouter.AnyOf? Type609 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBody? Type610 { get; set; } + public global::OpenRouter.ProviderName? Type610 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBodyCompletionWindow? Type611 { get; set; } + public global::OpenRouter.BatchSubmitBody? Type611 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBodyEndpoint? Type612 { get; set; } + public global::OpenRouter.BatchSubmitBodyCompletionWindow? Type612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type613 { get; set; } + public global::OpenRouter.BatchSubmitBodyEndpoint? Type613 { get; set; } /// /// /// - public global::OpenRouter.BatchSubmitBodyRequest? Type614 { get; set; } + public global::System.Collections.Generic.IList? Type614 { get; set; } /// /// /// - public global::OpenRouter.BooleanCapability? Type615 { get; set; } + public global::OpenRouter.BatchSubmitBodyRequest? Type615 { get; set; } /// /// /// - public global::OpenRouter.BooleanCapabilityType? Type616 { get; set; } + public global::OpenRouter.BooleanCapability? Type616 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type617 { get; set; } + public global::OpenRouter.BooleanCapabilityType? Type617 { get; set; } /// /// /// - public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type618 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersRequest? Type618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type619 { get; set; } + public global::OpenRouter.BulkAddWorkspaceMembersResponse? Type619 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMember? Type620 { get; set; } + public global::System.Collections.Generic.IList? Type620 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysRequest? Type621 { get; set; } + public global::OpenRouter.WorkspaceMember? Type621 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignKeysResponse? Type622 { get; set; } + public global::OpenRouter.BulkAssignKeysRequest? Type622 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersRequest? Type623 { get; set; } + public global::OpenRouter.BulkAssignKeysResponse? Type623 { get; set; } /// /// /// - public global::OpenRouter.BulkAssignMembersResponse? Type624 { get; set; } + public global::OpenRouter.BulkAssignMembersRequest? Type624 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type625 { get; set; } + public global::OpenRouter.BulkAssignMembersResponse? Type625 { get; set; } /// /// /// - public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type626 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersRequest? Type626 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysRequest? Type627 { get; set; } + public global::OpenRouter.BulkRemoveWorkspaceMembersResponse? Type627 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignKeysResponse? Type628 { get; set; } + public global::OpenRouter.BulkUnassignKeysRequest? Type628 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersRequest? Type629 { get; set; } + public global::OpenRouter.BulkUnassignKeysResponse? Type629 { get; set; } /// /// /// - public global::OpenRouter.BulkUnassignMembersResponse? Type630 { get; set; } + public global::OpenRouter.BulkUnassignMembersRequest? Type630 { get; set; } /// /// /// - public global::OpenRouter.BYOKKey? Type631 { get; set; } + public global::OpenRouter.BulkUnassignMembersResponse? Type631 { get; set; } /// /// /// - public global::System.Guid? Type632 { get; set; } + public global::OpenRouter.BYOKKey? Type632 { get; set; } /// /// /// - public global::OpenRouter.BYOKProviderSlug? Type633 { get; set; } + public global::System.Guid? Type633 { get; set; } /// /// /// - public global::OpenRouter.CapabilityDescriptor? Type634 { get; set; } + public global::OpenRouter.BYOKProviderSlug? Type634 { get; set; } /// /// /// - public global::OpenRouter.EnumCapability? Type635 { get; set; } + public global::OpenRouter.CapabilityDescriptor? Type635 { get; set; } /// /// /// - public global::OpenRouter.RangeCapability? Type636 { get; set; } + public global::OpenRouter.EnumCapability? Type636 { get; set; } /// /// /// - public global::OpenRouter.CapabilityDescriptorDiscriminator? Type637 { get; set; } + public global::OpenRouter.RangeCapability? Type637 { get; set; } /// /// /// - public global::OpenRouter.CapabilityDescriptorDiscriminatorType? Type638 { get; set; } + public global::OpenRouter.CapabilityDescriptorDiscriminator? Type638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type639 { get; set; } + public global::OpenRouter.CapabilityDescriptorDiscriminatorType? Type639 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImage? Type640 { get; set; } + public global::System.Collections.Generic.IList? Type640 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantImageImageUrl? Type641 { get; set; } + public global::OpenRouter.ChatAssistantImage? Type641 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessage? Type642 { get; set; } + public global::OpenRouter.ChatAssistantImageImageUrl? Type642 { get; set; } /// /// /// - public global::OpenRouter.ChatAudioOutput? Type643 { get; set; } + public global::OpenRouter.ChatAssistantMessage? Type643 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, object>? Type644 { get; set; } + public global::OpenRouter.ChatAudioOutput? Type644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type645 { get; set; } + public global::OpenRouter.AnyOf, object>? Type645 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItems? Type646 { get; set; } + public global::System.Collections.Generic.IList? Type646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type647 { get; set; } + public global::OpenRouter.ChatContentItems? Type647 { get; set; } /// /// /// - public global::OpenRouter.ChatAssistantMessageRole? Type648 { get; set; } + public global::System.Collections.Generic.IList? Type648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type649 { get; set; } + public global::OpenRouter.ChatAssistantMessageRole? Type649 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCall? Type650 { get; set; } + public global::System.Collections.Generic.IList? Type650 { get; set; } /// /// /// - public global::OpenRouter.ChatChoice? Type651 { get; set; } + public global::OpenRouter.ChatToolCall? Type651 { get; set; } /// /// /// - public global::OpenRouter.ChatFinishReasonEnum? Type652 { get; set; } + public global::OpenRouter.ChatChoice? Type652 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobs? Type653 { get; set; } + public global::OpenRouter.ChatFinishReasonEnum? Type653 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudio? Type654 { get; set; } + public global::OpenRouter.ChatTokenLogprobs? Type654 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioInputAudio? Type655 { get; set; } + public global::OpenRouter.ChatContentAudio? Type655 { get; set; } /// /// /// - public global::OpenRouter.ChatContentAudioType? Type656 { get; set; } + public global::OpenRouter.ChatContentAudioInputAudio? Type656 { get; set; } /// /// /// - public global::OpenRouter.ChatContentCacheControl? Type657 { get; set; } + public global::OpenRouter.ChatContentAudioType? Type657 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFile? Type658 { get; set; } + public global::OpenRouter.ChatContentCacheControl? Type658 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileFile? Type659 { get; set; } + public global::OpenRouter.ChatContentFile? Type659 { get; set; } /// /// /// - public global::OpenRouter.ChatContentFileType? Type660 { get; set; } + public global::OpenRouter.ChatContentFileFile? Type660 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImage? Type661 { get; set; } + public global::OpenRouter.ChatContentFileType? Type661 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrl? Type662 { get; set; } + public global::OpenRouter.ChatContentImage? Type662 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageImageUrlDetail? Type663 { get; set; } + public global::OpenRouter.ChatContentImageImageUrl? Type663 { get; set; } /// /// /// - public global::OpenRouter.ChatContentImageType? Type664 { get; set; } + public global::OpenRouter.ChatContentImageImageUrlDetail? Type664 { get; set; } /// /// /// - public global::OpenRouter.ChatContentText? Type665 { get; set; } + public global::OpenRouter.ChatContentImageType? Type665 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideo? Type666 { get; set; } + public global::OpenRouter.ChatContentText? Type666 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideo? Type667 { get; set; } + public global::OpenRouter.LegacyChatContentVideo? Type667 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminator? Type668 { get; set; } + public global::OpenRouter.ChatContentVideo? Type668 { get; set; } /// /// /// - public global::OpenRouter.ChatContentItemsDiscriminatorType? Type669 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminator? Type669 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheBreakpoint? Type670 { get; set; } + public global::OpenRouter.ChatContentItemsDiscriminatorType? Type670 { get; set; } /// /// /// - public global::OpenRouter.ChatContentTextType? Type671 { get; set; } + public global::OpenRouter.PromptCacheBreakpoint? Type671 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoType? Type672 { get; set; } + public global::OpenRouter.ChatContentTextType? Type672 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInput? Type673 { get; set; } + public global::OpenRouter.ChatContentVideoType? Type673 { get; set; } /// /// /// - public global::OpenRouter.ChatContentVideoInputProcessing? Type674 { get; set; } + public global::OpenRouter.ChatContentVideoInput? Type674 { get; set; } /// /// /// - public global::OpenRouter.ChatDebugOptions? Type675 { get; set; } + public global::OpenRouter.ChatContentVideoInputProcessing? Type675 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessage? Type676 { get; set; } + public global::OpenRouter.ChatDebugOptions? Type676 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? Type677 { get; set; } + public global::OpenRouter.ChatDeveloperMessage? Type677 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateReasoning? Type678 { get; set; } + public global::OpenRouter.ChatDeveloperMessageConfigurationUpdate? Type678 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type679 { get; set; } + public global::OpenRouter.ConfigurationUpdateReasoning? Type679 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type680 { get; set; } + public global::OpenRouter.AnyOf>? Type680 { get; set; } /// /// /// - public global::OpenRouter.ChatDeveloperMessageRole? Type681 { get; set; } + public global::System.Collections.Generic.IList? Type681 { get; set; } /// /// /// - public global::OpenRouter.ChatDynamicServerTool? Type682 { get; set; } + public global::OpenRouter.ChatDeveloperMessageRole? Type682 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfig? Type683 { get; set; } + public global::OpenRouter.ChatDynamicServerTool? Type683 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatGrammarConfigType? Type684 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfig? Type684 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonObjectConfig? Type685 { get; set; } + public global::OpenRouter.ChatFormatGrammarConfigType? Type685 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonObjectConfigType? Type686 { get; set; } + public global::OpenRouter.ChatFormatJsonObjectConfig? Type686 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfig? Type687 { get; set; } + public global::OpenRouter.ChatFormatJsonObjectConfigType? Type687 { get; set; } /// /// /// - public global::OpenRouter.ChatJsonSchemaConfig? Type688 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfig? Type688 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type689 { get; set; } + public global::OpenRouter.ChatJsonSchemaConfig? Type689 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfig? Type690 { get; set; } + public global::OpenRouter.ChatFormatJsonSchemaConfigType? Type690 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatPythonConfigType? Type691 { get; set; } + public global::OpenRouter.ChatFormatPythonConfig? Type691 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfig? Type692 { get; set; } + public global::OpenRouter.ChatFormatPythonConfigType? Type692 { get; set; } /// /// /// - public global::OpenRouter.ChatFormatTextConfigType? Type693 { get; set; } + public global::OpenRouter.ChatFormatTextConfig? Type693 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionTool? Type694 { get; set; } + public global::OpenRouter.ChatFormatTextConfigType? Type694 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1? Type695 { get; set; } + public global::OpenRouter.ChatFunctionTool? Type695 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1Function? Type696 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1? Type696 { get; set; } /// /// /// - public global::OpenRouter.ChatFunctionToolVariant1Type? Type697 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1Function? Type697 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerTool? Type698 { get; set; } + public global::OpenRouter.ChatFunctionToolVariant1Type? Type698 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerTool? Type699 { get; set; } + public global::OpenRouter.ChatSearchModelsServerTool? Type699 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthand? Type700 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerTool? Type700 { get; set; } /// /// /// - public global::OpenRouter.ChatMessages? Type701 { get; set; } + public global::OpenRouter.ChatWebSearchShorthand? Type701 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessage? Type702 { get; set; } + public global::OpenRouter.ChatMessages? Type702 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessage? Type703 { get; set; } + public global::OpenRouter.ChatSystemMessage? Type703 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessage? Type704 { get; set; } + public global::OpenRouter.ChatUserMessage? Type704 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminator? Type705 { get; set; } + public global::OpenRouter.ChatToolMessage? Type705 { get; set; } /// /// /// - public global::OpenRouter.ChatMessagesDiscriminatorRole? Type706 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminator? Type706 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type707 { get; set; } + public global::OpenRouter.ChatMessagesDiscriminatorRole? Type707 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type708 { get; set; } + public global::System.Collections.Generic.IList>? Type708 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoice? Type709 { get; set; } + public global::OpenRouter.AllOf? Type709 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceFunction? Type710 { get; set; } + public global::OpenRouter.ChatNamedToolChoice? Type710 { get; set; } /// /// /// - public global::OpenRouter.ChatNamedToolChoiceType? Type711 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceFunction? Type711 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnion? Type712 { get; set; } + public global::OpenRouter.ChatNamedToolChoiceType? Type712 { get; set; } /// /// /// - public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type713 { get; set; } + public global::OpenRouter.ReasoningDetailUnion? Type713 { get; set; } /// /// /// - public global::OpenRouter.ChatRequest? Type714 { get; set; } + public global::OpenRouter.ChatReasoningSummaryVerbosityEnum? Type714 { get; set; } /// /// /// - public global::OpenRouter.ImageConfig? Type715 { get; set; } + public global::OpenRouter.ChatRequest? Type715 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type716 { get; set; } + public global::OpenRouter.ImageConfig? Type716 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type717 { get; set; } + public global::System.Collections.Generic.Dictionary? Type717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type718 { get; set; } + public global::System.Collections.Generic.IList? Type718 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestModalitie? Type719 { get; set; } + public global::System.Collections.Generic.IList? Type719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type720 { get; set; } + public global::OpenRouter.ChatRequestModalitie? Type720 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem? Type721 { get; set; } + public global::System.Collections.Generic.IList? Type721 { get; set; } /// /// /// - public global::OpenRouter.ModerationPlugin? Type722 { get; set; } + public global::OpenRouter.PluginsItem? Type722 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPlugin? Type723 { get; set; } + public global::OpenRouter.ModerationPlugin? Type723 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPlugin? Type724 { get; set; } + public global::OpenRouter.WebSearchPlugin? Type724 { get; set; } /// /// /// - public global::OpenRouter.FileParserPlugin? Type725 { get; set; } + public global::OpenRouter.WebFetchPlugin? Type725 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPlugin? Type726 { get; set; } + public global::OpenRouter.FileParserPlugin? Type726 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionPlugin? Type727 { get; set; } + public global::OpenRouter.ResponseHealingPlugin? Type727 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPlugin? Type728 { get; set; } + public global::OpenRouter.ContextCompressionPlugin? Type728 { get; set; } /// /// /// - public global::OpenRouter.FusionPlugin? Type729 { get; set; } + public global::OpenRouter.ParetoRouterPlugin? Type729 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPlugin? Type730 { get; set; } + public global::OpenRouter.FusionPlugin? Type730 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPlugin? Type731 { get; set; } + public global::OpenRouter.SwitchyardRouterPlugin? Type731 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginDiscriminator? Type732 { get; set; } + public global::OpenRouter.JevRouterPlugin? Type732 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type733 { get; set; } + public global::OpenRouter.ChatRequestPluginDiscriminator? Type733 { get; set; } /// /// /// - public global::OpenRouter.Prediction? Type734 { get; set; } + public global::OpenRouter.ChatRequestPluginDiscriminatorId? Type734 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferences? Type735 { get; set; } + public global::OpenRouter.Prediction? Type735 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoning? Type736 { get; set; } + public global::OpenRouter.ProviderPreferences? Type736 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort? Type737 { get; set; } + public global::OpenRouter.ChatRequestReasoning? Type737 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestReasoningEffort2? Type738 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort? Type738 { get; set; } /// /// /// - public global::OpenRouter.ResponseFormat? Type739 { get; set; } + public global::OpenRouter.ChatRequestReasoningEffort2? Type739 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type740 { get; set; } + public global::OpenRouter.ResponseFormat? Type740 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type741 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminator? Type741 { get; set; } /// /// /// - public global::OpenRouter.DeprecatedRoute? Type742 { get; set; } + public global::OpenRouter.ChatRequestResponseFormatDiscriminatorType? Type742 { get; set; } /// /// /// - public global::OpenRouter.ChatRequestServiceTier? Type743 { get; set; } + public global::OpenRouter.DeprecatedRoute? Type743 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, object>? Type744 { get; set; } + public global::OpenRouter.ChatRequestServiceTier? Type744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type745 { get; set; } + public global::OpenRouter.AnyOf, object>? Type745 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamOptions? Type746 { get; set; } + public global::System.Collections.Generic.IList? Type746 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoice? Type747 { get; set; } + public global::OpenRouter.ChatStreamOptions? Type747 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type748 { get; set; } + public global::OpenRouter.ChatToolChoice? Type748 { get; set; } /// /// /// - public global::OpenRouter.TraceConfig? Type749 { get; set; } + public global::System.Collections.Generic.IList? Type749 { get; set; } /// /// /// - public global::OpenRouter.ChatResult? Type750 { get; set; } + public global::OpenRouter.TraceConfig? Type750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type751 { get; set; } + public global::OpenRouter.ChatResult? Type751 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type752 { get; set; } + public global::System.Collections.Generic.IList? Type752 { get; set; } /// /// /// - public global::OpenRouter.ChatResultObject? Type753 { get; set; } + public global::System.DateTimeOffset? Type753 { get; set; } /// /// /// - public global::OpenRouter.ChatUsage? Type754 { get; set; } + public global::OpenRouter.ChatResultObject? Type754 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolConfig? Type755 { get; set; } + public global::OpenRouter.ChatUsage? Type755 { get; set; } /// /// /// - public global::OpenRouter.ChatSearchModelsServerToolType? Type756 { get; set; } + public global::OpenRouter.SearchModelsServerToolConfig? Type756 { get; set; } /// /// /// - public global::OpenRouter.ChatServerToolChoice? Type757 { get; set; } + public global::OpenRouter.ChatSearchModelsServerToolType? Type757 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChoice? Type758 { get; set; } + public global::OpenRouter.ChatServerToolChoice? Type758 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamDelta? Type759 { get; set; } + public global::OpenRouter.ChatStreamChoice? Type759 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunk? Type760 { get; set; } + public global::OpenRouter.ChatStreamDelta? Type760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type761 { get; set; } + public global::OpenRouter.ChatStreamChunk? Type761 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkError? Type762 { get; set; } + public global::System.Collections.Generic.IList? Type762 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkErrorMetadata? Type763 { get; set; } + public global::OpenRouter.ChatStreamChunkError? Type763 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamChunkObject? Type764 { get; set; } + public global::OpenRouter.ChatStreamChunkErrorMetadata? Type764 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type765 { get; set; } + public global::OpenRouter.ChatStreamChunkObject? Type765 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamDeltaRole? Type766 { get; set; } + public global::OpenRouter.AllOf? Type766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type767 { get; set; } + public global::OpenRouter.ChatStreamDeltaRole? Type767 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCall? Type768 { get; set; } + public global::System.Collections.Generic.IList? Type768 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamingResponse? Type769 { get; set; } + public global::OpenRouter.ChatStreamToolCall? Type769 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCallFunction? Type770 { get; set; } + public global::OpenRouter.ChatStreamingResponse? Type770 { get; set; } /// /// /// - public global::OpenRouter.ChatStreamToolCallType? Type771 { get; set; } + public global::OpenRouter.ChatStreamToolCallFunction? Type771 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageConfigurationUpdate? Type772 { get; set; } + public global::OpenRouter.ChatStreamToolCallType? Type772 { get; set; } /// /// /// - public global::OpenRouter.ChatSystemMessageRole? Type773 { get; set; } + public global::OpenRouter.ChatSystemMessageConfigurationUpdate? Type773 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprob? Type774 { get; set; } + public global::OpenRouter.ChatSystemMessageRole? Type774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type775 { get; set; } + public global::OpenRouter.ChatTokenLogprob? Type775 { get; set; } /// /// /// - public global::OpenRouter.ChatTokenLogprobTopLogprob? Type776 { get; set; } + public global::System.Collections.Generic.IList? Type776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type777 { get; set; } + public global::OpenRouter.ChatTokenLogprobTopLogprob? Type777 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallFunction? Type778 { get; set; } + public global::System.Collections.Generic.IList? Type778 { get; set; } /// /// /// - public global::OpenRouter.ChatToolCallType? Type779 { get; set; } + public global::OpenRouter.ChatToolCallFunction? Type779 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant1? Type780 { get; set; } + public global::OpenRouter.ChatToolCallType? Type780 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant2? Type781 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant1? Type781 { get; set; } /// /// /// - public global::OpenRouter.ChatToolChoiceVariant3? Type782 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant2? Type782 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type783 { get; set; } + public global::OpenRouter.ChatToolChoiceVariant3? Type783 { get; set; } /// /// /// - public global::OpenRouter.ChatToolMessageRole? Type784 { get; set; } + public global::OpenRouter.AnyOf>? Type784 { get; set; } /// /// /// - public global::OpenRouter.ChatUsageCompletionTokensDetails? Type785 { get; set; } + public global::OpenRouter.ChatToolMessageRole? Type785 { get; set; } /// /// /// - public global::OpenRouter.ChatUsagePromptTokensDetails? Type786 { get; set; } + public global::OpenRouter.ChatUsageCompletionTokensDetails? Type786 { get; set; } /// /// /// - public global::OpenRouter.ServerToolUseDetails? Type787 { get; set; } + public global::OpenRouter.ChatUsagePromptTokensDetails? Type787 { get; set; } /// /// /// - public global::OpenRouter.ChatUserMessageRole? Type788 { get; set; } + public global::OpenRouter.ServerToolUseDetails? Type788 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngineEnum? Type789 { get; set; } + public global::OpenRouter.ChatUserMessageRole? Type789 { get; set; } /// /// /// - public global::OpenRouter.WebSearchMode? Type790 { get; set; } + public global::OpenRouter.WebSearchEngineEnum? Type790 { get; set; } /// /// /// - public global::OpenRouter.WebSearchConfig? Type791 { get; set; } + public global::OpenRouter.WebSearchMode? Type791 { get; set; } /// /// /// - public global::OpenRouter.SearchQualityLevel? Type792 { get; set; } + public global::OpenRouter.WebSearchConfig? Type792 { get; set; } /// /// /// - public global::OpenRouter.ChatWebSearchShorthandType? Type793 { get; set; } + public global::OpenRouter.SearchQualityLevel? Type793 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerTool? Type794 { get; set; } + public global::OpenRouter.ChatWebSearchShorthandType? Type794 { get; set; } /// /// /// - public global::OpenRouter.XSearchOptions? Type795 { get; set; } + public global::OpenRouter.WebSearchUserLocationServerTool? Type795 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type796 { get; set; } + public global::OpenRouter.XSearchOptions? Type796 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type797 { get; set; } + public global::OpenRouter.CodeInterpreterCallCodeDeltaEvent? Type797 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type798 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDelta? Type798 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type799 { get; set; } + public global::OpenRouter.CodeInterpreterCallCodeDoneEvent? Type799 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type800 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDone? Type800 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type801 { get; set; } + public global::OpenRouter.CodeInterpreterCallCompletedEvent? Type801 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type802 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompleted? Type802 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type803 { get; set; } + public global::OpenRouter.CodeInterpreterCallInProgressEvent? Type803 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type804 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgress? Type804 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type805 { get; set; } + public global::OpenRouter.CodeInterpreterCallInterpretingEvent? Type805 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterCallItem? Type806 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpreting? Type806 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterFileOutput? Type807 { get; set; } + public global::OpenRouter.CodeInterpreterCallItem? Type807 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterFileOutputType? Type808 { get; set; } + public global::OpenRouter.CodeInterpreterFileOutput? Type808 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterImageOutput? Type809 { get; set; } + public global::OpenRouter.CodeInterpreterFileOutputType? Type809 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterImageOutputType? Type810 { get; set; } + public global::OpenRouter.CodeInterpreterImageOutput? Type810 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterLogsOutput? Type811 { get; set; } + public global::OpenRouter.CodeInterpreterImageOutputType? Type811 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterLogsOutputType? Type812 { get; set; } + public global::OpenRouter.CodeInterpreterLogsOutput? Type812 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type813 { get; set; } + public global::OpenRouter.CodeInterpreterLogsOutputType? Type813 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainer? Type814 { get; set; } + public global::OpenRouter.AnyOf? Type814 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type815 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainer? Type815 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolContainerType? Type816 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerMemoryLimit? Type816 { get; set; } /// /// /// - public global::OpenRouter.CodeInterpreterServerToolType? Type817 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolContainerType? Type817 { get; set; } /// /// /// - public global::OpenRouter.CodexLocalShellToolType? Type818 { get; set; } + public global::OpenRouter.CodeInterpreterServerToolType? Type818 { get; set; } /// /// /// - public global::OpenRouter.CompactionItem? Type819 { get; set; } + public global::OpenRouter.CodexLocalShellToolType? Type819 { get; set; } /// /// /// - public global::OpenRouter.CompactionItemType? Type820 { get; set; } + public global::OpenRouter.CompactionItem? Type820 { get; set; } /// /// /// - public global::OpenRouter.CompletedEvent? Type821 { get; set; } + public global::OpenRouter.CompactionItemType? Type821 { get; set; } /// /// /// - public global::OpenRouter.CompletedEventType? Type822 { get; set; } + public global::OpenRouter.CompletedEvent? Type822 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilter? Type823 { get; set; } + public global::OpenRouter.CompletedEventType? Type823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type824 { get; set; } + public global::OpenRouter.CompoundFilter? Type824 { get; set; } /// /// /// - public global::OpenRouter.CompoundFilterType? Type825 { get; set; } + public global::System.Collections.Generic.IList? Type825 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolEnvironment? Type826 { get; set; } + public global::OpenRouter.CompoundFilterType? Type826 { get; set; } /// /// /// - public global::OpenRouter.ComputerUseServerToolType? Type827 { get; set; } + public global::OpenRouter.ComputerUseServerToolEnvironment? Type827 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateItemType? Type828 { get; set; } + public global::OpenRouter.ComputerUseServerToolType? Type828 { get; set; } /// /// /// - public global::OpenRouter.ConfigurationUpdateReasoningEffort? Type829 { get; set; } + public global::OpenRouter.ConfigurationUpdateItemType? Type829 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponse? Type830 { get; set; } + public global::OpenRouter.ConfigurationUpdateReasoningEffort? Type830 { get; set; } /// /// /// - public global::OpenRouter.ConflictResponseErrorData? Type831 { get; set; } + public global::OpenRouter.ConflictResponse? Type831 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicy? Type832 { get; set; } + public global::OpenRouter.ConflictResponseErrorData? Type832 { get; set; } /// /// /// - public global::OpenRouter.ContainerAutoEnvironmentType? Type833 { get; set; } + public global::OpenRouter.ContainerNetworkPolicy? Type833 { get; set; } /// /// /// - public global::OpenRouter.ContainerFile? Type834 { get; set; } + public global::OpenRouter.ContainerAutoEnvironmentType? Type834 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileObject? Type835 { get; set; } + public global::OpenRouter.ContainerFile? Type835 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileSource? Type836 { get; set; } + public global::OpenRouter.ContainerFileObject? Type836 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileListResponse? Type837 { get; set; } + public global::OpenRouter.ContainerFileSource? Type837 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type838 { get; set; } + public global::OpenRouter.ContainerFileListResponse? Type838 { get; set; } /// /// /// - public global::OpenRouter.ContainerFileListResponseObject? Type839 { get; set; } + public global::System.Collections.Generic.IList? Type839 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant1? Type840 { get; set; } + public global::OpenRouter.ContainerFileListResponseObject? Type840 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant1Type? Type841 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant1? Type841 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant2? Type842 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant1Type? Type842 { get; set; } /// /// /// - public global::OpenRouter.ContainerNetworkPolicyVariant2Type? Type843 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant2? Type843 { get; set; } /// /// /// - public global::OpenRouter.ContainerReferenceEnvironmentType? Type844 { get; set; } + public global::OpenRouter.ContainerNetworkPolicyVariant2Type? Type844 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterAction? Type845 { get; set; } + public global::OpenRouter.ContainerReferenceEnvironmentType? Type845 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinAction? Type846 { get; set; } + public global::OpenRouter.ContentFilterAction? Type846 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntry? Type847 { get; set; } + public global::OpenRouter.ContentFilterBuiltinAction? Type847 { get; set; } /// /// /// - public global::OpenRouter.PromptInjectionScanScope? Type848 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntry? Type848 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinSlug? Type849 { get; set; } + public global::OpenRouter.PromptInjectionScanScope? Type849 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterBuiltinEntryInput? Type850 { get; set; } + public global::OpenRouter.ContentFilterBuiltinSlug? Type850 { get; set; } /// /// /// - public global::OpenRouter.ContentFilterEntry? Type851 { get; set; } + public global::OpenRouter.ContentFilterBuiltinEntryInput? Type851 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAddedEvent? Type852 { get; set; } + public global::OpenRouter.ContentFilterEntry? Type852 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAddedEventVariant2? Type853 { get; set; } + public global::OpenRouter.ContentPartAddedEvent? Type853 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type854 { get; set; } + public global::OpenRouter.ContentPartAddedEventVariant2? Type854 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContent? Type855 { get; set; } + public global::OpenRouter.AnyOf? Type855 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudio? Type856 { get; set; } + public global::OpenRouter.ReasoningTextContent? Type856 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudioAudioUrl? Type857 { get; set; } + public global::OpenRouter.ContentPartAudio? Type857 { get; set; } /// /// /// - public global::OpenRouter.ContentPartAudioType? Type858 { get; set; } + public global::OpenRouter.ContentPartAudioAudioUrl? Type858 { get; set; } /// /// /// - public global::OpenRouter.ContentPartDoneEvent? Type859 { get; set; } + public global::OpenRouter.ContentPartAudioType? Type859 { get; set; } /// /// /// - public global::OpenRouter.ContentPartDoneEventVariant2? Type860 { get; set; } + public global::OpenRouter.ContentPartDoneEvent? Type860 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImage? Type861 { get; set; } + public global::OpenRouter.ContentPartDoneEventVariant2? Type861 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageImageUrl? Type862 { get; set; } + public global::OpenRouter.ContentPartImage? Type862 { get; set; } /// /// /// - public global::OpenRouter.ContentPartImageType? Type863 { get; set; } + public global::OpenRouter.ContentPartImageImageUrl? Type863 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudio? Type864 { get; set; } + public global::OpenRouter.ContentPartImageType? Type864 { get; set; } /// /// /// - public global::OpenRouter.MultimodalMedia? Type865 { get; set; } + public global::OpenRouter.ContentPartInputAudio? Type865 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputAudioType? Type866 { get; set; } + public global::OpenRouter.MultimodalMedia? Type866 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFile? Type867 { get; set; } + public global::OpenRouter.ContentPartInputAudioType? Type867 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputFileType? Type868 { get; set; } + public global::OpenRouter.ContentPartInputFile? Type868 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideo? Type869 { get; set; } + public global::OpenRouter.ContentPartInputFileType? Type869 { get; set; } /// /// /// - public global::OpenRouter.ContentPartInputVideoType? Type870 { get; set; } + public global::OpenRouter.ContentPartInputVideo? Type870 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideo? Type871 { get; set; } + public global::OpenRouter.ContentPartInputVideoType? Type871 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideoType? Type872 { get; set; } + public global::OpenRouter.ContentPartVideo? Type872 { get; set; } /// /// /// - public global::OpenRouter.ContentPartVideoVideoUrl? Type873 { get; set; } + public global::OpenRouter.ContentPartVideoType? Type873 { get; set; } /// /// /// - public global::OpenRouter.ContextCompactionItem? Type874 { get; set; } + public global::OpenRouter.ContentPartVideoVideoUrl? Type874 { get; set; } /// /// /// - public global::OpenRouter.ContextCompactionItemType? Type875 { get; set; } + public global::OpenRouter.ContextCompactionItem? Type875 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionEngine? Type876 { get; set; } + public global::OpenRouter.ContextCompactionItemType? Type876 { get; set; } /// /// /// - public global::OpenRouter.ContextCompressionPluginId? Type877 { get; set; } + public global::OpenRouter.ContextCompressionEngine? Type877 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyRequest? Type878 { get; set; } + public global::OpenRouter.ContextCompressionPluginId? Type878 { get; set; } /// /// /// - public global::OpenRouter.CreateBYOKKeyResponse? Type879 { get; set; } + public global::OpenRouter.CreateBYOKKeyRequest? Type879 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type880 { get; set; } + public global::OpenRouter.CreateBYOKKeyResponse? Type880 { get; set; } /// /// /// - public global::OpenRouter.CreatedEvent? Type881 { get; set; } + public global::OpenRouter.AllOf? Type881 { get; set; } /// /// /// - public global::OpenRouter.CreatedEventType? Type882 { get; set; } + public global::OpenRouter.CreatedEvent? Type882 { get; set; } /// /// /// - public global::OpenRouter.CreateEndUserRequest? Type883 { get; set; } + public global::OpenRouter.CreatedEventType? Type883 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailRequest? Type884 { get; set; } + public global::OpenRouter.CreateEndUserRequest? Type884 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type885 { get; set; } + public global::OpenRouter.CreateGuardrailRequest? Type885 { get; set; } /// /// /// - public global::OpenRouter.GuardrailDataRegion? Type886 { get; set; } + public global::System.Collections.Generic.IList? Type886 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type887 { get; set; } + public global::OpenRouter.GuardrailDataRegion? Type887 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type888 { get; set; } + public global::System.Collections.Generic.IList? Type888 { get; set; } /// /// /// - public global::OpenRouter.GuardrailInterval? Type889 { get; set; } + public global::System.Collections.Generic.IList? Type889 { get; set; } /// /// /// - public global::OpenRouter.CreateGuardrailResponse? Type890 { get; set; } + public global::OpenRouter.GuardrailInterval? Type890 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type891 { get; set; } + public global::OpenRouter.CreateGuardrailResponse? Type891 { get; set; } /// /// /// - public global::OpenRouter.Guardrail? Type892 { get; set; } + public global::OpenRouter.AllOf? Type892 { get; set; } /// /// /// - public global::OpenRouter.CreateInternRequest? Type893 { get; set; } + public global::OpenRouter.Guardrail? Type893 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequest? Type894 { get; set; } + public global::OpenRouter.CreateInternRequest? Type894 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfigNullable? Type895 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequest? Type895 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type896 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfigNullable? Type896 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegionInput? Type897 { get; set; } + public global::System.Collections.Generic.IList? Type897 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationRequestType? Type898 { get; set; } + public global::OpenRouter.ObservabilityDataRegionInput? Type898 { get; set; } /// /// /// - public global::OpenRouter.CreateObservabilityDestinationResponse? Type899 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationRequestType? Type899 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestination? Type900 { get; set; } + public global::OpenRouter.CreateObservabilityDestinationResponse? Type900 { get; set; } /// /// /// - public global::OpenRouter.CreatePresetFromInferenceResponse? Type901 { get; set; } + public global::OpenRouter.ObservabilityDestination? Type901 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersion? Type902 { get; set; } + public global::OpenRouter.CreatePresetFromInferenceResponse? Type902 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointRequest? Type903 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersion? Type903 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointActivation? Type904 { get; set; } + public global::OpenRouter.CreatePrivateEndpointRequest? Type904 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion? Type905 { get; set; } + public global::OpenRouter.PrivateEndpointActivation? Type905 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointPricing? Type906 { get; set; } + public global::OpenRouter.CreatePrivateEndpointRequestDeclaredRegion? Type906 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointValidationFailedResponse? Type907 { get; set; } + public global::OpenRouter.PrivateEndpointPricing? Type907 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseData? Type908 { get; set; } + public global::OpenRouter.CreatePrivateEndpointValidationFailedResponse? Type908 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpoint? Type909 { get; set; } + public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseData? Type909 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidationNullable? Type910 { get; set; } + public global::OpenRouter.ManagedPrivateEndpoint? Type910 { get; set; } /// /// /// - public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseError? Type911 { get; set; } + public global::OpenRouter.PrivateEndpointValidationNullable? Type911 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingRequest? Type912 { get; set; } + public global::OpenRouter.CreatePrivateEndpointValidationFailedResponseError? Type912 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingRequestRole? Type913 { get; set; } + public global::OpenRouter.CreateScimGroupMappingRequest? Type913 { get; set; } /// /// /// - public global::OpenRouter.CreateScimGroupMappingResponse? Type914 { get; set; } + public global::OpenRouter.CreateScimGroupMappingRequestRole? Type914 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMapping? Type915 { get; set; } + public global::OpenRouter.CreateScimGroupMappingResponse? Type915 { get; set; } /// /// /// - public global::OpenRouter.CreateScimSyncJobResponse? Type916 { get; set; } + public global::OpenRouter.ScimGroupMapping? Type916 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJob? Type917 { get; set; } + public global::OpenRouter.CreateScimSyncJobResponse? Type917 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequest? Type918 { get; set; } + public global::OpenRouter.ScimSyncJob? Type918 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type919 { get; set; } + public global::OpenRouter.CreateWorkspaceRequest? Type919 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceRequestDisabledServerTool? Type920 { get; set; } + public global::System.Collections.Generic.IList? Type920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type921 { get; set; } + public global::OpenRouter.CreateWorkspaceRequestDisabledServerTool? Type921 { get; set; } /// /// /// - public global::OpenRouter.CreateWorkspaceResponse? Type922 { get; set; } + public global::System.Collections.Generic.IList? Type922 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type923 { get; set; } + public global::OpenRouter.CreateWorkspaceResponse? Type923 { get; set; } /// /// /// - public global::OpenRouter.Workspace? Type924 { get; set; } + public global::OpenRouter.AllOf? Type924 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type925 { get; set; } + public global::OpenRouter.Workspace? Type925 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1? Type926 { get; set; } + public global::OpenRouter.AnyOf? Type926 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant1Type? Type927 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1? Type927 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2? Type928 { get; set; } + public global::OpenRouter.CustomToolFormatVariant1Type? Type928 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Syntax? Type929 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2? Type929 { get; set; } /// /// /// - public global::OpenRouter.CustomToolFormatVariant2Type? Type930 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Syntax? Type930 { get; set; } /// /// /// - public global::OpenRouter.CustomToolType? Type931 { get; set; } + public global::OpenRouter.CustomToolFormatVariant2Type? Type931 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDeltaEvent? Type932 { get; set; } + public global::OpenRouter.CustomToolType? Type932 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallInputDoneEvent? Type933 { get; set; } + public global::OpenRouter.CustomToolCallInputDeltaEvent? Type933 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItem? Type934 { get; set; } + public global::OpenRouter.CustomToolCallInputDoneEvent? Type934 { get; set; } /// /// /// - public global::OpenRouter.ToolCallStatus? Type935 { get; set; } + public global::OpenRouter.CustomToolCallItem? Type935 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallItemType? Type936 { get; set; } + public global::OpenRouter.ToolCallStatus? Type936 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItem? Type937 { get; set; } + public global::OpenRouter.CustomToolCallItemType? Type937 { get; set; } /// /// /// - public global::OpenRouter.CustomToolCallOutputItemVariant2? Type938 { get; set; } + public global::OpenRouter.CustomToolCallOutputItem? Type938 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type939 { get; set; } + public global::OpenRouter.CustomToolCallOutputItemVariant2? Type939 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type940 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile>>>? Type940 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type941 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile>>? Type941 { get; set; } /// /// /// - public global::OpenRouter.DABenchmarkEntry? Type942 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile>? Type942 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolConfig? Type943 { get; set; } + public global::OpenRouter.DABenchmarkEntry? Type943 { get; set; } /// /// /// - public global::OpenRouter.DatetimeServerToolType? Type944 { get; set; } + public global::OpenRouter.DatacenterV2? Type944 { get; set; } /// /// /// - public global::OpenRouter.DebugEvent? Type945 { get; set; } + public global::OpenRouter.DatetimeServerToolConfig? Type945 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebug? Type946 { get; set; } + public global::OpenRouter.DatetimeServerToolType? Type946 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimings? Type947 { get; set; } + public global::OpenRouter.DebugEvent? Type947 { get; set; } /// /// /// - public global::OpenRouter.DebugEventDebugTimingsEvent? Type948 { get; set; } + public global::OpenRouter.DebugEventDebug? Type948 { get; set; } /// /// /// - public global::OpenRouter.DebugEventType? Type949 { get; set; } + public global::OpenRouter.DebugEventDebugTimings? Type949 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswer? Type950 { get; set; } + public global::OpenRouter.DebugEventDebugTimingsEvent? Type950 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceAnswerType? Type951 { get; set; } + public global::OpenRouter.DebugEventType? Type951 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestion? Type952 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswer? Type952 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, object>? Type953 { get; set; } + public global::OpenRouter.DecisionsChoiceAnswerType? Type953 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type954 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestion? Type954 { get; set; } /// /// /// - public global::OpenRouter.DecisionsChoiceQuestionType? Type955 { get; set; } + public global::OpenRouter.AnyOf, object>? Type955 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswer? Type956 { get; set; } + public global::OpenRouter.AnyOf>? Type956 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulAnswerType? Type957 { get; set; } + public global::OpenRouter.DecisionsChoiceQuestionType? Type957 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestion? Type958 { get; set; } + public global::OpenRouter.DecisionsNoulAnswer? Type958 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionCriteria? Type959 { get; set; } + public global::OpenRouter.DecisionsNoulAnswerType? Type959 { get; set; } /// /// /// - public global::OpenRouter.DecisionsNoulQuestionType? Type960 { get; set; } + public global::OpenRouter.DecisionsNoulQuestion? Type960 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequest? Type961 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionCriteria? Type961 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type962 { get; set; } + public global::OpenRouter.DecisionsNoulQuestionType? Type962 { get; set; } /// /// /// - public global::OpenRouter.Questions? Type963 { get; set; } + public global::OpenRouter.DecisionsRequest? Type963 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestion? Type964 { get; set; } + public global::OpenRouter.AllOf? Type964 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type965 { get; set; } + public global::OpenRouter.Questions? Type965 { get; set; } /// /// /// - public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type966 { get; set; } + public global::OpenRouter.DecisionsScoreQuestion? Type966 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponse? Type967 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminator? Type967 { get; set; } /// /// /// - public global::OpenRouter.Answers? Type968 { get; set; } + public global::OpenRouter.DecisionsRequestQuestionsDiscriminatorType? Type968 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswer? Type969 { get; set; } + public global::OpenRouter.DecisionsResponse? Type969 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type970 { get; set; } + public global::OpenRouter.Answers? Type970 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type971 { get; set; } + public global::OpenRouter.DecisionsScoreAnswer? Type971 { get; set; } /// /// /// - public global::OpenRouter.DecisionsResponseUsage? Type972 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminator? Type972 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreAnswerType? Type973 { get; set; } + public global::OpenRouter.DecisionsResponseAnswersDiscriminatorType? Type973 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>>? Type974 { get; set; } + public global::OpenRouter.DecisionsResponseUsage? Type974 { get; set; } /// /// /// - public global::OpenRouter.DecisionsScoreQuestionType? Type975 { get; set; } + public global::OpenRouter.DecisionsScoreAnswerType? Type975 { get; set; } /// /// /// - public global::OpenRouter.DefaultParameters? Type976 { get; set; } + public global::System.Collections.Generic.IList>>? Type976 { get; set; } /// /// /// - public global::OpenRouter.DeleteBYOKKeyResponse? Type977 { get; set; } + public global::OpenRouter.DecisionsScoreQuestionType? Type977 { get; set; } /// /// /// - public global::OpenRouter.DeleteGuardrailResponse? Type978 { get; set; } + public global::OpenRouter.DefaultParameters? Type978 { get; set; } /// /// /// - public global::OpenRouter.DeleteInternRequest? Type979 { get; set; } + public global::OpenRouter.DeleteBYOKKeyResponse? Type979 { get; set; } /// /// /// - public global::OpenRouter.DeleteInternResponse? Type980 { get; set; } + public global::OpenRouter.DeleteGuardrailResponse? Type980 { get; set; } /// /// /// - public global::OpenRouter.DeleteObservabilityDestinationResponse? Type981 { get; set; } + public global::OpenRouter.DeleteInternRequest? Type981 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponse? Type982 { get; set; } + public global::OpenRouter.DeleteInternResponse? Type982 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointResponseData? Type983 { get; set; } + public global::OpenRouter.DeleteObservabilityDestinationResponse? Type983 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingResponse? Type984 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponse? Type984 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type985 { get; set; } + public global::OpenRouter.DeletePrivateEndpointResponseData? Type985 { get; set; } /// /// /// - public global::OpenRouter.DeleteWorkspaceResponse? Type986 { get; set; } + public global::OpenRouter.DeleteScimGroupMappingResponse? Type986 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessage? Type987 { get; set; } + public global::OpenRouter.DeleteWorkspaceBudgetResponse? Type987 { get; set; } /// /// /// - public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string, object>? Type988 { get; set; } + public global::OpenRouter.DeleteWorkspaceResponse? Type988 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type989 { get; set; } + public global::OpenRouter.DescriptorUnitV2? Type989 { get; set; } /// /// /// - public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type990 { get; set; } + public global::OpenRouter.EasyInputMessage? Type990 { get; set; } /// /// /// - public global::OpenRouter.InputVideo? Type991 { get; set; } + public global::OpenRouter.AnyOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>, string, object>? Type991 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type992 { get; set; } + public global::System.Collections.Generic.IList?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>>? Type992 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant1? Type993 { get; set; } + public global::OpenRouter.OneOf?, global::OpenRouter.InputFile, global::OpenRouter.InputAudio, global::OpenRouter.InputVideo>? Type993 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessagePhaseVariant2? Type994 { get; set; } + public global::OpenRouter.InputVideo? Type994 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant1? Type995 { get; set; } + public global::OpenRouter.AnyOf? Type995 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant2? Type996 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant1? Type996 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant3? Type997 { get; set; } + public global::OpenRouter.EasyInputMessagePhaseVariant2? Type997 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageRoleVariant4? Type998 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant1? Type998 { get; set; } /// /// /// - public global::OpenRouter.EasyInputMessageType? Type999 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant2? Type999 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1000 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant3? Type1000 { get; set; } /// /// /// - public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1001 { get; set; } + public global::OpenRouter.EasyInputMessageRoleVariant4? Type1001 { get; set; } /// /// /// - public global::OpenRouter.EndpointInfo? Type1002 { get; set; } + public global::OpenRouter.EasyInputMessageType? Type1002 { get; set; } /// /// /// - public global::OpenRouter.EndpointsMetadata? Type1003 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponse? Type1003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1004 { get; set; } + public global::OpenRouter.EdgeNetworkTimeoutResponseErrorData? Type1004 { get; set; } /// /// /// - public global::OpenRouter.EndUser? Type1005 { get; set; } + public global::OpenRouter.EndpointDataPolicyV2? Type1005 { get; set; } /// /// /// - public global::OpenRouter.EndUserResponse? Type1006 { get; set; } + public global::OpenRouter.EndpointDocumentV2? Type1006 { get; set; } /// /// /// - public global::OpenRouter.EnumCapabilityType? Type1007 { get; set; } + public global::System.Collections.Generic.IList? Type1007 { get; set; } /// /// /// - public global::OpenRouter.ErrorEvent? Type1008 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2? Type1008 { get; set; } /// /// /// - public global::OpenRouter.FailableToolCallStatus? Type1009 { get; set; } + public global::System.Collections.Generic.IList? Type1009 { get; set; } /// /// /// - public global::OpenRouter.FailedEvent? Type1010 { get; set; } + public global::System.Collections.Generic.IList? Type1010 { get; set; } /// /// /// - public global::OpenRouter.FailedEventType? Type1011 { get; set; } + public global::OpenRouter.ModelInputV2? Type1011 { get; set; } /// /// /// - public global::OpenRouter.FileCitation? Type1012 { get; set; } + public global::OpenRouter.EndpointOpenrouterV2? Type1012 { get; set; } /// /// /// - public global::OpenRouter.FileCitationType? Type1013 { get; set; } + public global::System.Collections.Generic.IList? Type1013 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponse? Type1014 { get; set; } + public global::OpenRouter.ModelOutputV2? Type1014 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeleted? Type1015 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1015 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeleted? Type1016 { get; set; } + public global::OpenRouter.ParameterDescriptorV2? Type1016 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminator? Type1017 { get; set; } + public global::System.Collections.Generic.IList? Type1017 { get; set; } /// /// /// - public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1018 { get; set; } + public global::OpenRouter.RequestPricingEntryV2? Type1018 { get; set; } /// /// /// - public global::OpenRouter.FileListResponse? Type1019 { get; set; } + public global::OpenRouter.EndpointProviderV2? Type1019 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileList? Type1020 { get; set; } + public global::OpenRouter.EndpointDocumentV2Quantization? Type1020 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileList? Type1021 { get; set; } + public global::OpenRouter.EndpointDocumentV2ServiceTier? Type1021 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminator? Type1022 { get; set; } + public global::OpenRouter.EndpointInfo? Type1022 { get; set; } /// /// /// - public global::OpenRouter.FileListResponseDiscriminatorShape? Type1023 { get; set; } + public global::OpenRouter.EndpointsMetadata? Type1023 { get; set; } /// /// /// - public global::OpenRouter.FileParserPluginId? Type1024 { get; set; } + public global::System.Collections.Generic.IList? Type1024 { get; set; } /// /// /// - public global::OpenRouter.PDFParserOptions? Type1025 { get; set; } + public global::OpenRouter.EndUser? Type1025 { get; set; } /// /// /// - public global::OpenRouter.FilePath? Type1026 { get; set; } + public global::OpenRouter.EndUserResponse? Type1026 { get; set; } /// /// /// - public global::OpenRouter.FilePathType? Type1027 { get; set; } + public global::OpenRouter.EnumCapabilityType? Type1027 { get; set; } /// /// /// - public global::OpenRouter.FileProvider? Type1028 { get; set; } + public global::OpenRouter.ErrorEvent? Type1028 { get; set; } /// /// /// - public global::OpenRouter.FileResponse? Type1029 { get; set; } + public global::OpenRouter.FailableToolCallStatus? Type1029 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFile? Type1030 { get; set; } + public global::OpenRouter.FailedEvent? Type1030 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFile? Type1031 { get; set; } + public global::OpenRouter.FailedEventType? Type1031 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminator? Type1032 { get; set; } + public global::OpenRouter.FileCitation? Type1032 { get; set; } /// /// /// - public global::OpenRouter.FileResponseDiscriminatorShape? Type1033 { get; set; } + public global::OpenRouter.FileCitationType? Type1033 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1034 { get; set; } + public global::OpenRouter.FileDeleteResponse? Type1034 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFilters? Type1035 { get; set; } + public global::OpenRouter.OpenRouterFileDeleted? Type1035 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolFiltersType? Type1036 { get; set; } + public global::OpenRouter.OpenAIFileDeleted? Type1036 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type1037 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminator? Type1037 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1038 { get; set; } + public global::OpenRouter.FileDeleteResponseDiscriminatorShape? Type1038 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1039 { get; set; } + public global::OpenRouter.FileListResponse? Type1039 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptions? Type1040 { get; set; } + public global::OpenRouter.OpenRouterFileList? Type1040 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1041 { get; set; } + public global::OpenRouter.OpenAIFileList? Type1041 { get; set; } /// /// /// - public global::OpenRouter.FileSearchServerToolType? Type1042 { get; set; } + public global::OpenRouter.FileListResponseDiscriminator? Type1042 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolConfig? Type1043 { get; set; } + public global::OpenRouter.FileListResponseDiscriminatorShape? Type1043 { get; set; } /// /// /// - public global::OpenRouter.FilesServerToolType? Type1044 { get; set; } + public global::OpenRouter.FileParserPluginId? Type1044 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponse? Type1045 { get; set; } + public global::OpenRouter.PDFParserOptions? Type1045 { get; set; } /// /// /// - public global::OpenRouter.ForbiddenResponseErrorData? Type1046 { get; set; } + public global::OpenRouter.FilePath? Type1046 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfig? Type1047 { get; set; } + public global::OpenRouter.FilePathType? Type1047 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonObjectConfigType? Type1048 { get; set; } + public global::OpenRouter.FileProvider? Type1048 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfig? Type1049 { get; set; } + public global::OpenRouter.FileResponse? Type1049 { get; set; } /// /// /// - public global::OpenRouter.FormatJsonSchemaConfigType? Type1050 { get; set; } + public global::OpenRouter.OpenRouterFile? Type1050 { get; set; } /// /// /// - public global::OpenRouter.Formats? Type1051 { get; set; } + public global::OpenRouter.OpenAIFile? Type1051 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfig? Type1052 { get; set; } + public global::OpenRouter.FileResponseDiscriminator? Type1052 { get; set; } /// /// /// - public global::OpenRouter.FormatTextConfigType? Type1053 { get; set; } + public global::OpenRouter.FileResponseDiscriminatorShape? Type1053 { get; set; } /// /// /// - public global::OpenRouter.FrameImage? Type1054 { get; set; } + public global::OpenRouter.AnyOf? Type1054 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2? Type1055 { get; set; } + public global::OpenRouter.FileSearchServerToolFilters? Type1055 { get; set; } /// /// /// - public global::OpenRouter.FrameImageVariant2FrameType? Type1056 { get; set; } + public global::OpenRouter.FileSearchServerToolFiltersType? Type1056 { get; set; } /// /// /// - public global::OpenRouter.FreeModelDailyRequests? Type1057 { get; set; } + public global::OpenRouter.AnyOf>>? Type1057 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1058 { get; set; } + public global::System.Collections.Generic.IList>? Type1058 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallArgsDoneEvent? Type1059 { get; set; } + public global::OpenRouter.AnyOf? Type1059 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItem? Type1060 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptions? Type1060 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1061 { get; set; } + public global::OpenRouter.FileSearchServerToolRankingOptionsRanker? Type1061 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemSubagentItem? Type1062 { get; set; } + public global::OpenRouter.FileSearchServerToolType? Type1062 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallItemType? Type1063 { get; set; } + public global::OpenRouter.FilesServerToolConfig? Type1063 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItem? Type1064 { get; set; } + public global::OpenRouter.FilesServerToolType? Type1064 { get; set; } /// /// /// - public global::OpenRouter.FunctionCallOutputItemVariant2? Type1065 { get; set; } + public global::OpenRouter.ForbiddenResponse? Type1065 { get; set; } /// /// /// - public global::OpenRouter.FunctionToolType? Type1066 { get; set; } + public global::OpenRouter.ForbiddenResponseErrorData? Type1066 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResult? Type1067 { get; set; } + public global::OpenRouter.FormatJsonObjectConfig? Type1067 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1068 { get; set; } + public global::OpenRouter.FormatJsonObjectConfigType? Type1068 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradiction? Type1069 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfig? Type1069 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1070 { get; set; } + public global::OpenRouter.FormatJsonSchemaConfigType? Type1070 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1071 { get; set; } + public global::OpenRouter.Formats? Type1071 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1072 { get; set; } + public global::OpenRouter.FormatTextConfig? Type1072 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1073 { get; set; } + public global::OpenRouter.FormatTextConfigType? Type1073 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1074 { get; set; } + public global::OpenRouter.FrameImage? Type1074 { get; set; } /// /// /// - public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1075 { get; set; } + public global::OpenRouter.FrameImageVariant2? Type1075 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1076 { get; set; } + public global::OpenRouter.FrameImageVariant2FrameType? Type1076 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1077 { get; set; } + public global::OpenRouter.FreeModelDailyRequests? Type1077 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1078 { get; set; } + public global::OpenRouter.FunctionCallArgsDeltaEvent? Type1078 { get; set; } /// /// /// - public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1079 { get; set; } + public global::OpenRouter.FunctionCallArgsDoneEvent? Type1079 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEvent? Type1080 { get; set; } + public global::OpenRouter.FunctionCallItem? Type1080 { get; set; } /// /// /// - public global::OpenRouter.FusionCallCompletedEventType? Type1081 { get; set; } + public global::System.Collections.Generic.IList? Type1081 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEvent? Type1082 { get; set; } + public global::OpenRouter.FunctionCallItemSubagentItem? Type1082 { get; set; } /// /// /// - public global::OpenRouter.FusionCallInProgressEventType? Type1083 { get; set; } + public global::OpenRouter.FunctionCallItemType? Type1083 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEvent? Type1084 { get; set; } + public global::OpenRouter.FunctionCallOutputItem? Type1084 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelAddedEventType? Type1085 { get; set; } + public global::OpenRouter.FunctionCallOutputItemVariant2? Type1085 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEvent? Type1086 { get; set; } + public global::OpenRouter.FunctionToolType? Type1086 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelCompletedEventType? Type1087 { get; set; } + public global::OpenRouter.FusionAnalysisResult? Type1087 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEvent? Type1088 { get; set; } + public global::System.Collections.Generic.IList? Type1088 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelDeltaEventType? Type1089 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradiction? Type1089 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEvent? Type1090 { get; set; } + public global::System.Collections.Generic.IList? Type1090 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelFailedEventType? Type1091 { get; set; } + public global::OpenRouter.FusionAnalysisResultContradictionStance? Type1091 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1092 { get; set; } + public global::System.Collections.Generic.IList? Type1092 { get; set; } /// /// /// - public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1093 { get; set; } + public global::OpenRouter.FusionAnalysisResultPartialCoverageItem? Type1093 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginId? Type1094 { get; set; } + public global::System.Collections.Generic.IList? Type1094 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginPreset? Type1095 { get; set; } + public global::OpenRouter.FusionAnalysisResultUniqueInsight? Type1095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1096 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEvent? Type1096 { get; set; } /// /// /// - public global::OpenRouter.FusionPluginTool? Type1097 { get; set; } + public global::OpenRouter.FusionCallAnalysisCompletedEventType? Type1097 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, object, object>? Type1098 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEvent? Type1098 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1099 { get; set; } + public global::OpenRouter.FusionCallAnalysisInProgressEventType? Type1099 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1100 { get; set; } + public global::OpenRouter.FusionCallCompletedEvent? Type1100 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfig? Type1101 { get; set; } + public global::OpenRouter.FusionCallCompletedEventType? Type1101 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolOpenRouterType? Type1102 { get; set; } + public global::OpenRouter.FusionCallInProgressEvent? Type1102 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoning? Type1103 { get; set; } + public global::OpenRouter.FusionCallInProgressEventType? Type1103 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1104 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEvent? Type1104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1105 { get; set; } + public global::OpenRouter.FusionCallPanelAddedEventType? Type1105 { get; set; } /// /// /// - public global::OpenRouter.FusionServerToolConfigTool? Type1106 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEvent? Type1106 { get; set; } /// /// /// - public global::OpenRouter.FusionSource? Type1107 { get; set; } + public global::OpenRouter.FusionCallPanelCompletedEventType? Type1107 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponse? Type1108 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEvent? Type1108 { get; set; } /// /// /// - public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1109 { get; set; } + public global::OpenRouter.FusionCallPanelDeltaEventType? Type1109 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentData? Type1110 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEvent? Type1110 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentError? Type1111 { get; set; } + public global::OpenRouter.FusionCallPanelFailedEventType? Type1111 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1112 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEvent? Type1112 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant1? Type1113 { get; set; } + public global::OpenRouter.FusionCallPanelReasoningDeltaEventType? Type1113 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataInputVariant2? Type1114 { get; set; } + public global::OpenRouter.FusionPluginId? Type1114 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentDataOutput? Type1115 { get; set; } + public global::OpenRouter.FusionPluginPreset? Type1115 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1116 { get; set; } + public global::System.Collections.Generic.IList? Type1116 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentErrorAttempt? Type1117 { get; set; } + public global::OpenRouter.FusionPluginTool? Type1117 { get; set; } /// /// /// - public global::OpenRouter.GenerationContentResponse? Type1118 { get; set; } + public global::OpenRouter.AnyOf>, object, object>? Type1118 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponse? Type1119 { get; set; } + public global::System.Collections.Generic.IList>? Type1119 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseData? Type1120 { get; set; } + public global::OpenRouter.AnyOf? Type1120 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataApiType? Type1121 { get; set; } + public global::OpenRouter.FusionServerToolConfig? Type1121 { get; set; } /// /// /// - public global::OpenRouter.GenerationResponseDataDataRegion? Type1122 { get; set; } + public global::OpenRouter.FusionServerToolOpenRouterType? Type1122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1123 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoning? Type1123 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponse? Type1124 { get; set; } + public global::OpenRouter.FusionServerToolConfigReasoningEffort? Type1124 { get; set; } /// /// /// - public global::OpenRouter.GetBYOKKeyResponse? Type1125 { get; set; } + public global::System.Collections.Generic.IList? Type1125 { get; set; } /// /// /// - public global::OpenRouter.GetGuardrailResponse? Type1126 { get; set; } + public global::OpenRouter.FusionServerToolConfigTool? Type1126 { get; set; } /// /// /// - public global::OpenRouter.GetObservabilityDestinationResponse? Type1127 { get; set; } + public global::OpenRouter.FusionSource? Type1127 { get; set; } /// /// /// - public global::OpenRouter.GetPresetResponse? Type1128 { get; set; } + public global::OpenRouter.GatewayTimeoutResponse? Type1128 { get; set; } /// /// /// - public global::OpenRouter.GetPresetVersionResponse? Type1129 { get; set; } + public global::OpenRouter.GatewayTimeoutResponseErrorData? Type1129 { get; set; } /// /// /// - public global::OpenRouter.PresetDesignatedVersion? Type1130 { get; set; } + public global::OpenRouter.GenerationContentData? Type1130 { get; set; } /// /// /// - public global::OpenRouter.GetScimGroupMappingResponse? Type1131 { get; set; } + public global::OpenRouter.GenerationContentError? Type1131 { get; set; } /// /// /// - public global::OpenRouter.GetScimSyncJobResponse? Type1132 { get; set; } + public global::OpenRouter.AnyOf? Type1132 { get; set; } /// /// /// - public global::OpenRouter.GetToolResponse? Type1133 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant1? Type1133 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetails? Type1134 { get; set; } + public global::OpenRouter.GenerationContentDataInputVariant2? Type1134 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceBudgetResponse? Type1135 { get; set; } + public global::OpenRouter.GenerationContentDataOutput? Type1135 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1136 { get; set; } + public global::System.Collections.Generic.IList? Type1136 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudget? Type1137 { get; set; } + public global::OpenRouter.GenerationContentErrorAttempt? Type1137 { get; set; } /// /// /// - public global::OpenRouter.GetWorkspaceResponse? Type1138 { get; set; } + public global::OpenRouter.GenerationContentResponse? Type1138 { get; set; } /// /// /// - public global::OpenRouter.GoneResponse? Type1139 { get; set; } + public global::OpenRouter.GenerationResponse? Type1139 { get; set; } /// /// /// - public global::OpenRouter.GoneResponseErrorData? Type1140 { get; set; } + public global::OpenRouter.GenerationResponseData? Type1140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1141 { get; set; } + public global::OpenRouter.GenerationResponseDataApiType? Type1141 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1142 { get; set; } + public global::OpenRouter.GenerationResponseDataDataRegion? Type1142 { get; set; } /// /// /// - public global::OpenRouter.ImageEndpoint? Type1143 { get; set; } + public global::System.Collections.Generic.IList? Type1143 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1144 { get; set; } + public global::OpenRouter.ProviderResponse? Type1144 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntry? Type1145 { get; set; } + public global::OpenRouter.GetBYOKKeyResponse? Type1145 { get; set; } /// /// /// - public global::OpenRouter.AllOf, object>? Type1146 { get; set; } + public global::OpenRouter.GetGuardrailResponse? Type1146 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1147 { get; set; } + public global::OpenRouter.GetObservabilityDestinationResponse? Type1147 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallCompletedEvent? Type1148 { get; set; } + public global::OpenRouter.GetPresetResponse? Type1148 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1149 { get; set; } + public global::OpenRouter.GetPresetVersionResponse? Type1149 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallGeneratingEvent? Type1150 { get; set; } + public global::OpenRouter.PresetDesignatedVersion? Type1150 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1151 { get; set; } + public global::OpenRouter.GetScimGroupMappingResponse? Type1151 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallInProgressEvent? Type1152 { get; set; } + public global::OpenRouter.GetScimSyncJobResponse? Type1152 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1153 { get; set; } + public global::OpenRouter.GetToolResponse? Type1153 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCallPartialImageEvent? Type1154 { get; set; } + public global::OpenRouter.ServerToolDetails? Type1154 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1155 { get; set; } + public global::OpenRouter.GetWorkspaceBudgetResponse? Type1155 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEvent? Type1156 { get; set; } + public global::OpenRouter.AllOf? Type1156 { get; set; } /// /// /// - public global::OpenRouter.ImageGenCompletedEventType? Type1157 { get; set; } + public global::OpenRouter.WorkspaceBudget? Type1157 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsage? Type1158 { get; set; } + public global::OpenRouter.GetWorkspaceResponse? Type1158 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationProviderPreferences? Type1159 { get; set; } + public global::OpenRouter.GoneResponse? Type1159 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1160 { get; set; } + public global::OpenRouter.GoneResponseErrorData? Type1160 { get; set; } /// /// /// - public global::OpenRouter.ProviderOptions? Type1161 { get; set; } + public global::System.Collections.Generic.IList? Type1161 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1162 { get; set; } + public global::OpenRouter.AnyOf>? Type1162 { get; set; } /// /// /// - public global::OpenRouter.ProviderSort? Type1163 { get; set; } + public global::OpenRouter.ImageEndpoint? Type1163 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfig? Type1164 { get; set; } + public global::System.Collections.Generic.IList? Type1164 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequest? Type1165 { get; set; } + public global::OpenRouter.ImagePricingEntry? Type1165 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1166 { get; set; } + public global::OpenRouter.AllOf, object>? Type1166 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestBackground? Type1167 { get; set; } + public global::System.Collections.Generic.Dictionary? Type1167 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1168 { get; set; } + public global::OpenRouter.ImageGenCallCompletedEvent? Type1168 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1169 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompleted? Type1169 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestQuality? Type1170 { get; set; } + public global::OpenRouter.ImageGenCallGeneratingEvent? Type1170 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationRequestResolution? Type1171 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGenerating? Type1171 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponse? Type1172 { get; set; } + public global::OpenRouter.ImageGenCallInProgressEvent? Type1172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1173 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgress? Type1173 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationResponseDataItem? Type1174 { get; set; } + public global::OpenRouter.ImageGenCallPartialImageEvent? Type1174 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolBackground? Type1175 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImage? Type1175 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1176 { get; set; } + public global::OpenRouter.ImageGenCompletedEvent? Type1176 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1177 { get; set; } + public global::OpenRouter.ImageGenCompletedEventType? Type1177 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolModeration? Type1178 { get; set; } + public global::OpenRouter.ImageGenerationUsage? Type1178 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1179 { get; set; } + public global::OpenRouter.ImageGenerationProviderPreferences? Type1179 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolQuality? Type1180 { get; set; } + public global::OpenRouter.AllOf? Type1180 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolType? Type1181 { get; set; } + public global::OpenRouter.ProviderOptions? Type1181 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolConfig? Type1182 { get; set; } + public global::OpenRouter.AnyOf? Type1182 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1183 { get; set; } + public global::OpenRouter.ProviderSort? Type1183 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationStatus? Type1184 { get; set; } + public global::OpenRouter.ProviderSortConfig? Type1184 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1185 { get; set; } + public global::OpenRouter.ImageGenerationRequest? Type1185 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1186 { get; set; } + public global::OpenRouter.ImageGenerationRequestAspectRatio? Type1186 { get; set; } /// /// /// - public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1187 { get; set; } + public global::OpenRouter.ImageGenerationRequestBackground? Type1187 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEvent? Type1188 { get; set; } + public global::System.Collections.Generic.IList? Type1188 { get; set; } /// /// /// - public global::OpenRouter.ImageGenPartialImageEventType? Type1189 { get; set; } + public global::OpenRouter.ImageGenerationRequestOutputFormat? Type1189 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEvent? Type1190 { get; set; } + public global::OpenRouter.ImageGenerationRequestQuality? Type1190 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventError? Type1191 { get; set; } + public global::OpenRouter.ImageGenerationRequestResolution? Type1191 { get; set; } /// /// /// - public global::OpenRouter.ImageGenStreamErrorEventType? Type1192 { get; set; } + public global::OpenRouter.ImageGenerationResponse? Type1192 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEvent? Type1193 { get; set; } + public global::System.Collections.Generic.IList? Type1193 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventPhase? Type1194 { get; set; } + public global::OpenRouter.ImageGenerationResponseDataItem? Type1194 { get; set; } /// /// /// - public global::OpenRouter.ImageGenTextChunkEventType? Type1195 { get; set; } + public global::OpenRouter.ImageGenerationServerToolBackground? Type1195 { get; set; } /// /// /// - public global::OpenRouter.ImageInputModality? Type1196 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputFidelity? Type1196 { get; set; } /// /// /// - public global::OpenRouter.ImageModelArchitecture? Type1197 { get; set; } + public global::OpenRouter.ImageGenerationServerToolInputImageMask? Type1197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1198 { get; set; } + public global::OpenRouter.ImageGenerationServerToolModeration? Type1198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1199 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOutputFormat? Type1199 { get; set; } /// /// /// - public global::OpenRouter.ImageOutputModality? Type1200 { get; set; } + public global::OpenRouter.ImageGenerationServerToolQuality? Type1200 { get; set; } /// /// /// - public global::OpenRouter.ImageModelEndpointsResponse? Type1201 { get; set; } + public global::OpenRouter.ImageGenerationServerToolType? Type1201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1202 { get; set; } + public global::OpenRouter.ImageGenerationServerToolConfig? Type1202 { get; set; } /// /// /// - public global::OpenRouter.ImageModelListItem? Type1203 { get; set; } + public global::OpenRouter.ImageGenerationServerToolOpenRouterType? Type1203 { get; set; } /// /// /// - public global::OpenRouter.ImageModelsListResponse? Type1204 { get; set; } + public global::OpenRouter.ImageGenerationStatus? Type1204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1205 { get; set; } + public global::OpenRouter.ImageGenerationUsageCompletionTokensDetails? Type1205 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryBillable? Type1206 { get; set; } + public global::OpenRouter.ImageGenerationUsagePromptTokensDetails? Type1206 { get; set; } /// /// /// - public global::OpenRouter.ImagePricingEntryUnit? Type1207 { get; set; } + public global::OpenRouter.ImageGenerationUsageServerToolUse? Type1207 { get; set; } /// /// /// - public global::OpenRouter.ImageStreamingResponse? Type1208 { get; set; } + public global::OpenRouter.ImageGenPartialImageEvent? Type1208 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1209 { get; set; } + public global::OpenRouter.ImageGenPartialImageEventType? Type1209 { get; set; } /// /// /// - public global::OpenRouter.IncompleteDetailsReason? Type1210 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEvent? Type1210 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEvent? Type1211 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventError? Type1211 { get; set; } /// /// /// - public global::OpenRouter.IncompleteEventType? Type1212 { get; set; } + public global::OpenRouter.ImageGenStreamErrorEventType? Type1212 { get; set; } /// /// /// - public global::OpenRouter.InProgressEvent? Type1213 { get; set; } + public global::OpenRouter.ImageGenTextChunkEvent? Type1213 { get; set; } /// /// /// - public global::OpenRouter.InProgressEventType? Type1214 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventPhase? Type1214 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1? Type1215 { get; set; } + public global::OpenRouter.ImageGenTextChunkEventType? Type1215 { get; set; } /// /// /// - public global::OpenRouter.InputAudioInputAudio1Format? Type1216 { get; set; } + public global::OpenRouter.ImageInputModality? Type1216 { get; set; } /// /// /// - public global::OpenRouter.InputAudioType? Type1217 { get; set; } + public global::OpenRouter.ImageModelArchitecture? Type1217 { get; set; } /// /// /// - public global::OpenRouter.InputFileType? Type1218 { get; set; } + public global::System.Collections.Generic.IList? Type1218 { get; set; } /// /// /// - public global::OpenRouter.InputImageDetail? Type1219 { get; set; } + public global::System.Collections.Generic.IList? Type1219 { get; set; } /// /// /// - public global::OpenRouter.InputImageType? Type1220 { get; set; } + public global::OpenRouter.ImageOutputModality? Type1220 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItem? Type1221 { get; set; } + public global::OpenRouter.ImageModelEndpointsResponse? Type1221 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1222 { get; set; } + public global::System.Collections.Generic.IList? Type1222 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant1? Type1223 { get; set; } + public global::OpenRouter.ImageModelListItem? Type1223 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant2? Type1224 { get; set; } + public global::OpenRouter.ImageModelsListResponse? Type1224 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemRoleVariant3? Type1225 { get; set; } + public global::System.Collections.Generic.IList? Type1225 { get; set; } /// /// /// - public global::OpenRouter.InputMessageItemType? Type1226 { get; set; } + public global::OpenRouter.ImagePricingEntryBillable? Type1226 { get; set; } /// /// /// - public global::OpenRouter.InputModality? Type1227 { get; set; } + public global::OpenRouter.ImagePricingEntryUnit? Type1227 { get; set; } /// /// /// - public global::OpenRouter.InputReference? Type1228 { get; set; } + public global::OpenRouter.ImageStreamingResponse? Type1228 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminator? Type1229 { get; set; } + public global::OpenRouter.AnyOf? Type1229 { get; set; } /// /// /// - public global::OpenRouter.InputReferenceDiscriminatorType? Type1230 { get; set; } + public global::OpenRouter.IncompleteDetailsReason? Type1230 { get; set; } /// /// /// - public global::OpenRouter.Inputs? Type1231 { get; set; } + public global::OpenRouter.IncompleteEvent? Type1231 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItem? Type1232 { get; set; } + public global::OpenRouter.IncompleteEventType? Type1232 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1233 { get; set; } + public global::OpenRouter.InProgressEvent? Type1233 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageItem? Type1234 { get; set; } + public global::OpenRouter.InProgressEventType? Type1234 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant82? Type1235 { get; set; } + public global::OpenRouter.InputAudioInputAudio1? Type1235 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, string, object>? Type1236 { get; set; } + public global::OpenRouter.InputAudioInputAudio1Format? Type1236 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1237 { get; set; } + public global::OpenRouter.InputAudioType? Type1237 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1238 { get; set; } + public global::OpenRouter.InputCapacityEntryV2? Type1238 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1239 { get; set; } + public global::OpenRouter.InputCapacityEntryV2Per? Type1239 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItem? Type1240 { get; set; } + public global::OpenRouter.InputCapacityEntryV2Type? Type1240 { get; set; } /// /// /// - public global::OpenRouter.InputsVariant2ItemVariant92? Type1241 { get; set; } + public global::OpenRouter.InputPricingUnitV2? Type1241 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1242 { get; set; } + public global::OpenRouter.InputFileType? Type1242 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchCallItem? Type1243 { get; set; } + public global::OpenRouter.InputImageDetail? Type1243 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchCallItem? Type1244 { get; set; } + public global::OpenRouter.InputImageType? Type1244 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItem? Type1245 { get; set; } + public global::OpenRouter.InputMessageItem? Type1245 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterCallItem? Type1246 { get; set; } + public global::OpenRouter.AnyOf? Type1246 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItem? Type1247 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant1? Type1247 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItem? Type1248 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant2? Type1248 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItem? Type1249 { get; set; } + public global::OpenRouter.InputMessageItemRoleVariant3? Type1249 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1250 { get; set; } + public global::OpenRouter.InputMessageItemType? Type1250 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItem? Type1251 { get; set; } + public global::OpenRouter.InputModality? Type1251 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItem? Type1252 { get; set; } + public global::OpenRouter.InputPricingEntryV2? Type1252 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItem? Type1253 { get; set; } + public global::OpenRouter.InputPricingEntryV2Variant1? Type1253 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItem? Type1254 { get; set; } + public global::System.Collections.Generic.IList? Type1254 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItem? Type1255 { get; set; } + public global::OpenRouter.PricingOverrideV2? Type1255 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItem? Type1256 { get; set; } + public global::OpenRouter.InputPricingEntryV2Variant1Type? Type1256 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItem? Type1257 { get; set; } + public global::System.Collections.Generic.IList? Type1257 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItem? Type1258 { get; set; } + public global::OpenRouter.UtcDayV2? Type1258 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItem? Type1259 { get; set; } + public global::OpenRouter.InputPricingEntryV2Variant2? Type1259 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItem? Type1260 { get; set; } + public global::OpenRouter.InputPricingEntryV2Variant2Type? Type1260 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItem? Type1261 { get; set; } + public global::OpenRouter.InputPricingEntryV2Variant3? Type1261 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItem? Type1262 { get; set; } + public global::OpenRouter.InputPricingEntryV2Variant3Type? Type1262 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItem? Type1263 { get; set; } + public global::OpenRouter.InputReference? Type1263 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItem? Type1264 { get; set; } + public global::OpenRouter.InputReferenceDiscriminator? Type1264 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItem? Type1265 { get; set; } + public global::OpenRouter.InputReferenceDiscriminatorType? Type1265 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItem? Type1266 { get; set; } + public global::OpenRouter.Inputs? Type1266 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItem? Type1267 { get; set; } + public global::OpenRouter.ReasoningItem? Type1267 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItem? Type1268 { get; set; } + public global::OpenRouter.AllOf? Type1268 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItem? Type1269 { get; set; } + public global::OpenRouter.OutputMessageItem? Type1269 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItem? Type1270 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant82? Type1270 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItem? Type1271 { get; set; } + public global::OpenRouter.AnyOf>, string, object>? Type1271 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItem? Type1272 { get; set; } + public global::System.Collections.Generic.IList>? Type1272 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItem? Type1273 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant8Type? Type1273 { get; set; } /// /// /// - public global::OpenRouter.McpCallItem? Type1274 { get; set; } + public global::OpenRouter.AllOf? Type1274 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItem? Type1275 { get; set; } + public global::OpenRouter.OutputReasoningItem? Type1275 { get; set; } /// /// /// - public global::OpenRouter.InputTextType? Type1276 { get; set; } + public global::OpenRouter.InputsVariant2ItemVariant92? Type1276 { get; set; } /// /// /// - public global::OpenRouter.InputVideoProcessing? Type1277 { get; set; } + public global::System.Collections.Generic.IList? Type1277 { get; set; } /// /// /// - public global::OpenRouter.InputVideoType? Type1278 { get; set; } + public global::OpenRouter.OutputWebSearchCallItem? Type1278 { get; set; } /// /// /// - public global::OpenRouter.InstructType? Type1279 { get; set; } + public global::OpenRouter.OutputFileSearchCallItem? Type1279 { get; set; } /// /// /// - public global::OpenRouter.Intern? Type1280 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItem? Type1280 { get; set; } /// /// /// - public global::OpenRouter.InternProgress? Type1281 { get; set; } + public global::OpenRouter.OutputCodeInterpreterCallItem? Type1281 { get; set; } /// /// /// - public global::OpenRouter.InternStatus? Type1282 { get; set; } + public global::OpenRouter.OutputComputerCallItem? Type1282 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponse? Type1283 { get; set; } + public global::OpenRouter.OutputDatetimeItem? Type1283 { get; set; } /// /// /// - public global::OpenRouter.InternalServerResponseErrorData? Type1284 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItem? Type1284 { get; set; } /// /// /// - public global::OpenRouter.InternApprovalMode? Type1285 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItem? Type1285 { get; set; } /// /// /// - public global::OpenRouter.InternChatAssistantMessage? Type1286 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItem? Type1286 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageContent? Type1287 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItem? Type1287 { get; set; } /// /// /// - public global::OpenRouter.InternChatAssistantMessageRole? Type1288 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItem? Type1288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1289 { get; set; } + public global::OpenRouter.OutputBashServerToolItem? Type1289 { get; set; } /// /// /// - public global::OpenRouter.InternChatEchoedToolCall? Type1290 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItem? Type1290 { get; set; } /// /// /// - public global::OpenRouter.InternChatChoice? Type1291 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItem? Type1291 { get; set; } /// /// /// - public global::OpenRouter.InternChatDelta? Type1292 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItem? Type1292 { get; set; } /// /// /// - public global::OpenRouter.InternChatChoiceFinishReason? Type1293 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItem? Type1293 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionChunk? Type1294 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItem? Type1294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1295 { get; set; } + public global::OpenRouter.OutputMcpServerToolItem? Type1295 { get; set; } /// /// /// - public global::OpenRouter.InternChatStreamError? Type1296 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItem? Type1296 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionChunkObject? Type1297 { get; set; } + public global::OpenRouter.OutputFusionServerToolItem? Type1297 { get; set; } /// /// /// - public global::OpenRouter.InternChatUsage? Type1298 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItem? Type1298 { get; set; } /// /// /// - public global::OpenRouter.InternChatCompletionRequest? Type1299 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItem? Type1299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1300 { get; set; } + public global::OpenRouter.OutputFilesServerToolItem? Type1300 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessage? Type1301 { get; set; } + public global::OpenRouter.OutputShellServerToolItem? Type1301 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeltaRole? Type1302 { get; set; } + public global::OpenRouter.LocalShellCallItem? Type1302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1303 { get; set; } + public global::OpenRouter.LocalShellCallOutputItem? Type1303 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCall? Type1304 { get; set; } + public global::OpenRouter.ShellCallItem? Type1304 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeveloperMessage? Type1305 { get; set; } + public global::OpenRouter.ShellCallOutputItem? Type1305 { get; set; } /// /// /// - public global::OpenRouter.InternChatDeveloperMessageRole? Type1306 { get; set; } + public global::OpenRouter.McpListToolsItem? Type1306 { get; set; } /// /// /// - public global::OpenRouter.InternChatEchoedToolCallFunction? Type1307 { get; set; } + public global::OpenRouter.McpApprovalRequestItem? Type1307 { get; set; } /// /// /// - public global::OpenRouter.InternChatError? Type1308 { get; set; } + public global::OpenRouter.McpApprovalResponseItem? Type1308 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorMetadata? Type1309 { get; set; } + public global::OpenRouter.McpCallItem? Type1309 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorMetadataReason? Type1310 { get; set; } + public global::OpenRouter.ItemReferenceItem? Type1310 { get; set; } /// /// /// - public global::OpenRouter.InternChatErrorResponse? Type1311 { get; set; } + public global::OpenRouter.InputTextType? Type1311 { get; set; } /// /// /// - public global::OpenRouter.InternChatSystemMessage? Type1312 { get; set; } + public global::OpenRouter.InputVideoProcessing? Type1312 { get; set; } /// /// /// - public global::OpenRouter.InternChatUserMessage? Type1313 { get; set; } + public global::OpenRouter.InputVideoType? Type1313 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolMessage? Type1314 { get; set; } + public global::OpenRouter.InstructType? Type1314 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageDiscriminator? Type1315 { get; set; } + public global::OpenRouter.Intern? Type1315 { get; set; } /// /// /// - public global::OpenRouter.InternChatMessageDiscriminatorRole? Type1316 { get; set; } + public global::OpenRouter.InternProgress? Type1316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1317 { get; set; } + public global::OpenRouter.InternStatus? Type1317 { get; set; } /// /// /// - public global::OpenRouter.InternChatTextPart? Type1318 { get; set; } + public global::OpenRouter.InternalServerResponse? Type1318 { get; set; } /// /// /// - public global::OpenRouter.InternChatPromptTokensDetails? Type1319 { get; set; } + public global::OpenRouter.InternalServerResponseErrorData? Type1319 { get; set; } /// /// /// - public global::OpenRouter.InternChatSteeredResponse? Type1320 { get; set; } + public global::OpenRouter.InternApprovalMode? Type1320 { get; set; } /// /// /// - public global::OpenRouter.InternChatSteeredResponseStatus? Type1321 { get; set; } + public global::OpenRouter.InternChatAssistantMessage? Type1321 { get; set; } /// /// /// - public global::OpenRouter.InternChatStreamingResponse? Type1322 { get; set; } + public global::OpenRouter.InternChatMessageContent? Type1322 { get; set; } /// /// /// - public global::OpenRouter.InternChatSystemMessageRole? Type1323 { get; set; } + public global::OpenRouter.InternChatAssistantMessageRole? Type1323 { get; set; } /// /// /// - public global::OpenRouter.InternChatTextPartType? Type1324 { get; set; } + public global::System.Collections.Generic.IList? Type1324 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallFunction? Type1325 { get; set; } + public global::OpenRouter.InternChatEchoedToolCall? Type1325 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallType? Type1326 { get; set; } + public global::OpenRouter.InternChatChoice? Type1326 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolCallFunctionName? Type1327 { get; set; } + public global::OpenRouter.InternChatDelta? Type1327 { get; set; } /// /// /// - public global::OpenRouter.InternChatToolMessageRole? Type1328 { get; set; } + public global::OpenRouter.InternChatChoiceFinishReason? Type1328 { get; set; } /// /// /// - public global::OpenRouter.InternChatUserMessageRole? Type1329 { get; set; } + public global::OpenRouter.InternChatCompletionChunk? Type1329 { get; set; } /// /// /// - public global::OpenRouter.InternDaemonAccess? Type1330 { get; set; } + public global::System.Collections.Generic.IList? Type1330 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeAcceptedResponse? Type1331 { get; set; } + public global::OpenRouter.InternChatStreamError? Type1331 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeAcceptedResponseStatus? Type1332 { get; set; } + public global::OpenRouter.InternChatCompletionChunkObject? Type1332 { get; set; } /// /// /// - public global::OpenRouter.InternInvokeRequest? Type1333 { get; set; } + public global::OpenRouter.InternChatUsage? Type1333 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleError? Type1334 { get; set; } + public global::OpenRouter.InternChatCompletionRequest? Type1334 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleErrorError? Type1335 { get; set; } + public global::System.Collections.Generic.IList? Type1335 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1336 { get; set; } + public global::OpenRouter.InternChatMessage? Type1336 { get; set; } /// /// /// - public global::OpenRouter.InternLifecycleErrorErrorMetadata? Type1337 { get; set; } + public global::OpenRouter.InternChatDeltaRole? Type1337 { get; set; } /// /// /// - public global::OpenRouter.InternListResponse? Type1338 { get; set; } + public global::System.Collections.Generic.IList? Type1338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1339 { get; set; } + public global::OpenRouter.InternChatToolCall? Type1339 { get; set; } /// /// /// - public global::OpenRouter.ItemReferenceItemType? Type1340 { get; set; } + public global::OpenRouter.InternChatDeveloperMessage? Type1340 { get; set; } /// /// /// - public global::OpenRouter.JevRouterPluginId? Type1341 { get; set; } + public global::OpenRouter.InternChatDeveloperMessageRole? Type1341 { get; set; } /// /// /// - public global::OpenRouter.KeyAssignment? Type1342 { get; set; } + public global::OpenRouter.InternChatEchoedToolCallFunction? Type1342 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoType? Type1343 { get; set; } + public global::OpenRouter.InternChatError? Type1343 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInput? Type1344 { get; set; } + public global::OpenRouter.InternChatErrorMetadata? Type1344 { get; set; } /// /// /// - public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1345 { get; set; } + public global::OpenRouter.InternChatErrorMetadataReason? Type1345 { get; set; } /// /// /// - public global::OpenRouter.WebSearchDomainFilter? Type1346 { get; set; } + public global::OpenRouter.InternChatErrorResponse? Type1346 { get; set; } /// /// /// - public global::OpenRouter.SearchContextSizeEnum? Type1347 { get; set; } + public global::OpenRouter.InternChatSystemMessage? Type1347 { get; set; } /// /// /// - public global::OpenRouter.LegacyWebSearchServerToolType? Type1348 { get; set; } + public global::OpenRouter.InternChatUserMessage? Type1348 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocation? Type1349 { get; set; } + public global::OpenRouter.InternChatToolMessage? Type1349 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysResponse? Type1350 { get; set; } + public global::OpenRouter.InternChatMessageDiscriminator? Type1350 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1351 { get; set; } + public global::OpenRouter.InternChatMessageDiscriminatorRole? Type1351 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse? Type1352 { get; set; } + public global::System.Collections.Generic.IList? Type1352 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1353 { get; set; } + public global::OpenRouter.InternChatTextPart? Type1353 { get; set; } /// /// /// - public global::OpenRouter.ModelArchitecture? Type1354 { get; set; } + public global::OpenRouter.InternChatPromptTokensDetails? Type1354 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponseArchitecture? Type1355 { get; set; } + public global::OpenRouter.InternChatSteeredResponse? Type1355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1356 { get; set; } + public global::OpenRouter.InternChatSteeredResponseStatus? Type1356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1357 { get; set; } + public global::OpenRouter.InternChatStreamingResponse? Type1357 { get; set; } /// /// /// - public global::OpenRouter.OutputModality? Type1358 { get; set; } + public global::OpenRouter.InternChatSystemMessageRole? Type1358 { get; set; } /// /// /// - public global::OpenRouter.ModelGroup? Type1359 { get; set; } + public global::OpenRouter.InternChatTextPartType? Type1359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1360 { get; set; } + public global::OpenRouter.InternChatToolCallFunction? Type1360 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpoint? Type1361 { get; set; } + public global::OpenRouter.InternChatToolCallType? Type1361 { get; set; } /// /// /// - public global::OpenRouter.ListEndUsersResponse? Type1362 { get; set; } + public global::OpenRouter.InternChatToolCallFunctionName? Type1362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1363 { get; set; } + public global::OpenRouter.InternChatToolMessageRole? Type1363 { get; set; } /// /// /// - public global::OpenRouter.ListGuardrailsResponse? Type1364 { get; set; } + public global::OpenRouter.InternChatUserMessageRole? Type1364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1365 { get; set; } + public global::OpenRouter.InternDaemonAccess? Type1365 { get; set; } /// /// /// - public global::OpenRouter.ListKeyAssignmentsResponse? Type1366 { get; set; } + public global::OpenRouter.InternInvokeAcceptedResponse? Type1366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1367 { get; set; } + public global::OpenRouter.InternInvokeAcceptedResponseStatus? Type1367 { get; set; } /// /// /// - public global::OpenRouter.ListMemberAssignmentsResponse? Type1368 { get; set; } + public global::OpenRouter.InternInvokeRequest? Type1368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1369 { get; set; } + public global::OpenRouter.InternLifecycleError? Type1369 { get; set; } /// /// /// - public global::OpenRouter.MemberAssignment? Type1370 { get; set; } + public global::OpenRouter.InternLifecycleErrorError? Type1370 { get; set; } /// /// /// - public global::OpenRouter.ListObservabilityDestinationsResponse? Type1371 { get; set; } + public global::OpenRouter.AnyOf? Type1371 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1372 { get; set; } + public global::OpenRouter.InternLifecycleErrorErrorMetadata? Type1372 { get; set; } /// /// /// - public global::OpenRouter.ListPresetsResponse? Type1373 { get; set; } + public global::OpenRouter.InternListResponse? Type1373 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1374 { get; set; } + public global::System.Collections.Generic.IList? Type1374 { get; set; } /// /// /// - public global::OpenRouter.Preset? Type1375 { get; set; } + public global::OpenRouter.ItemReferenceItemType? Type1375 { get; set; } /// /// /// - public global::OpenRouter.ListPresetVersionsResponse? Type1376 { get; set; } + public global::OpenRouter.JevRouterPluginId? Type1376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1377 { get; set; } + public global::OpenRouter.KeyAssignment? Type1377 { get; set; } /// /// /// - public global::OpenRouter.ListPrivateEndpointsResponse? Type1378 { get; set; } + public global::OpenRouter.LegacyChatContentVideoType? Type1378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1379 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInput? Type1379 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointSummary? Type1380 { get; set; } + public global::OpenRouter.LegacyChatContentVideoInputProcessing? Type1380 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupMappingsResponse? Type1381 { get; set; } + public global::OpenRouter.WebSearchDomainFilter? Type1381 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1382 { get; set; } + public global::OpenRouter.SearchContextSizeEnum? Type1382 { get; set; } /// /// /// - public global::OpenRouter.ListScimGroupsResponse? Type1383 { get; set; } + public global::OpenRouter.LegacyWebSearchServerToolType? Type1383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1384 { get; set; } + public global::OpenRouter.WebSearchUserLocation? Type1384 { get; set; } /// /// /// - public global::OpenRouter.ScimGroup? Type1385 { get; set; } + public global::OpenRouter.ListBYOKKeysResponse? Type1385 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponse? Type1386 { get; set; } + public global::System.Collections.Generic.IList? Type1386 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1387 { get; set; } + public global::OpenRouter.ListEndpointsResponse? Type1387 { get; set; } /// /// /// - public global::OpenRouter.ServerTool? Type1388 { get; set; } + public global::OpenRouter.AllOf? Type1388 { get; set; } /// /// /// - public global::OpenRouter.ListToolsResponseLinks? Type1389 { get; set; } + public global::OpenRouter.ModelArchitecture? Type1389 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1390 { get; set; } + public global::OpenRouter.ListEndpointsResponseArchitecture? Type1390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1391 { get; set; } + public global::System.Collections.Generic.IList? Type1391 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspaceMembersResponse? Type1392 { get; set; } + public global::System.Collections.Generic.IList? Type1392 { get; set; } /// /// /// - public global::OpenRouter.ListWorkspacesResponse? Type1393 { get; set; } + public global::OpenRouter.OutputModality? Type1393 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1394 { get; set; } + public global::OpenRouter.ModelGroup? Type1394 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemAction? Type1395 { get; set; } + public global::System.Collections.Generic.IList? Type1395 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemActionType? Type1396 { get; set; } + public global::OpenRouter.PublicEndpoint? Type1396 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallItemType? Type1397 { get; set; } + public global::OpenRouter.ListEndUsersResponse? Type1397 { get; set; } /// /// /// - public global::OpenRouter.LocalShellCallOutputItemType? Type1398 { get; set; } + public global::System.Collections.Generic.IList? Type1398 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1399 { get; set; } + public global::OpenRouter.ListGuardrailsResponse? Type1399 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1400 { get; set; } + public global::System.Collections.Generic.IList? Type1400 { get; set; } /// /// /// - public global::OpenRouter.ManagedPrivateEndpointResponse? Type1401 { get; set; } + public global::OpenRouter.ListKeyAssignmentsResponse? Type1401 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalRequestItemType? Type1402 { get; set; } + public global::System.Collections.Generic.IList? Type1402 { get; set; } /// /// /// - public global::OpenRouter.McpApprovalResponseItemType? Type1403 { get; set; } + public global::OpenRouter.ListMemberAssignmentsResponse? Type1403 { get; set; } /// /// /// - public global::OpenRouter.McpToolCallError? Type1404 { get; set; } + public global::System.Collections.Generic.IList? Type1404 { get; set; } /// /// /// - public global::OpenRouter.McpCallItemType? Type1405 { get; set; } + public global::OpenRouter.MemberAssignment? Type1405 { get; set; } /// /// /// - public global::OpenRouter.McpHttpError? Type1406 { get; set; } + public global::OpenRouter.ListObservabilityDestinationsResponse? Type1406 { get; set; } /// /// /// - public global::OpenRouter.McpHttpErrorType? Type1407 { get; set; } + public global::System.Collections.Generic.IList? Type1407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1408 { get; set; } + public global::OpenRouter.ListPresetsResponse? Type1408 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemTool? Type1409 { get; set; } + public global::System.Collections.Generic.IList? Type1409 { get; set; } /// /// /// - public global::OpenRouter.McpListToolsItemType? Type1410 { get; set; } + public global::OpenRouter.Preset? Type1410 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolError? Type1411 { get; set; } + public global::OpenRouter.ListPresetVersionsResponse? Type1411 { get; set; } /// /// /// - public global::OpenRouter.McpProtocolErrorType? Type1412 { get; set; } + public global::System.Collections.Generic.IList? Type1412 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools, object>? Type1413 { get; set; } + public global::OpenRouter.ListPrivateEndpointsResponse? Type1413 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolAllowedTools? Type1414 { get; set; } + public global::System.Collections.Generic.IList? Type1414 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolConnectorId? Type1415 { get; set; } + public global::OpenRouter.PrivateEndpointSummary? Type1415 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1416 { get; set; } + public global::OpenRouter.ListScimGroupMappingsResponse? Type1416 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1417 { get; set; } + public global::System.Collections.Generic.IList? Type1417 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1418 { get; set; } + public global::OpenRouter.ListScimGroupsResponse? Type1418 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1419 { get; set; } + public global::System.Collections.Generic.IList? Type1419 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1420 { get; set; } + public global::OpenRouter.ScimGroup? Type1420 { get; set; } /// /// /// - public global::OpenRouter.McpServerToolType? Type1421 { get; set; } + public global::OpenRouter.ListToolsResponse? Type1421 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionError? Type1422 { get; set; } + public global::System.Collections.Generic.IList? Type1422 { get; set; } /// /// /// - public global::OpenRouter.McpToolExecutionErrorType? Type1423 { get; set; } + public global::OpenRouter.ServerTool? Type1423 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1424 { get; set; } + public global::OpenRouter.ListToolsResponseLinks? Type1424 { get; set; } /// /// /// - public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1425 { get; set; } + public global::OpenRouter.ListWorkspaceBudgetsResponse? Type1425 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlock? Type1426 { get; set; } + public global::System.Collections.Generic.IList? Type1426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1427 { get; set; } + public global::OpenRouter.ListWorkspaceMembersResponse? Type1427 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFile? Type1428 { get; set; } + public global::OpenRouter.ListWorkspacesResponse? Type1428 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1429 { get; set; } + public global::System.Collections.Generic.IList? Type1429 { get; set; } /// /// /// - public global::OpenRouter.MessagesBashToolResultBlockType? Type1430 { get; set; } + public global::OpenRouter.LocalShellCallItemAction? Type1430 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1431 { get; set; } + public global::OpenRouter.LocalShellCallItemActionType? Type1431 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1432 { get; set; } + public global::OpenRouter.LocalShellCallItemType? Type1432 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1433 { get; set; } + public global::OpenRouter.LocalShellCallOutputItemType? Type1433 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1434 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointVariant2? Type1434 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1435 { get; set; } + public global::OpenRouter.PrivateEndpointDeclaredRegion? Type1435 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1436 { get; set; } + public global::OpenRouter.ManagedPrivateEndpointResponse? Type1436 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1437 { get; set; } + public global::OpenRouter.McpApprovalRequestItemType? Type1437 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1438 { get; set; } + public global::OpenRouter.McpApprovalResponseItemType? Type1438 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1439 { get; set; } + public global::OpenRouter.McpToolCallError? Type1439 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1440 { get; set; } + public global::OpenRouter.McpCallItemType? Type1440 { get; set; } /// /// /// - public global::OpenRouter.Citation? Type1441 { get; set; } + public global::OpenRouter.McpHttpError? Type1441 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1442 { get; set; } + public global::OpenRouter.McpHttpErrorType? Type1442 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1443 { get; set; } + public global::System.Collections.Generic.IList? Type1443 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1444 { get; set; } + public global::OpenRouter.McpListToolsItemTool? Type1444 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1445 { get; set; } + public global::OpenRouter.McpListToolsItemType? Type1445 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1446 { get; set; } + public global::OpenRouter.McpProtocolError? Type1446 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1447 { get; set; } + public global::OpenRouter.McpProtocolErrorType? Type1447 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEvent? Type1448 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools, object>? Type1448 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1449 { get; set; } + public global::OpenRouter.McpServerToolAllowedTools? Type1449 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResult? Type1450 { get; set; } + public global::OpenRouter.McpServerToolConnectorId? Type1450 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResult? Type1451 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1? Type1451 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1452 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Always? Type1452 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1453 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant1Never? Type1453 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStartEventType? Type1454 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant2? Type1454 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEvent? Type1455 { get; set; } + public global::OpenRouter.McpServerToolRequireApprovalVariant3? Type1455 { get; set; } /// /// /// - public global::OpenRouter.MessagesContentBlockStopEventType? Type1456 { get; set; } + public global::OpenRouter.McpServerToolType? Type1456 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEvent? Type1457 { get; set; } + public global::OpenRouter.McpToolExecutionError? Type1457 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventDelta? Type1458 { get; set; } + public global::OpenRouter.McpToolExecutionErrorType? Type1458 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1459 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlock? Type1459 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventType? Type1460 { get; set; } + public global::OpenRouter.MessagesAdvisorToolResultBlockType? Type1460 { get; set; } /// /// /// - public global::OpenRouter.MessagesDeltaEventUsage? Type1461 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlock? Type1461 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUsage? Type1462 { get; set; } + public global::System.Collections.Generic.IList? Type1462 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEvent? Type1463 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFile? Type1463 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventError? Type1464 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockFileType? Type1464 { get; set; } /// /// /// - public global::OpenRouter.MessagesErrorEventType? Type1465 { get; set; } + public global::OpenRouter.MessagesBashToolResultBlockType? Type1465 { get; set; } /// /// /// - public global::OpenRouter.MessagesFallbackParam? Type1466 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEvent? Type1466 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParam? Type1467 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1? Type1467 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1468 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant1Type? Type1468 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1469 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2? Type1469 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1470 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant2Type? Type1470 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1471 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3? Type1471 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1472 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant3Type? Type1472 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1473 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4? Type1473 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1474 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant4Type? Type1474 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1475 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5? Type1475 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1476 { get; set; } + public global::OpenRouter.Citation? Type1476 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1477 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminator? Type1477 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1478 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5CitationDiscriminatorType? Type1478 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1479 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant5Type? Type1479 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1480 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6? Type1480 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1481 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventDeltaVariant6Type? Type1481 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1482 { get; set; } + public global::OpenRouter.MessagesContentBlockDeltaEventType? Type1482 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1483 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEvent? Type1483 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1484 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlock? Type1484 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1485 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResult? Type1485 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1486 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResult? Type1486 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1487 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlock? Type1487 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1488 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventContentBlockType? Type1488 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlock? Type1489 { get; set; } + public global::OpenRouter.MessagesContentBlockStartEventType? Type1489 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlock? Type1490 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEvent? Type1490 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlock? Type1491 { get; set; } + public global::OpenRouter.MessagesContentBlockStopEventType? Type1491 { get; set; } /// /// /// - public global::OpenRouter.MessagesMessageParamRole? Type1492 { get; set; } + public global::OpenRouter.MessagesDeltaEvent? Type1492 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfig? Type1493 { get; set; } + public global::OpenRouter.MessagesDeltaEventDelta? Type1493 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigEffort? Type1494 { get; set; } + public global::System.Collections.Generic.IList? Type1494 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormat? Type1495 { get; set; } + public global::OpenRouter.MessagesDeltaEventType? Type1495 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigFormatType? Type1496 { get; set; } + public global::OpenRouter.MessagesDeltaEventUsage? Type1496 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1497 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUsage? Type1497 { get; set; } /// /// /// - public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1498 { get; set; } + public global::OpenRouter.MessagesErrorEvent? Type1498 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEvent? Type1499 { get; set; } + public global::OpenRouter.MessagesErrorEventError? Type1499 { get; set; } /// /// /// - public global::OpenRouter.MessagesPingEventType? Type1500 { get; set; } + public global::OpenRouter.MessagesErrorEventType? Type1500 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequest? Type1501 { get; set; } + public global::OpenRouter.MessagesFallbackParam? Type1501 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagement? Type1502 { get; set; } + public global::OpenRouter.MessagesMessageParam? Type1502 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1503 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4? Type1503 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, object>? Type1504 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant4Type? Type1504 { get; set; } /// /// /// - public global::OpenRouter.Trigger? Type1505 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5? Type1505 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1506 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2Item? Type1506 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1507 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5ContentVariant2ItemType? Type1507 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1508 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant5Type? Type1508 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1509 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6? Type1509 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1510 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant6Type? Type1510 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1511 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7? Type1511 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1512 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant7Type? Type1512 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1513 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8? Type1513 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1514 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant8Type? Type1514 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1515 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9? Type1515 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1516 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? Type1516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1517 { get; set; } + public global::System.Collections.Generic.IList? Type1517 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1518 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content? Type1518 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestMetadata? Type1519 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentErrorCode? Type1519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1520 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9ContentType? Type1520 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem2? Type1521 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Type? Type1521 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1522 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11? Type1522 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1523 { get; set; } + public global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant11Type? Type1523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1524 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlock? Type1524 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1525 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlock? Type1525 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1526 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlock? Type1526 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1? Type1527 { get; set; } + public global::OpenRouter.MessagesMessageParamRole? Type1527 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1528 { get; set; } + public global::OpenRouter.MessagesOutputConfig? Type1528 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2? Type1529 { get; set; } + public global::OpenRouter.MessagesOutputConfigEffort? Type1529 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1530 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormat? Type1530 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3? Type1531 { get; set; } + public global::OpenRouter.MessagesOutputConfigFormatType? Type1531 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1532 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudget? Type1532 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4? Type1533 { get; set; } + public global::OpenRouter.MessagesOutputConfigTaskBudgetType? Type1533 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1534 { get; set; } + public global::OpenRouter.MessagesPingEvent? Type1534 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1535 { get; set; } + public global::OpenRouter.MessagesPingEventType? Type1535 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1536 { get; set; } + public global::OpenRouter.MessagesRequest? Type1536 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1537 { get; set; } + public global::OpenRouter.MessagesRequestContextManagement? Type1537 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1538 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1? Type1538 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1539 { get; set; } + public global::OpenRouter.AnyOf, object>? Type1539 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1540 { get; set; } + public global::OpenRouter.Trigger? Type1540 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1541 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminator? Type1541 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1542 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1TriggerDiscriminatorType? Type1542 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1? Type1543 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant1Type? Type1543 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1544 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2? Type1544 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant1Type? Type1545 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum? Type1545 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2? Type1546 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnumType? Type1546 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Name? Type1547 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2KeepEnum2? Type1547 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant2Type? Type1548 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant2Type? Type1548 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3? Type1549 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3? Type1549 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Name? Type1550 { get; set; } + public global::OpenRouter.AllOf? Type1550 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant3Type? Type1551 { get; set; } + public global::OpenRouter.MessagesRequestContextManagementEditVariant3Type? Type1551 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4? Type1552 { get; set; } + public global::System.Collections.Generic.IList? Type1552 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Name? Type1553 { get; set; } + public global::System.Collections.Generic.IList? Type1553 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant4Type? Type1554 { get; set; } + public global::OpenRouter.MessagesRequestMetadata? Type1554 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5? Type1555 { get; set; } + public global::System.Collections.Generic.IList? Type1555 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Name? Type1556 { get; set; } + public global::OpenRouter.PluginsItem2? Type1556 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant5Type? Type1557 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminator? Type1557 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6? Type1558 { get; set; } + public global::OpenRouter.MessagesRequestPluginDiscriminatorId? Type1558 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Name? Type1559 { get; set; } + public global::System.Collections.Generic.IList? Type1559 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant6Type? Type1560 { get; set; } + public global::OpenRouter.AllOf? Type1560 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerTool? Type1561 { get; set; } + public global::OpenRouter.AnyOf>? Type1561 { get; set; } /// /// /// - public global::OpenRouter.MessagesRequestToolVariant13? Type1562 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1? Type1562 { get; set; } /// /// /// - public global::OpenRouter.MessagesResult? Type1563 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant1Type? Type1563 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2? Type1564 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2? Type1564 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1565 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant2Type? Type1565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1566 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3? Type1566 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1567 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant3Type? Type1567 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1568 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4? Type1568 { get; set; } /// /// /// - public global::OpenRouter.MessagesResultVariant2Usage? Type1569 { get; set; } + public global::OpenRouter.MessagesRequestThinkingVariant4Type? Type1569 { get; set; } /// /// /// - public global::OpenRouter.MessagesSearchModelsServerToolType? Type1570 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1? Type1570 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1571 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant1Type? Type1571 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFile? Type1572 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2? Type1572 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1573 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant2Type? Type1573 { get; set; } /// /// /// - public global::OpenRouter.MessagesShellToolResultBlockType? Type1574 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3? Type1574 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEvent? Type1575 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant3Type? Type1575 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessage? Type1576 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4? Type1576 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageProvider? Type1577 { get; set; } + public global::OpenRouter.MessagesRequestToolChoiceVariant4Type? Type1577 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageRole? Type1578 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1? Type1578 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageType? Type1579 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1InputSchema? Type1579 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1580 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant1Type? Type1580 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventMessageUsage? Type1581 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2? Type1581 { get; set; } /// /// /// - public global::OpenRouter.MessagesStartEventType? Type1582 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Name? Type1582 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEvent? Type1583 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant2Type? Type1583 { get; set; } /// /// /// - public global::OpenRouter.MessagesStopEventType? Type1584 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3? Type1584 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEvents? Type1585 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Name? Type1585 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1586 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant3Type? Type1586 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1587 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4? Type1587 { get; set; } /// /// /// - public global::OpenRouter.MessagesStreamingResponse? Type1588 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Name? Type1588 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1589 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant4Type? Type1589 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1590 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5? Type1590 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1591 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Name? Type1591 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1592 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant5Type? Type1592 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1593 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6? Type1593 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1594 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Name? Type1594 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolAdditionBlockType? Type1595 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant6Type? Type1595 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1596 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerTool? Type1596 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1597 { get; set; } + public global::OpenRouter.MessagesRequestToolVariant13? Type1597 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1598 { get; set; } + public global::OpenRouter.MessagesResult? Type1598 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1599 { get; set; } + public global::OpenRouter.MessagesResultVariant2? Type1599 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1600 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagement? Type1600 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1601 { get; set; } + public global::System.Collections.Generic.IList? Type1601 { get; set; } /// /// /// - public global::OpenRouter.MessagesToolRemovalBlockType? Type1602 { get; set; } + public global::OpenRouter.MessagesResultVariant2ContextManagementAppliedEdit? Type1602 { get; set; } /// /// /// - public global::OpenRouter.MetadataLevel? Type1603 { get; set; } + public global::OpenRouter.AllOf? Type1603 { get; set; } /// /// /// - public global::OpenRouter.Model? Type1604 { get; set; } + public global::OpenRouter.MessagesResultVariant2Usage? Type1604 { get; set; } /// /// /// - public global::OpenRouter.ModelAliasTarget? Type1605 { get; set; } + public global::OpenRouter.MessagesSearchModelsServerToolType? Type1605 { get; set; } /// /// /// - public global::OpenRouter.ModelBenchmarks? Type1606 { get; set; } + public global::System.Collections.Generic.IList? Type1606 { get; set; } /// /// /// - public global::OpenRouter.ModelLinks? Type1607 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFile? Type1607 { get; set; } /// /// /// - public global::OpenRouter.PerRequestLimits? Type1608 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockFileType? Type1608 { get; set; } /// /// /// - public global::OpenRouter.PublicPricing? Type1609 { get; set; } + public global::OpenRouter.MessagesShellToolResultBlockType? Type1609 { get; set; } /// /// /// - public global::OpenRouter.ModelReasoning? Type1610 { get; set; } + public global::OpenRouter.MessagesStartEvent? Type1610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1611 { get; set; } + public global::OpenRouter.MessagesStartEventMessage? Type1611 { get; set; } /// /// /// - public global::OpenRouter.Parameter? Type1612 { get; set; } + public global::OpenRouter.MessagesStartEventMessageProvider? Type1612 { get; set; } /// /// /// - public global::OpenRouter.TopProviderInfo? Type1613 { get; set; } + public global::OpenRouter.MessagesStartEventMessageRole? Type1613 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1614 { get; set; } + public global::OpenRouter.MessagesStartEventMessageType? Type1614 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1615 { get; set; } + public global::OpenRouter.AllOf? Type1615 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1616 { get; set; } + public global::OpenRouter.MessagesStartEventMessageUsage? Type1616 { get; set; } /// /// /// - public global::OpenRouter.ModelResponse? Type1617 { get; set; } + public global::OpenRouter.MessagesStartEventType? Type1617 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponse? Type1618 { get; set; } + public global::OpenRouter.MessagesStopEvent? Type1618 { get; set; } /// /// /// - public global::OpenRouter.ModelsCountResponseData? Type1619 { get; set; } + public global::OpenRouter.MessagesStopEventType? Type1619 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponse? Type1620 { get; set; } + public global::OpenRouter.MessagesStreamEvents? Type1620 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1621 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminator? Type1621 { get; set; } /// /// /// - public global::OpenRouter.ModelsListResponseLinks? Type1622 { get; set; } + public global::OpenRouter.MessagesStreamEventsDiscriminatorType? Type1622 { get; set; } /// /// /// - public global::OpenRouter.ModerationPluginId? Type1623 { get; set; } + public global::OpenRouter.MessagesStreamingResponse? Type1623 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionTool? Type1624 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1? Type1624 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1625 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant1Type? Type1625 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1626 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2? Type1626 { get; set; } /// /// /// - public global::OpenRouter.NamespaceFunctionToolType? Type1627 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant2Type? Type1627 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type1628 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3? Type1628 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1629 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockToolVariant3Type? Type1629 { get; set; } /// /// /// - public global::OpenRouter.NamespaceToolType? Type1630 { get; set; } + public global::OpenRouter.MessagesToolAdditionBlockType? Type1630 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponse? Type1631 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1? Type1631 { get; set; } /// /// /// - public global::OpenRouter.NotFoundResponseErrorData? Type1632 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant1Type? Type1632 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponse? Type1633 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2? Type1633 { get; set; } /// /// /// - public global::OpenRouter.OAuthErrorResponseError? Type1634 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant2Type? Type1634 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwks? Type1635 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3? Type1635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1636 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockToolVariant3Type? Type1636 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKey? Type1637 { get; set; } + public global::OpenRouter.MessagesToolRemovalBlockType? Type1637 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyAlg? Type1638 { get; set; } + public global::OpenRouter.MetadataLevel? Type1638 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyCrv? Type1639 { get; set; } + public global::OpenRouter.Model? Type1639 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyKty? Type1640 { get; set; } + public global::OpenRouter.ModelAliasTarget? Type1640 { get; set; } /// /// /// - public global::OpenRouter.OAuthJwksKeyUse? Type1641 { get; set; } + public global::OpenRouter.ModelBenchmarks? Type1641 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestination? Type1642 { get; set; } + public global::OpenRouter.ModelLinks? Type1642 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1643 { get; set; } + public global::OpenRouter.PerRequestLimits? Type1643 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRulesConfig? Type1644 { get; set; } + public global::OpenRouter.PublicPricing? Type1644 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1645 { get; set; } + public global::OpenRouter.ModelReasoning? Type1645 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDataRegion? Type1646 { get; set; } + public global::System.Collections.Generic.IList? Type1646 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityArizeDestinationType? Type1647 { get; set; } + public global::OpenRouter.Parameter? Type1647 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestination? Type1648 { get; set; } + public global::OpenRouter.TopProviderInfo? Type1648 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1649 { get; set; } + public global::System.Collections.Generic.IList? Type1649 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1650 { get; set; } + public global::OpenRouter.ModelInputV2Variant1? Type1650 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestination? Type1651 { get; set; } + public global::System.Collections.Generic.IList? Type1651 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1652 { get; set; } + public global::OpenRouter.ModelInputV2Variant1Params? Type1652 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1653 { get; set; } + public global::OpenRouter.ModelInputV2Variant1ParamsMaxLength? Type1653 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestination? Type1654 { get; set; } + public global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength? Type1654 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1655 { get; set; } + public global::System.Collections.Generic.IList? Type1655 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDatadogDestinationType? Type1656 { get; set; } + public global::OpenRouter.ModelInputV2Variant1Type? Type1656 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestination? Type1657 { get; set; } + public global::OpenRouter.ModelInputV2Variant2? Type1657 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestination? Type1658 { get; set; } + public global::OpenRouter.ModelInputV2Variant2Params? Type1658 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestination? Type1659 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels? Type1659 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestination? Type1660 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType? Type1660 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestination? Type1661 { get; set; } + public global::System.Collections.Generic.IList? Type1661 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1662 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsValue? Type1662 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestination? Type1663 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsFormats? Type1663 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestination? Type1664 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsFormatsType? Type1664 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3Destination? Type1665 { get; set; } + public global::System.Collections.Generic.IList? Type1665 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestination? Type1666 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsFormatsValue? Type1666 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestination? Type1667 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes? Type1667 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestination? Type1668 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsReferences? Type1668 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestination? Type1669 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsReferencesType? Type1669 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1670 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsRole? Type1670 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1671 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsRoleType? Type1671 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroup? Type1672 { get; set; } + public global::System.Collections.Generic.IList? Type1672 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1673 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsRoleValue? Type1673 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1674 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsSources? Type1674 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1675 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsSourcesType? Type1675 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1676 { get; set; } + public global::System.Collections.Generic.IList? Type1676 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1677 { get; set; } + public global::OpenRouter.ModelInputV2Variant2ParamsSourcesValue? Type1677 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1678 { get; set; } + public global::OpenRouter.ModelInputV2Variant2Type? Type1678 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1679 { get; set; } + public global::OpenRouter.ModelInputV2Variant3? Type1679 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1680 { get; set; } + public global::OpenRouter.ModelInputV2Variant3Params? Type1680 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1681 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsFormats? Type1681 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1682 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsFormatsType? Type1682 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1683 { get; set; } + public global::System.Collections.Generic.IList? Type1683 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1684 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsFormatsValue? Type1684 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1685 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes? Type1685 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1686 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds? Type1686 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1687 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsSources? Type1687 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1688 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsSourcesType? Type1688 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOpikDestinationType? Type1689 { get; set; } + public global::System.Collections.Generic.IList? Type1689 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1690 { get; set; } + public global::OpenRouter.ModelInputV2Variant3ParamsSourcesValue? Type1690 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1691 { get; set; } + public global::OpenRouter.ModelInputV2Variant3Type? Type1691 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1692 { get; set; } + public global::OpenRouter.ModelInputV2Variant4? Type1692 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityPosthogDestinationType? Type1693 { get; set; } + public global::OpenRouter.ModelInputV2Variant4Params? Type1693 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationConfig? Type1694 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsFormats? Type1694 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityRampDestinationType? Type1695 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsFormatsType? Type1695 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationConfig? Type1696 { get; set; } + public global::System.Collections.Generic.IList? Type1696 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityS3DestinationType? Type1697 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsFormatsValue? Type1697 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1698 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes? Type1698 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySentryDestinationType? Type1699 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds? Type1699 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1700 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsSources? Type1700 { get; set; } /// /// /// - public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1701 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsSourcesType? Type1701 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1702 { get; set; } + public global::System.Collections.Generic.IList? Type1702 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWeaveDestinationType? Type1703 { get; set; } + public global::OpenRouter.ModelInputV2Variant4ParamsSourcesValue? Type1703 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1704 { get; set; } + public global::OpenRouter.ModelInputV2Variant4Type? Type1704 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1705 { get; set; } + public global::OpenRouter.ModelInputV2Variant5? Type1705 { get; set; } /// /// /// - public global::OpenRouter.ObservabilityWebhookDestinationType? Type1706 { get; set; } + public global::OpenRouter.ModelInputV2Variant5Params? Type1706 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileShape? Type1707 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsFormats? Type1707 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileObject? Type1708 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsFormatsType? Type1708 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFilePurpose? Type1709 { get; set; } + public global::System.Collections.Generic.IList? Type1709 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileStatus? Type1710 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsFormatsValue? Type1710 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedShape? Type1711 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes? Type1711 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileDeletedObject? Type1712 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsReferences? Type1712 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListShape? Type1713 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsReferencesType? Type1713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1714 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsSources? Type1714 { get; set; } /// /// /// - public global::OpenRouter.OpenAIFileListObject? Type1715 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsSourcesType? Type1715 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1716 { get; set; } + public global::System.Collections.Generic.IList? Type1716 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1717 { get; set; } + public global::OpenRouter.ModelInputV2Variant5ParamsSourcesValue? Type1717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1718 { get; set; } + public global::OpenRouter.ModelInputV2Variant5Type? Type1718 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item3? Type1719 { get; set; } + public global::OpenRouter.ModelOutputV2Variant1? Type1719 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1720 { get; set; } + public global::System.Collections.Generic.IList? Type1720 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1721 { get; set; } + public global::OpenRouter.OutputCapacityEntryV2? Type1721 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1722 { get; set; } + public global::OpenRouter.ModelOutputV2Variant1MaxLength? Type1722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1723 { get; set; } + public global::System.Collections.Generic.IList? Type1723 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1724 { get; set; } + public global::OpenRouter.OutputPricingEntryV2? Type1724 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1725 { get; set; } + public global::OpenRouter.ModelOutputV2Variant1Type? Type1725 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1726 { get; set; } + public global::OpenRouter.ModelOutputV2Variant2? Type1726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1727 { get; set; } + public global::OpenRouter.ModelOutputV2Variant2Type? Type1727 { get; set; } /// /// /// - public global::OpenRouter.OutputVariant2Item4? Type1728 { get; set; } + public global::OpenRouter.ModelOutputV2Variant3? Type1728 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1729 { get; set; } + public global::OpenRouter.ModelOutputV2Variant3Type? Type1729 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1730 { get; set; } + public global::OpenRouter.ModelOutputV2Variant4? Type1730 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1731 { get; set; } + public global::OpenRouter.ModelOutputV2Variant4Type? Type1731 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1732 { get; set; } + public global::OpenRouter.ModelOutputV2Variant5? Type1732 { get; set; } /// /// /// - public global::OpenRouter.ContentItem4? Type1733 { get; set; } + public global::OpenRouter.ModelOutputV2Variant5Type? Type1733 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1734 { get; set; } + public global::OpenRouter.ModelOutputV2Variant6? Type1734 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1735 { get; set; } + public global::OpenRouter.ModelOutputV2Variant6Type? Type1735 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1736 { get; set; } + public global::OpenRouter.ModelOutputV2Variant7? Type1736 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1737 { get; set; } + public global::OpenRouter.ModelOutputV2Variant7Type? Type1737 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1738 { get; set; } + public global::OpenRouter.ModelOutputV2Variant8? Type1738 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1739 { get; set; } + public global::OpenRouter.ModelOutputV2Variant8Type? Type1739 { get; set; } /// /// /// - public global::OpenRouter.URLCitation? Type1740 { get; set; } + public global::OpenRouter.ModelOutputV2Variant9? Type1740 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1741 { get; set; } + public global::OpenRouter.ModelOutputV2Variant9Type? Type1741 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1742 { get; set; } + public global::OpenRouter.AllOf? Type1742 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1743 { get; set; } + public global::System.Collections.Generic.IList? Type1743 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1744 { get; set; } + public global::OpenRouter.ModelResponse? Type1744 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1745 { get; set; } + public global::OpenRouter.ModelsCountResponse? Type1745 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1746 { get; set; } + public global::OpenRouter.ModelsCountResponseData? Type1746 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1747 { get; set; } + public global::OpenRouter.ModelsListResponse? Type1747 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1748 { get; set; } + public global::System.Collections.Generic.IList? Type1748 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1749 { get; set; } + public global::OpenRouter.ModelsListResponseLinks? Type1749 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1750 { get; set; } + public global::OpenRouter.ModelsV2ListResponse? Type1750 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1751 { get; set; } + public global::System.Collections.Generic.IList? Type1751 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1752 { get; set; } + public global::OpenRouter.ModelV2? Type1752 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1753 { get; set; } + public global::OpenRouter.ModelsV2ListResponseLinks? Type1753 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1754 { get; set; } + public global::System.Collections.Generic.IList? Type1754 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1755 { get; set; } + public global::System.Collections.Generic.IList? Type1755 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1756 { get; set; } + public global::OpenRouter.ModelV2Input? Type1756 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1757 { get; set; } + public global::OpenRouter.ModelV2Kind? Type1757 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1758 { get; set; } + public global::System.Collections.Generic.IList? Type1758 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1759 { get; set; } + public global::OpenRouter.ModelV2Output? Type1759 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1760 { get; set; } + public global::OpenRouter.ModelV2Variant? Type1760 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1761 { get; set; } + public global::OpenRouter.ModelV2Response? Type1761 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowed? Type1762 { get; set; } + public global::OpenRouter.ModerationPluginId? Type1762 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1763 { get; set; } + public global::OpenRouter.NamespaceFunctionTool? Type1763 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1764 { get; set; } + public global::System.Collections.Generic.IList? Type1764 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1765 { get; set; } + public global::OpenRouter.NamespaceFunctionToolAllowedCaller? Type1765 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1766 { get; set; } + public global::OpenRouter.NamespaceFunctionToolType? Type1766 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesTruncation? Type1767 { get; set; } + public global::System.Collections.Generic.IList>? Type1767 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1768 { get; set; } + public global::OpenRouter.AnyOf? Type1768 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1769 { get; set; } + public global::OpenRouter.NamespaceToolType? Type1769 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1770 { get; set; } + public global::OpenRouter.NotFoundResponse? Type1770 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1771 { get; set; } + public global::OpenRouter.NotFoundResponseErrorData? Type1771 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1772 { get; set; } + public global::OpenRouter.OAuthErrorResponse? Type1772 { get; set; } /// /// /// - public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1773 { get; set; } + public global::OpenRouter.OAuthErrorResponseError? Type1773 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEvent? Type1774 { get; set; } + public global::OpenRouter.OAuthJwks? Type1774 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1775 { get; set; } + public global::System.Collections.Generic.IList? Type1775 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorField? Type1776 { get; set; } + public global::OpenRouter.OAuthJwksKey? Type1776 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorFieldCode? Type1777 { get; set; } + public global::OpenRouter.OAuthJwksKeyAlg? Type1777 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadata? Type1778 { get; set; } + public global::OpenRouter.OAuthJwksKeyCrv? Type1778 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1779 { get; set; } + public global::OpenRouter.OAuthJwksKeyKty? Type1779 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1780 { get; set; } + public global::OpenRouter.OAuthJwksKeyUse? Type1780 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEvent? Type1781 { get; set; } + public global::OpenRouter.ObservabilityArizeDestination? Type1781 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1782 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationConfig? Type1782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1783 { get; set; } + public global::OpenRouter.ObservabilityFilterRulesConfig? Type1783 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesTopLogprobs? Type1784 { get; set; } + public global::System.Collections.Generic.IList? Type1784 { get; set; } /// /// /// - public global::OpenRouter.OpenResponsesResultVariant2? Type1785 { get; set; } + public global::OpenRouter.ObservabilityDataRegion? Type1785 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1786 { get; set; } + public global::OpenRouter.ObservabilityArizeDestinationType? Type1786 { get; set; } /// /// /// - public global::OpenRouter.OutputItems? Type1787 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestination? Type1787 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfig? Type1788 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationConfig? Type1788 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1789 { get; set; } + public global::OpenRouter.ObservabilityBraintrustDestinationType? Type1789 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileShape? Type1790 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestination? Type1790 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileType? Type1791 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationConfig? Type1791 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedShape? Type1792 { get; set; } + public global::OpenRouter.ObservabilityClickhouseDestinationType? Type1792 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileDeletedType? Type1793 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestination? Type1793 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterFileListShape? Type1794 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationConfig? Type1794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1795 { get; set; } + public global::OpenRouter.ObservabilityDatadogDestinationType? Type1795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1796 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestination? Type1796 { get; set; } /// /// /// - public global::OpenRouter.RouterAttempt? Type1797 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestination? Type1797 { get; set; } /// /// /// - public global::OpenRouter.RouterParams? Type1798 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestination? Type1798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1799 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestination? Type1799 { get; set; } /// /// /// - public global::OpenRouter.PipelineStage? Type1800 { get; set; } + public global::OpenRouter.ObservabilityOpikDestination? Type1800 { get; set; } /// /// /// - public global::OpenRouter.RoutingStrategy? Type1801 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestination? Type1801 { get; set; } /// /// /// - public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1802 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestination? Type1802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1803 { get; set; } + public global::OpenRouter.ObservabilityRampDestination? Type1803 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFile? Type1804 { get; set; } + public global::OpenRouter.ObservabilityS3Destination? Type1804 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1805 { get; set; } + public global::OpenRouter.ObservabilitySentryDestination? Type1805 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicBashToolResultType? Type1806 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestination? Type1806 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1807 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestination? Type1807 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1808 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestination? Type1808 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCaller? Type1809 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminator? Type1809 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1810 { get; set; } + public global::OpenRouter.ObservabilityDestinationDiscriminatorType? Type1810 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1811 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroup? Type1811 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1812 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupLogic? Type1812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1813 { get; set; } + public global::System.Collections.Generic.IList? Type1813 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFile? Type1814 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRule? Type1814 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1815 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleField? Type1815 { get; set; } /// /// /// - public global::OpenRouter.ORAnthropicShellToolResultType? Type1816 { get; set; } + public global::OpenRouter.ObservabilityFilterRuleGroupRuleOperator? Type1816 { get; set; } /// /// /// - public global::OpenRouter.OrganizationSettings? Type1817 { get; set; } + public global::System.Collections.Generic.IList? Type1817 { get; set; } /// /// /// - public global::OpenRouter.OutputAdvisorServerToolItemType? Type1818 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationConfig? Type1818 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItem? Type1819 { get; set; } + public global::OpenRouter.ObservabilityGrafanaDestinationType? Type1819 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchCallItemType? Type1820 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationConfig? Type1820 { get; set; } /// /// /// - public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1821 { get; set; } + public global::OpenRouter.ObservabilityLangfuseDestinationType? Type1821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1822 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationConfig? Type1822 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFile? Type1823 { get; set; } + public global::OpenRouter.ObservabilityLangsmithDestinationType? Type1823 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemFileType? Type1824 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfig? Type1824 { get; set; } /// /// /// - public global::OpenRouter.OutputBashServerToolItemType? Type1825 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationConfigRegion? Type1825 { get; set; } /// /// /// - public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1826 { get; set; } + public global::OpenRouter.ObservabilityNewrelicDestinationType? Type1826 { get; set; } /// /// /// - public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1827 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationConfig? Type1827 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1828 { get; set; } + public global::OpenRouter.ObservabilityOpikDestinationType? Type1828 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1829 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationConfig? Type1829 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemStatus? Type1830 { get; set; } + public global::OpenRouter.ObservabilityOtelCollectorDestinationType? Type1830 { get; set; } /// /// /// - public global::OpenRouter.OutputComputerCallItemType? Type1831 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationConfig? Type1831 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItem? Type1832 { get; set; } + public global::OpenRouter.ObservabilityPosthogDestinationType? Type1832 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemStatus? Type1833 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationConfig? Type1833 { get; set; } /// /// /// - public global::OpenRouter.OutputCustomToolCallItemType? Type1834 { get; set; } + public global::OpenRouter.ObservabilityRampDestinationType? Type1834 { get; set; } /// /// /// - public global::OpenRouter.OutputDatetimeItemType? Type1835 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationConfig? Type1835 { get; set; } /// /// /// - public global::OpenRouter.OutputFileSearchServerToolItemType? Type1836 { get; set; } + public global::OpenRouter.ObservabilityS3DestinationType? Type1836 { get; set; } /// /// /// - public global::OpenRouter.OutputFilesServerToolItemType? Type1837 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationConfig? Type1837 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItem? Type1838 { get; set; } + public global::OpenRouter.ObservabilitySentryDestinationType? Type1838 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2? Type1839 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationConfig? Type1839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1840 { get; set; } + public global::OpenRouter.ObservabilitySnowflakeDestinationType? Type1840 { get; set; } /// /// /// - public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1841 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationConfig? Type1841 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1842 { get; set; } + public global::OpenRouter.ObservabilityWeaveDestinationType? Type1842 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1843 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfig? Type1843 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1844 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationConfigMethod? Type1844 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemResponse? Type1845 { get; set; } + public global::OpenRouter.ObservabilityWebhookDestinationType? Type1845 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1846 { get; set; } + public global::OpenRouter.OpenAIFileShape? Type1846 { get; set; } /// /// /// - public global::OpenRouter.OutputFusionServerToolItemType? Type1847 { get; set; } + public global::OpenRouter.OpenAIFileObject? Type1847 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1848 { get; set; } + public global::OpenRouter.OpenAIFilePurpose? Type1848 { get; set; } /// /// /// - public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1849 { get; set; } + public global::OpenRouter.OpenAIFileStatus? Type1849 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEvent? Type1850 { get; set; } + public global::OpenRouter.OpenAIFileDeletedShape? Type1850 { get; set; } /// /// /// - public global::OpenRouter.Item? Type1851 { get; set; } + public global::OpenRouter.OpenAIFileDeletedObject? Type1851 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1852 { get; set; } + public global::OpenRouter.OpenAIFileListShape? Type1852 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1853 { get; set; } + public global::System.Collections.Generic.IList? Type1853 { get; set; } /// /// /// - public global::OpenRouter.OutputItemAddedEventType? Type1854 { get; set; } + public global::OpenRouter.OpenAIFileListObject? Type1854 { get; set; } /// /// /// - public global::OpenRouter.Operation? Type1855 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallType? Type1855 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type1856 { get; set; } + public global::OpenRouter.AnyOf>? Type1856 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type1857 { get; set; } + public global::System.Collections.Generic.IList? Type1857 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallStatus? Type1858 { get; set; } + public global::OpenRouter.OutputVariant2Item3? Type1858 { get; set; } /// /// /// - public global::OpenRouter.OutputItemApplyPatchCallType? Type1859 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminator? Type1859 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1860 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputOutputVariant2ItemDiscriminatorType? Type1860 { get; set; } /// /// /// - public global::OpenRouter.OutputsItem? Type1861 { get; set; } + public global::OpenRouter.OpenAIResponseCustomToolCallOutputType? Type1861 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type1862 { get; set; } + public global::System.Collections.Generic.IList? Type1862 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type1863 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallSubagentItem? Type1863 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type1864 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallType? Type1864 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCodeInterpreterCallType? Type1865 { get; set; } + public global::OpenRouter.AnyOf>? Type1865 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallStatus? Type1866 { get; set; } + public global::System.Collections.Generic.IList? Type1866 { get; set; } /// /// /// - public global::OpenRouter.OutputItemCustomToolCallType? Type1867 { get; set; } + public global::OpenRouter.OutputVariant2Item4? Type1867 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEvent? Type1868 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminator? Type1868 { get; set; } /// /// /// - public global::OpenRouter.Item2? Type1869 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputOutputVariant2ItemDiscriminatorType? Type1869 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type1870 { get; set; } + public global::OpenRouter.OpenAIResponseFunctionToolCallOutputType? Type1870 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type1871 { get; set; } + public global::System.Collections.Generic.IList? Type1871 { get; set; } /// /// /// - public global::OpenRouter.OutputItemDoneEventType? Type1872 { get; set; } + public global::OpenRouter.ContentItem4? Type1872 { get; set; } /// /// /// - public global::OpenRouter.WebSearchStatus? Type1873 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminator? Type1873 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFileSearchCallType? Type1874 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemContentItemDiscriminatorType? Type1874 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type1875 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant1? Type1875 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type1876 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant2? Type1876 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type1877 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemRoleVariant3? Type1877 { get; set; } /// /// /// - public global::OpenRouter.OutputItemFunctionCallType? Type1878 { get; set; } + public global::OpenRouter.OpenAIResponseInputMessageItemType? Type1878 { get; set; } /// /// /// - public global::OpenRouter.OutputItemImageGenerationCallType? Type1879 { get; set; } + public global::OpenRouter.URLCitation? Type1879 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1880 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDeltaType? Type1880 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1881 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCodeDoneType? Type1881 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant1? Type1882 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallCompletedType? Type1882 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant2? Type1883 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInProgressType? Type1883 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningStatusVariant3? Type1884 { get; set; } + public global::OpenRouter.OpenAIResponsesCodeInterpreterCallInterpretingType? Type1884 { get; set; } /// /// /// - public global::OpenRouter.OutputItemReasoningType? Type1885 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallCompletedType? Type1885 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItem? Type1886 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallGeneratingType? Type1886 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItem? Type1887 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallInProgressType? Type1887 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminator? Type1888 { get; set; } + public global::OpenRouter.OpenAIResponsesImageGenCallPartialImageType? Type1888 { get; set; } /// /// /// - public global::OpenRouter.OutputItemsDiscriminatorType? Type1889 { get; set; } + public global::OpenRouter.OpenAIResponsesRefusalContentType? Type1889 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type1890 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompleted? Type1890 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1891 { get; set; } + public global::OpenRouter.OpenAIResponsesSearchCompletedType? Type1891 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSource? Type1892 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant1? Type1892 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type1893 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant2? Type1893 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type1894 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant3? Type1894 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type1895 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4? Type1895 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type1896 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant4Type? Type1896 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type1897 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5? Type1897 { get; set; } /// /// /// - public global::OpenRouter.OutputItemWebSearchCallType? Type1898 { get; set; } + public global::OpenRouter.AnyOf? Type1898 { get; set; } /// /// /// - public global::OpenRouter.OutputMcpServerToolItemType? Type1899 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant1? Type1899 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemAction? Type1900 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant5TypeVariant2? Type1900 { get; set; } /// /// /// - public global::OpenRouter.OutputMemoryServerToolItemType? Type1901 { get; set; } + public global::OpenRouter.ToolChoiceAllowed? Type1901 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1902 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7? Type1902 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant1? Type1903 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant7Type? Type1903 { get; set; } /// /// /// - public global::OpenRouter.OutputMessagePhaseVariant2? Type1904 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8? Type1904 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageRole? Type1905 { get; set; } + public global::OpenRouter.OpenAIResponsesToolChoiceVariant8Type? Type1905 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type1906 { get; set; } + public global::OpenRouter.OpenAIResponsesTruncation? Type1906 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant1? Type1907 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageInputTokensDetails? Type1907 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant2? Type1908 { get; set; } + public global::OpenRouter.OpenAIResponsesUsageOutputTokensDetails? Type1908 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageStatusVariant3? Type1909 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgress? Type1909 { get; set; } /// /// /// - public global::OpenRouter.OutputMessageType? Type1910 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallInProgressType? Type1910 { get; set; } /// /// /// - public global::OpenRouter.OutputModalityEnum? Type1911 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearching? Type1911 { get; set; } /// /// /// - public global::OpenRouter.OutputReasoningItemVariant2? Type1912 { get; set; } + public global::OpenRouter.OpenAIResponsesWebSearchCallSearchingType? Type1912 { get; set; } /// /// /// - public global::OpenRouter.ReasoningFormat? Type1913 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEvent? Type1913 { get; set; } /// /// /// - public global::OpenRouter.OutputSearchModelsServerToolItemType? Type1914 { get; set; } + public global::OpenRouter.OpenResponsesCreatedEventVariant2? Type1914 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemAction? Type1915 { get; set; } + public global::OpenRouter.OpenResponsesErrorField? Type1915 { get; set; } /// /// /// - public global::OpenRouter.ShellCallStatus? Type1916 { get; set; } + public global::OpenRouter.OpenResponsesErrorFieldCode? Type1916 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallItemType? Type1917 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadata? Type1917 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1918 { get; set; } + public global::OpenRouter.AllOf? Type1918 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFile? Type1919 { get; set; } + public global::OpenRouter.OpenResponsesErrorMetadataAlignment? Type1919 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemFileType? Type1920 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEvent? Type1920 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1921 { get; set; } + public global::OpenRouter.OpenResponsesInProgressEventVariant2? Type1921 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContent? Type1922 { get; set; } + public global::System.Collections.Generic.IList? Type1922 { get; set; } /// /// /// - public global::OpenRouter.OutputShellCallOutputItemType? Type1923 { get; set; } + public global::OpenRouter.OpenResponsesTopLogprobs? Type1923 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemAction? Type1924 { get; set; } + public global::OpenRouter.OpenResponsesResultVariant2? Type1924 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1925 { get; set; } + public global::System.Collections.Generic.IList? Type1925 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFile? Type1926 { get; set; } + public global::OpenRouter.OutputItems? Type1926 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemFileType? Type1927 { get; set; } + public global::OpenRouter.TextExtendedConfig? Type1927 { get; set; } /// /// /// - public global::OpenRouter.OutputShellServerToolItemType? Type1928 { get; set; } + public global::OpenRouter.AllOf? Type1928 { get; set; } /// /// /// - public global::OpenRouter.OutputSubagentServerToolItemType? Type1929 { get; set; } + public global::OpenRouter.OpenRouterFileShape? Type1929 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type1930 { get; set; } + public global::OpenRouter.OpenRouterFileType? Type1930 { get; set; } /// /// /// - public global::OpenRouter.OutputTextEditorServerToolItemType? Type1931 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedShape? Type1931 { get; set; } /// /// /// - public global::OpenRouter.OutputToolSearchServerToolItemType? Type1932 { get; set; } + public global::OpenRouter.OpenRouterFileDeletedType? Type1932 { get; set; } /// /// /// - public global::OpenRouter.OutputWebFetchServerToolItemType? Type1933 { get; set; } + public global::OpenRouter.OpenRouterFileListShape? Type1933 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemAction? Type1934 { get; set; } + public global::System.Collections.Generic.IList? Type1934 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1935 { get; set; } + public global::System.Collections.Generic.IList? Type1935 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type1936 { get; set; } + public global::OpenRouter.RouterAttempt? Type1936 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type1937 { get; set; } + public global::OpenRouter.RouterParams? Type1937 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type1938 { get; set; } + public global::System.Collections.Generic.IList? Type1938 { get; set; } /// /// /// - public global::OpenRouter.OutputWebSearchServerToolItemType? Type1939 { get; set; } + public global::OpenRouter.PipelineStage? Type1939 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginId? Type1940 { get; set; } + public global::OpenRouter.RoutingStrategy? Type1940 { get; set; } /// /// /// - public global::OpenRouter.ParetoRouterPluginPriceSource? Type1941 { get; set; } + public global::OpenRouter.OpenRouterWebSearchServerToolType? Type1941 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponse? Type1942 { get; set; } + public global::System.Collections.Generic.IList? Type1942 { get; set; } /// /// /// - public global::OpenRouter.PayloadTooLargeResponseErrorData? Type1943 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFile? Type1943 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponse? Type1944 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultFileType? Type1944 { get; set; } /// /// /// - public global::OpenRouter.PaymentRequiredResponseErrorData? Type1945 { get; set; } + public global::OpenRouter.ORAnthropicBashToolResultType? Type1945 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngine? Type1946 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminator? Type1946 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant1? Type1947 { get; set; } + public global::OpenRouter.ORAnthropicContentBlockDiscriminatorType? Type1947 { get; set; } /// /// /// - public global::OpenRouter.PDFParserEngineVariant2? Type1948 { get; set; } + public global::OpenRouter.ORAnthropicNullableCaller? Type1948 { get; set; } /// /// /// - public global::OpenRouter.PercentileLatencyCutoffs? Type1949 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminator? Type1949 { get; set; } /// /// /// - public global::OpenRouter.PercentileStats? Type1950 { get; set; } + public global::OpenRouter.ORAnthropicNullableCallerDiscriminatorType? Type1950 { get; set; } /// /// /// - public global::OpenRouter.PercentileThroughputCutoffs? Type1951 { get; set; } + public global::OpenRouter.ORAnthropicServerToolUseBlockType? Type1951 { get; set; } /// /// /// - public global::OpenRouter.PipelineStageType? Type1952 { get; set; } + public global::System.Collections.Generic.IList? Type1952 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? Type1953 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFile? Type1953 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1954 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultFileType? Type1954 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentText? Type1955 { get; set; } + public global::OpenRouter.ORAnthropicShellToolResultType? Type1955 { get; set; } /// /// /// - public global::OpenRouter.PredictionType? Type1956 { get; set; } + public global::OpenRouter.OrganizationSettings? Type1956 { get; set; } /// /// /// - public global::OpenRouter.PredictionContentTextType? Type1957 { get; set; } + public global::OpenRouter.OutputAdvisorServerToolItemType? Type1957 { get; set; } /// /// /// - public global::OpenRouter.PreferredMaxLatency? Type1958 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItem? Type1958 { get; set; } /// /// /// - public global::OpenRouter.PreferredMinThroughput? Type1959 { get; set; } + public global::OpenRouter.OutputApplyPatchCallItemType? Type1959 { get; set; } /// /// /// - public global::OpenRouter.PresetStatus? Type1960 { get; set; } + public global::OpenRouter.OutputApplyPatchServerToolItemType? Type1960 { get; set; } /// /// /// - public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type1961 { get; set; } + public global::System.Collections.Generic.IList? Type1961 { get; set; } /// /// /// - public global::OpenRouter.Preview20250311WebSearchServerToolType? Type1962 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFile? Type1962 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocation? Type1963 { get; set; } + public global::OpenRouter.OutputBashServerToolItemFileType? Type1963 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchServerToolType? Type1964 { get; set; } + public global::OpenRouter.OutputBashServerToolItemType? Type1964 { get; set; } /// /// /// - public global::OpenRouter.PreviewWebSearchUserLocationType? Type1965 { get; set; } + public global::OpenRouter.OutputBrowserUseServerToolItemType? Type1965 { get; set; } /// /// /// - public global::OpenRouter.PricingOverride? Type1966 { get; set; } + public global::OpenRouter.OutputCapacityEntryV2Variant1? Type1966 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1967 { get; set; } + public global::OpenRouter.OutputCapacityEntryV2Variant1Per? Type1967 { get; set; } /// /// /// - public global::OpenRouter.PricingOverrideUtcDay? Type1968 { get; set; } + public global::OpenRouter.OutputCapacityEntryV2Variant1Type? Type1968 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpoint? Type1969 { get; set; } + public global::OpenRouter.OutputPricingUnitV2? Type1969 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointStatus? Type1970 { get; set; } + public global::OpenRouter.OutputCapacityEntryV2Variant2? Type1970 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheck? Type1971 { get; set; } + public global::OpenRouter.OutputCapacityEntryV2Variant2Type? Type1971 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointCheckReason? Type1972 { get; set; } + public global::OpenRouter.RequestUnitV2? Type1972 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointResponse? Type1973 { get; set; } + public global::OpenRouter.OutputCodeInterpreterServerToolItemType? Type1973 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidation? Type1974 { get; set; } + public global::System.Collections.Generic.IList? Type1974 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1975 { get; set; } + public global::OpenRouter.OutputComputerCallItemPendingSafetyCheck? Type1975 { get; set; } /// /// /// - public global::OpenRouter.PrivateEndpointValidationResponse? Type1976 { get; set; } + public global::OpenRouter.OutputComputerCallItemStatus? Type1976 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheBreakpointMode? Type1977 { get; set; } + public global::OpenRouter.OutputComputerCallItemType? Type1977 { get; set; } /// /// /// - public global::OpenRouter.PromptCacheOptionsMode? Type1978 { get; set; } + public global::OpenRouter.OutputCustomToolCallItem? Type1978 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponse? Type1979 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemStatus? Type1979 { get; set; } /// /// /// - public global::OpenRouter.ProviderOverloadedResponseErrorData? Type1980 { get; set; } + public global::OpenRouter.OutputCustomToolCallItemType? Type1980 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesDataCollection? Type1981 { get; set; } + public global::OpenRouter.OutputDatetimeItemType? Type1981 { get; set; } /// /// /// - public global::OpenRouter.ProviderPreferencesMaxPrice? Type1982 { get; set; } + public global::OpenRouter.OutputFileSearchServerToolItemType? Type1982 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1983 { get; set; } + public global::OpenRouter.OutputFilesServerToolItemType? Type1983 { get; set; } /// /// /// - public global::OpenRouter.Quantization? Type1984 { get; set; } + public global::OpenRouter.OutputFunctionCallItem? Type1984 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseProviderName? Type1985 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2? Type1985 { get; set; } /// /// /// - public global::OpenRouter.ProviderResponseRoutedServiceTier? Type1986 { get; set; } + public global::System.Collections.Generic.IList? Type1986 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigBy? Type1987 { get; set; } + public global::OpenRouter.OutputFunctionCallItemVariant2SubagentItem? Type1987 { get; set; } /// /// /// - public global::OpenRouter.ProviderSortConfigPartition? Type1988 { get; set; } + public global::System.Collections.Generic.IList? Type1988 { get; set; } /// /// /// - public global::OpenRouter.ProvisionInternResponse? Type1989 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemFailedModel? Type1989 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type1990 { get; set; } + public global::System.Collections.Generic.IList? Type1990 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointNativeTools2? Type1991 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemResponse? Type1991 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type1992 { get; set; } + public global::System.Collections.Generic.IList? Type1992 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type1993 { get; set; } + public global::OpenRouter.OutputFusionServerToolItemType? Type1993 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type1994 { get; set; } + public global::OpenRouter.OutputImageGenerationCallItemVariant2? Type1994 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type1995 { get; set; } + public global::OpenRouter.OutputImageGenerationServerToolItemType? Type1995 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type1996 { get; set; } + public global::OpenRouter.OutputItemAddedEvent? Type1996 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type1997 { get; set; } + public global::OpenRouter.Item? Type1997 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type1998 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminator? Type1998 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type1999 { get; set; } + public global::OpenRouter.OutputItemAddedEventItemDiscriminatorType? Type1999 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2000 { get; set; } + public global::OpenRouter.OutputItemAddedEventType? Type2000 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2001 { get; set; } + public global::OpenRouter.Operation? Type2001 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2002 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminator? Type2002 { get; set; } /// /// /// - public global::OpenRouter.PublicEndpointPricing? Type2003 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallOperationDiscriminatorType? Type2003 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2004 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallStatus? Type2004 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceSupport? Type2005 { get; set; } + public global::OpenRouter.OutputItemApplyPatchCallType? Type2005 { get; set; } /// /// /// - public global::OpenRouter.RangeCapabilityType? Type2006 { get; set; } + public global::System.Collections.Generic.IList? Type2006 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyItem? Type2007 { get; set; } + public global::OpenRouter.OutputsItem? Type2007 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyMetaVersion? Type2008 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminator? Type2008 { get; set; } /// /// /// - public global::OpenRouter.RankingsDailyResponse? Type2009 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallOutputDiscriminatorType? Type2009 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2010 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallStatus? Type2010 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2011 { get; set; } + public global::OpenRouter.OutputItemCodeInterpreterCallType? Type2011 { get; set; } /// /// /// - public global::OpenRouter.ReasoningConfigVariant12? Type2012 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallStatus? Type2012 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDeltaEvent? Type2013 { get; set; } + public global::OpenRouter.OutputItemCustomToolCallType? Type2013 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailEncryptedType? Type2014 { get; set; } + public global::OpenRouter.OutputItemDoneEvent? Type2014 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailServerToolCallType? Type2015 { get; set; } + public global::OpenRouter.Item2? Type2015 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailSummaryType? Type2016 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminator? Type2016 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailTextType? Type2017 { get; set; } + public global::OpenRouter.OutputItemDoneEventItemDiscriminatorType? Type2017 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2018 { get; set; } + public global::OpenRouter.OutputItemDoneEventType? Type2018 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2019 { get; set; } + public global::OpenRouter.WebSearchStatus? Type2019 { get; set; } /// /// /// - public global::OpenRouter.ReasoningDoneEvent? Type2020 { get; set; } + public global::OpenRouter.OutputItemFileSearchCallType? Type2020 { get; set; } /// /// /// - public global::OpenRouter.ReasoningItemVariant2? Type2021 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant1? Type2021 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2022 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant2? Type2022 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2023 { get; set; } + public global::OpenRouter.OutputItemFunctionCallStatusVariant3? Type2023 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextType? Type2024 { get; set; } + public global::OpenRouter.OutputItemFunctionCallType? Type2024 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2025 { get; set; } + public global::OpenRouter.OutputItemImageGenerationCallType? Type2025 { get; set; } /// /// /// - public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2026 { get; set; } + public global::System.Collections.Generic.IList? Type2026 { get; set; } /// /// /// - public global::OpenRouter.ReasoningTextContentType? Type2027 { get; set; } + public global::OpenRouter.AnyOf? Type2027 { get; set; } /// /// /// - public global::OpenRouter.RefusalDeltaEvent? Type2028 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant1? Type2028 { get; set; } /// /// /// - public global::OpenRouter.RefusalDoneEvent? Type2029 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant2? Type2029 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponse? Type2030 { get; set; } + public global::OpenRouter.OutputItemReasoningStatusVariant3? Type2030 { get; set; } /// /// /// - public global::OpenRouter.RequestTimeoutResponseErrorData? Type2031 { get; set; } + public global::OpenRouter.OutputItemReasoningType? Type2031 { get; set; } /// /// /// - public global::OpenRouter.ResponseHealingPluginId? Type2032 { get; set; } + public global::OpenRouter.OutputShellCallItem? Type2032 { get; set; } /// /// /// - public global::OpenRouter.ResponseIncludesEnum? Type2033 { get; set; } + public global::OpenRouter.OutputShellCallOutputItem? Type2033 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2034 { get; set; } + public global::OpenRouter.OutputItemsDiscriminator? Type2034 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2035 { get; set; } + public global::OpenRouter.OutputItemsDiscriminatorType? Type2035 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprob? Type2036 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1? Type2036 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2037 { get; set; } + public global::System.Collections.Generic.IList? Type2037 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2038 { get; set; } + public global::OpenRouter.WebSearchSource? Type2038 { get; set; } /// /// /// - public global::OpenRouter.ResponseOutputTextType? Type2039 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant1Type? Type2039 { get; set; } /// /// /// - public global::OpenRouter.ResponsesErrorFieldCode? Type2040 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2? Type2040 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequest? Type2041 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant2Type? Type2041 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2042 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3? Type2042 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2043 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallActionVariant3Type? Type2043 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2044 { get; set; } + public global::OpenRouter.OutputItemWebSearchCallType? Type2044 { get; set; } /// /// /// - public global::OpenRouter.PluginsItem3? Type2045 { get; set; } + public global::OpenRouter.OutputMcpServerToolItemType? Type2045 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2046 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemAction? Type2046 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2047 { get; set; } + public global::OpenRouter.OutputMemoryServerToolItemType? Type2047 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestServiceTier? Type2048 { get; set; } + public global::OpenRouter.AnyOf? Type2048 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2049 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant1? Type2049 { get; set; } /// /// /// - public global::OpenRouter.ResponsesRequestToolVariant1? Type2050 { get; set; } + public global::OpenRouter.OutputMessagePhaseVariant2? Type2050 { get; set; } /// /// /// - public global::OpenRouter.ResponsesStreamingResponse? Type2051 { get; set; } + public global::OpenRouter.OutputMessageRole? Type2051 { get; set; } /// /// /// - public global::OpenRouter.StreamEvents? Type2052 { get; set; } + public global::OpenRouter.AnyOf? Type2052 { get; set; } /// /// /// - public global::OpenRouter.ScimGroupMappingRole? Type2053 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant1? Type2053 { get; set; } /// /// /// - public global::OpenRouter.ScimSyncJobStatus? Type2054 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant2? Type2054 { get; set; } /// /// /// - public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2055 { get; set; } + public global::OpenRouter.OutputMessageStatusVariant3? Type2055 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2056 { get; set; } + public global::OpenRouter.OutputMessageType? Type2056 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputName? Type2057 { get; set; } + public global::OpenRouter.OutputModalityEnum? Type2057 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2058 { get; set; } + public global::OpenRouter.OutputPricingEntryV2Type? Type2058 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngine? Type2059 { get; set; } + public global::OpenRouter.OutputReasoningItemVariant2? Type2059 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeSupport? Type2060 { get; set; } + public global::OpenRouter.ReasoningFormat? Type2060 { get; set; } /// /// /// - public global::OpenRouter.ServerToolStatus? Type2061 { get; set; } + public global::OpenRouter.OutputSearchModelsServerToolItemType? Type2061 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2062 { get; set; } + public global::OpenRouter.OutputShellCallItemAction? Type2062 { get; set; } /// /// /// - public global::OpenRouter.ServerToolSupportedApiFormat? Type2063 { get; set; } + public global::OpenRouter.ShellCallStatus? Type2063 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2? Type2064 { get; set; } + public global::OpenRouter.OutputShellCallItemType? Type2064 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2065 { get; set; } + public global::System.Collections.Generic.IList? Type2065 { get; set; } /// /// /// - public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2066 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFile? Type2066 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2067 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemFileType? Type2067 { get; set; } /// /// /// - public global::OpenRouter.ServerToolNativeModel? Type2068 { get; set; } + public global::System.Collections.Generic.IList? Type2068 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineByok? Type2069 { get; set; } + public global::OpenRouter.ShellCallOutputContent? Type2069 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2070 { get; set; } + public global::OpenRouter.OutputShellCallOutputItemType? Type2070 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEngineDataRegion? Type2071 { get; set; } + public global::OpenRouter.OutputShellServerToolItemAction? Type2071 { get; set; } /// /// /// - public global::OpenRouter.ServerToolExecutedBy? Type2072 { get; set; } + public global::System.Collections.Generic.IList? Type2072 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2073 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFile? Type2073 { get; set; } /// /// /// - public global::OpenRouter.ServerToolPrice? Type2074 { get; set; } + public global::OpenRouter.OutputShellServerToolItemFileType? Type2074 { get; set; } /// /// /// - public global::OpenRouter.ServerToolEnginePricingSource? Type2075 { get; set; } + public global::OpenRouter.OutputShellServerToolItemType? Type2075 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2076 { get; set; } + public global::OpenRouter.OutputSubagentServerToolItemType? Type2076 { get; set; } /// /// /// - public global::OpenRouter.ServerToolInputNameApiFormat? Type2077 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemCommand? Type2077 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2078 { get; set; } + public global::OpenRouter.OutputTextEditorServerToolItemType? Type2078 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputName? Type2079 { get; set; } + public global::OpenRouter.OutputToolSearchServerToolItemType? Type2079 { get; set; } /// /// /// - public global::OpenRouter.ServerToolOutputNameApiFormat? Type2080 { get; set; } + public global::OpenRouter.OutputWebFetchServerToolItemType? Type2080 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponse? Type2081 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemAction? Type2081 { get; set; } /// /// /// - public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2082 { get; set; } + public global::System.Collections.Generic.IList? Type2082 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItem? Type2083 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSource? Type2083 { get; set; } /// /// /// - public global::OpenRouter.SessionCostItemTurnRange? Type2084 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionSourceType? Type2084 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMeta? Type2085 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemActionType? Type2085 { get; set; } /// /// /// - public global::OpenRouter.SessionCostMetaVersion? Type2086 { get; set; } + public global::OpenRouter.OutputWebSearchServerToolItemType? Type2086 { get; set; } /// /// /// - public global::OpenRouter.SessionCostResponse? Type2087 { get; set; } + public global::OpenRouter.OneOf? Type2087 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2088 { get; set; } + public global::OpenRouter.ParameterDescriptorV2Type? Type2088 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemAction? Type2089 { get; set; } + public global::System.Collections.Generic.IList>? Type2089 { get; set; } /// /// /// - public global::OpenRouter.ShellCallItemType? Type2090 { get; set; } + public global::OpenRouter.OneOf? Type2090 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2091 { get; set; } + public global::OpenRouter.ParetoRouterPluginId? Type2091 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2092 { get; set; } + public global::OpenRouter.ParetoRouterPluginPriceSource? Type2092 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2093 { get; set; } + public global::OpenRouter.PayloadTooLargeResponse? Type2093 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2094 { get; set; } + public global::OpenRouter.PayloadTooLargeResponseErrorData? Type2094 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2095 { get; set; } + public global::OpenRouter.PaymentRequiredResponse? Type2095 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2096 { get; set; } + public global::OpenRouter.PaymentRequiredResponseErrorData? Type2096 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFile? Type2097 { get; set; } + public global::OpenRouter.PDFParserEngine? Type2097 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemFileType? Type2098 { get; set; } + public global::OpenRouter.PDFParserEngineVariant1? Type2098 { get; set; } /// /// /// - public global::OpenRouter.ShellCallOutputItemType? Type2099 { get; set; } + public global::OpenRouter.PDFParserEngineVariant2? Type2099 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolType? Type2100 { get; set; } + public global::OpenRouter.PercentileLatencyCutoffs? Type2100 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolConfig? Type2101 { get; set; } + public global::OpenRouter.PercentileStats? Type2101 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolOpenRouterType? Type2102 { get; set; } + public global::OpenRouter.PercentileThroughputCutoffs? Type2102 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEngine? Type2103 { get; set; } + public global::OpenRouter.PipelineStageType? Type2103 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironment? Type2104 { get; set; } + public global::OpenRouter.AnyOf>? Type2104 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2105 { get; set; } + public global::System.Collections.Generic.IList? Type2105 { get; set; } /// /// /// - public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2106 { get; set; } + public global::OpenRouter.PredictionContentText? Type2106 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReference? Type2107 { get; set; } + public global::OpenRouter.PredictionType? Type2107 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudio? Type2108 { get; set; } + public global::OpenRouter.PredictionContentTextType? Type2108 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceText? Type2109 { get; set; } + public global::OpenRouter.PreferredMaxLatency? Type2109 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImage? Type2110 { get; set; } + public global::OpenRouter.PreferredMinThroughput? Type2110 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2111 { get; set; } + public global::OpenRouter.PresetStatus? Type2111 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2112 { get; set; } + public global::OpenRouter.PresetWithDesignatedVersionVariant2? Type2112 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioInput? Type2113 { get; set; } + public global::OpenRouter.Preview20250311WebSearchServerToolType? Type2113 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceAudioType? Type2114 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocation? Type2114 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageInput? Type2115 { get; set; } + public global::OpenRouter.PreviewWebSearchServerToolType? Type2115 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceImageType? Type2116 { get; set; } + public global::OpenRouter.PreviewWebSearchUserLocationType? Type2116 { get; set; } /// /// /// - public global::OpenRouter.SpeechInputReferenceTextType? Type2117 { get; set; } + public global::OpenRouter.PricingOverride? Type2117 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequest? Type2118 { get; set; } + public global::System.Collections.Generic.IList? Type2118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2119 { get; set; } + public global::OpenRouter.PricingOverrideUtcDay? Type2119 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProvider? Type2120 { get; set; } + public global::OpenRouter.PricingPredicateV2? Type2120 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestProviderDataCollection? Type2121 { get; set; } + public global::OpenRouter.PricingPredicateV2Variant1Variant1? Type2121 { get; set; } /// /// /// - public global::OpenRouter.SpeechRequestResponseFormat? Type2122 { get; set; } + public global::OpenRouter.PricingPredicateV2Variant1Variant2? Type2122 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenCondition? Type2123 { get; set; } + public global::OpenRouter.PricingPredicateV2Variant1Variant3? Type2123 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2124 { get; set; } + public global::OpenRouter.PricingPredicateV2Variant1Variant4? Type2124 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2125 { get; set; } + public global::OpenRouter.PricingPredicateV2Variant2? Type2125 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2126 { get; set; } + public global::System.Collections.Generic.IList? Type2126 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCost? Type2127 { get; set; } + public global::OpenRouter.PricingPredicateV2Variant3? Type2127 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2128 { get; set; } + public global::OpenRouter.PricingPredicateV2Variant4? Type2128 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2129 { get; set; } + public global::OpenRouter.PrivateEndpoint? Type2129 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2130 { get; set; } + public global::OpenRouter.PrivateEndpointStatus? Type2130 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2131 { get; set; } + public global::OpenRouter.PrivateEndpointCheck? Type2131 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2132 { get; set; } + public global::OpenRouter.PrivateEndpointCheckReason? Type2132 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2133 { get; set; } + public global::OpenRouter.PrivateEndpointResponse? Type2133 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2134 { get; set; } + public global::OpenRouter.PrivateEndpointValidation? Type2134 { get; set; } /// /// /// - public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2135 { get; set; } + public global::System.Collections.Generic.IList? Type2135 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2136 { get; set; } + public global::OpenRouter.PrivateEndpointValidationResponse? Type2136 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompleted? Type2137 { get; set; } + public global::OpenRouter.PromptCacheBreakpointMode? Type2137 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncomplete? Type2138 { get; set; } + public global::OpenRouter.PromptCacheOptionsMode? Type2138 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailed? Type2139 { get; set; } + public global::OpenRouter.ProviderOverloadedResponse? Type2139 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2140 { get; set; } + public global::OpenRouter.ProviderOverloadedResponseErrorData? Type2140 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2141 { get; set; } + public global::OpenRouter.ProviderPreferencesDataCollection? Type2141 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEvent? Type2142 { get; set; } + public global::OpenRouter.ProviderPreferencesMaxPrice? Type2142 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEvent? Type2143 { get; set; } + public global::System.Collections.Generic.IList? Type2143 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallInProgressEvent? Type2144 { get; set; } + public global::OpenRouter.Quantization? Type2144 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallSearchingEvent? Type2145 { get; set; } + public global::OpenRouter.ProviderResponseProviderName? Type2145 { get; set; } /// /// /// - public global::OpenRouter.WebSearchCallCompletedEvent? Type2146 { get; set; } + public global::OpenRouter.ProviderResponseRoutedServiceTier? Type2146 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminator? Type2147 { get; set; } + public global::OpenRouter.ProviderSortConfigBy? Type2147 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsDiscriminatorType? Type2148 { get; set; } + public global::OpenRouter.ProviderSortConfigPartition? Type2148 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2149 { get; set; } + public global::OpenRouter.ProvisionInternResponse? Type2149 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2150 { get; set; } + public global::System.Collections.Generic.Dictionary? Type2150 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2151 { get; set; } + public global::OpenRouter.PublicEndpointNativeTools2? Type2151 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2152 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkload? Type2152 { get; set; } /// /// /// - public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2153 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadDecisions? Type2153 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprob? Type2154 { get; set; } + public global::OpenRouter.AllOf? Type2154 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobVariant2? Type2155 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadEmbeddings? Type2155 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2156 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadImageGeneration? Type2156 { get; set; } /// /// /// - public global::OpenRouter.StreamLogprobTopLogprob? Type2157 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadRerank? Type2157 { get; set; } /// /// /// - public global::OpenRouter.STTEntity? Type2158 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadStt? Type2158 { get; set; } /// /// /// - public global::OpenRouter.STTInlineInputAudio? Type2159 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTextGeneration? Type2159 { get; set; } /// /// /// - public global::OpenRouter.STTInputAudio? Type2160 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadTts? Type2160 { get; set; } /// /// /// - public global::OpenRouter.STTUrlInputAudio? Type2161 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadUnknown? Type2161 { get; set; } /// /// /// - public global::OpenRouter.STTRequest? Type2162 { get; set; } + public global::OpenRouter.PublicEndpointPerfLast30mByWorkloadVideoGeneration? Type2162 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProvider? Type2163 { get; set; } + public global::OpenRouter.PublicEndpointPricing? Type2163 { get; set; } /// /// /// - public global::OpenRouter.STTRequestProviderDataCollection? Type2164 { get; set; } + public global::System.Collections.Generic.IList? Type2164 { get; set; } /// /// /// - public global::OpenRouter.STTRequestResponseFormat? Type2165 { get; set; } + public global::OpenRouter.ToolChoiceSupport? Type2165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2166 { get; set; } + public global::OpenRouter.RangeCapabilityType? Type2166 { get; set; } /// /// /// - public global::OpenRouter.STTTimestampGranularity? Type2167 { get; set; } + public global::OpenRouter.RankingsDailyItem? Type2167 { get; set; } /// /// /// - public global::OpenRouter.STTResponse? Type2168 { get; set; } + public global::OpenRouter.RankingsDailyMetaVersion? Type2168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2169 { get; set; } + public global::OpenRouter.RankingsDailyResponse? Type2169 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2170 { get; set; } + public global::System.Collections.Generic.IList? Type2170 { get; set; } /// /// /// - public global::OpenRouter.STTSegment? Type2171 { get; set; } + public global::OpenRouter.AllOf? Type2171 { get; set; } /// /// /// - public global::OpenRouter.STTUsage? Type2172 { get; set; } + public global::OpenRouter.ReasoningConfigVariant12? Type2172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2173 { get; set; } + public global::OpenRouter.ReasoningDeltaEvent? Type2173 { get; set; } /// /// /// - public global::OpenRouter.STTWord? Type2174 { get; set; } + public global::OpenRouter.ReasoningDetailEncryptedType? Type2174 { get; set; } /// /// /// - public global::OpenRouter.STTWordType? Type2175 { get; set; } + public global::OpenRouter.ReasoningDetailServerToolCallType? Type2175 { get; set; } /// /// /// - public global::OpenRouter.SubagentNestedTool? Type2176 { get; set; } + public global::OpenRouter.ReasoningDetailSummaryType? Type2176 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoning? Type2177 { get; set; } + public global::OpenRouter.ReasoningDetailTextType? Type2177 { get; set; } /// /// /// - public global::OpenRouter.SubagentReasoningEffort? Type2178 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminator? Type2178 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolConfig? Type2179 { get; set; } + public global::OpenRouter.ReasoningDetailUnionDiscriminatorType? Type2179 { get; set; } /// /// /// - public global::OpenRouter.SubagentServerToolOpenRouterType? Type2180 { get; set; } + public global::OpenRouter.ReasoningDoneEvent? Type2180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2181 { get; set; } + public global::OpenRouter.ReasoningItemVariant2? Type2181 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2182 { get; set; } + public global::OpenRouter.ReasoningSummaryPartAddedEvent? Type2182 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2183 { get; set; } + public global::OpenRouter.ReasoningSummaryPartDoneEvent? Type2183 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2184 { get; set; } + public global::OpenRouter.ReasoningSummaryTextType? Type2184 { get; set; } /// /// /// - public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2185 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDeltaEvent? Type2185 { get; set; } /// /// /// - public global::OpenRouter.SuspendInternResponse? Type2186 { get; set; } + public global::OpenRouter.ReasoningSummaryTextDoneEvent? Type2186 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2187 { get; set; } + public global::OpenRouter.ReasoningTextContentType? Type2187 { get; set; } /// /// /// - public global::OpenRouter.SwitchyardRouterPluginId? Type2188 { get; set; } + public global::OpenRouter.RefusalDeltaEvent? Type2188 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationItem? Type2189 { get; set; } + public global::OpenRouter.RefusalDoneEvent? Type2189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2190 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant1? Type2190 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationModel? Type2191 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant1Per? Type2191 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationMacroCategory? Type2192 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant1Type? Type2192 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponse? Type2193 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant2? Type2193 { get; set; } /// /// /// - public global::OpenRouter.TaskClassificationResponseData? Type2194 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant2Per? Type2194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2195 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant2Type? Type2195 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2196 { get; set; } + public global::OpenRouter.SearchUnitV2? Type2196 { get; set; } /// /// /// - public global::OpenRouter.TextConfigVerbosity? Type2197 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant3? Type2197 { get; set; } /// /// /// - public global::OpenRouter.TextDeltaEventVariant2? Type2198 { get; set; } + public global::OpenRouter.RequestCapacityEntryV2Variant3Type? Type2198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2199 { get; set; } + public global::OpenRouter.RequestPricingEntryV2Variant1? Type2199 { get; set; } /// /// /// - public global::OpenRouter.TextDoneEventVariant2? Type2200 { get; set; } + public global::OpenRouter.RequestPricingEntryV2Variant1Type? Type2200 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2? Type2201 { get; set; } + public global::OpenRouter.RequestPricingEntryV2Variant2? Type2201 { get; set; } /// /// /// - public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2202 { get; set; } + public global::OpenRouter.RequestPricingEntryV2Variant2Type? Type2202 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequest? Type2203 { get; set; } + public global::OpenRouter.RequestTimeoutResponse? Type2203 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestGrantType? Type2204 { get; set; } + public global::OpenRouter.RequestTimeoutResponseErrorData? Type2204 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2205 { get; set; } + public global::OpenRouter.ResponseHealingPluginId? Type2205 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestScope? Type2206 { get; set; } + public global::OpenRouter.ResponseIncludesEnum? Type2206 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2207 { get; set; } + public global::System.Collections.Generic.IList? Type2207 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponse? Type2208 { get; set; } + public global::System.Collections.Generic.IList? Type2208 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2209 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprob? Type2209 { get; set; } /// /// /// - public global::OpenRouter.TokenExchangeResponseTokenType? Type2210 { get; set; } + public global::System.Collections.Generic.IList? Type2210 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2211 { get; set; } + public global::OpenRouter.ResponseOutputTextLogprobTopLogprob? Type2211 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2212 { get; set; } + public global::OpenRouter.ResponseOutputTextType? Type2212 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2213 { get; set; } + public global::OpenRouter.ResponsesErrorFieldCode? Type2213 { get; set; } /// /// /// - public global::OpenRouter.ToolChoiceAllowedType? Type2214 { get; set; } + public global::OpenRouter.ResponsesRequest? Type2214 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolConfig? Type2215 { get; set; } + public global::System.Collections.Generic.IList? Type2215 { get; set; } /// /// /// - public global::OpenRouter.ToolSearchServerToolType? Type2216 { get; set; } + public global::System.Collections.Generic.IList? Type2216 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponse? Type2217 { get; set; } + public global::System.Collections.Generic.IList? Type2217 { get; set; } /// /// /// - public global::OpenRouter.TooManyRequestsResponseErrorData? Type2218 { get; set; } + public global::OpenRouter.PluginsItem3? Type2218 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponse? Type2219 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminator? Type2219 { get; set; } /// /// /// - public global::OpenRouter.UnauthorizedResponseErrorData? Type2220 { get; set; } + public global::OpenRouter.ResponsesRequestPluginDiscriminatorId? Type2220 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarkPricing? Type2221 { get; set; } + public global::OpenRouter.ResponsesRequestServiceTier? Type2221 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItem? Type2222 { get; set; } + public global::OpenRouter.AllOf? Type2222 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2223 { get; set; } + public global::OpenRouter.ResponsesRequestToolVariant1? Type2223 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItem? Type2224 { get; set; } + public global::OpenRouter.ResponsesStreamingResponse? Type2224 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2225 { get; set; } + public global::OpenRouter.StreamEvents? Type2225 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2226 { get; set; } + public global::OpenRouter.ScimGroupMappingRole? Type2226 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMeta? Type2227 { get; set; } + public global::OpenRouter.ScimSyncJobStatus? Type2227 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2228 { get; set; } + public global::OpenRouter.SearchModelsServerToolOpenRouterType? Type2228 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2229 { get; set; } + public global::System.Collections.Generic.IList? Type2229 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItem? Type2230 { get; set; } + public global::OpenRouter.ServerToolInputName? Type2230 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2231 { get; set; } + public global::System.Collections.Generic.IList? Type2231 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2232 { get; set; } + public global::OpenRouter.ServerToolEngine? Type2232 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksResponse? Type2233 { get; set; } + public global::OpenRouter.ServerToolNativeSupport? Type2233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2234 { get; set; } + public global::OpenRouter.ServerToolStatus? Type2234 { get; set; } /// /// /// - public global::OpenRouter.OneOf? Type2235 { get; set; } + public global::System.Collections.Generic.IList? Type2235 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2236 { get; set; } + public global::OpenRouter.ServerToolSupportedApiFormat? Type2236 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2237 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2? Type2237 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2238 { get; set; } + public global::OpenRouter.AllOf? Type2238 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2239 { get; set; } + public global::OpenRouter.ServerToolDetailsVariant2NativeSupport? Type2239 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2240 { get; set; } + public global::System.Collections.Generic.IList? Type2240 { get; set; } /// /// /// - public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2241 { get; set; } + public global::OpenRouter.ServerToolNativeModel? Type2241 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponse? Type2242 { get; set; } + public global::OpenRouter.ServerToolEngineByok? Type2242 { get; set; } /// /// /// - public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2243 { get; set; } + public global::System.Collections.Generic.IList? Type2243 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyRequest? Type2244 { get; set; } + public global::OpenRouter.ServerToolEngineDataRegion? Type2244 { get; set; } /// /// /// - public global::OpenRouter.UpdateBYOKKeyResponse? Type2245 { get; set; } + public global::OpenRouter.ServerToolExecutedBy? Type2245 { get; set; } /// /// /// - public global::OpenRouter.UpdateEndUserRequest? Type2246 { get; set; } + public global::System.Collections.Generic.IList? Type2246 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailRequest? Type2247 { get; set; } + public global::OpenRouter.ServerToolPrice? Type2247 { get; set; } /// /// /// - public global::OpenRouter.UpdateGuardrailResponse? Type2248 { get; set; } + public global::OpenRouter.ServerToolEnginePricingSource? Type2248 { get; set; } /// /// /// - public global::OpenRouter.UpdateInternRequest? Type2249 { get; set; } + public global::System.Collections.Generic.IList? Type2249 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2250 { get; set; } + public global::OpenRouter.ServerToolInputNameApiFormat? Type2250 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2251 { get; set; } + public global::System.Collections.Generic.IList? Type2251 { get; set; } /// /// /// - public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2252 { get; set; } + public global::OpenRouter.ServerToolOutputName? Type2252 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2253 { get; set; } + public global::OpenRouter.ServerToolOutputNameApiFormat? Type2253 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2254 { get; set; } + public global::OpenRouter.ServiceUnavailableResponse? Type2254 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequest? Type2255 { get; set; } + public global::OpenRouter.ServiceUnavailableResponseErrorData? Type2255 { get; set; } /// /// /// - public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2256 { get; set; } + public global::OpenRouter.SessionCostItem? Type2256 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequest? Type2257 { get; set; } + public global::OpenRouter.SessionCostItemTurnRange? Type2257 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2258 { get; set; } + public global::OpenRouter.SessionCostMeta? Type2258 { get; set; } /// /// /// - public global::OpenRouter.UpdateScimGroupMappingResponse? Type2259 { get; set; } + public global::OpenRouter.SessionCostMetaVersion? Type2259 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequest? Type2260 { get; set; } + public global::OpenRouter.SessionCostResponse? Type2260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2261 { get; set; } + public global::System.Collections.Generic.IList? Type2261 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2262 { get; set; } + public global::OpenRouter.ShellCallItemAction? Type2262 { get; set; } /// /// /// - public global::OpenRouter.UpdateWorkspaceResponse? Type2263 { get; set; } + public global::OpenRouter.ShellCallItemType? Type2263 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2264 { get; set; } + public global::OpenRouter.OneOf? Type2264 { get; set; } /// /// /// - public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2265 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1? Type2265 { get; set; } /// /// /// - public global::OpenRouter.URLCitationType? Type2266 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant1Type? Type2266 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant12? Type2267 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2? Type2267 { get; set; } /// /// /// - public global::OpenRouter.UsageVariant1CostDetails? Type2268 { get; set; } + public global::OpenRouter.ShellCallOutputContentOutcomeVariant2Type? Type2268 { get; set; } /// /// /// - public global::OpenRouter.ValidatePrivateEndpointRequest? Type2269 { get; set; } + public global::System.Collections.Generic.IList? Type2269 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecret? Type2270 { get; set; } + public global::OpenRouter.ShellCallOutputItemFile? Type2270 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretScope? Type2271 { get; set; } + public global::OpenRouter.ShellCallOutputItemFileType? Type2271 { get; set; } /// /// /// - public global::OpenRouter.VaultEffectiveSecretListResponse? Type2272 { get; set; } + public global::OpenRouter.ShellCallOutputItemType? Type2272 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2273 { get; set; } + public global::OpenRouter.ShellServerToolType? Type2273 { get; set; } /// /// /// - public global::OpenRouter.VaultSecret? Type2274 { get; set; } + public global::OpenRouter.ShellServerToolConfig? Type2274 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyRequest? Type2275 { get; set; } + public global::OpenRouter.ShellServerToolOpenRouterType? Type2275 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretCopyResponse? Type2276 { get; set; } + public global::OpenRouter.ShellServerToolEngine? Type2276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2277 { get; set; } + public global::OpenRouter.ShellServerToolEnvironment? Type2277 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretListResponse? Type2278 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminator? Type2278 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretResponse? Type2279 { get; set; } + public global::OpenRouter.ShellServerToolEnvironmentDiscriminatorType? Type2279 { get; set; } /// /// /// - public global::OpenRouter.VaultSecretWriteRequest? Type2280 { get; set; } + public global::OpenRouter.SpeechInputReference? Type2280 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequest? Type2281 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudio? Type2281 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2282 { get; set; } + public global::OpenRouter.SpeechInputReferenceText? Type2282 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2283 { get; set; } + public global::OpenRouter.SpeechInputReferenceImage? Type2283 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2284 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminator? Type2284 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestProvider? Type2285 { get; set; } + public global::OpenRouter.SpeechInputReferenceDiscriminatorType? Type2285 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationRequestResolution? Type2286 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioInput? Type2286 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponse? Type2287 { get; set; } + public global::OpenRouter.SpeechInputReferenceAudioType? Type2287 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationResponseStatus? Type2288 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageInput? Type2288 { get; set; } /// /// /// - public global::OpenRouter.VideoGenerationUsage? Type2289 { get; set; } + public global::OpenRouter.SpeechInputReferenceImageType? Type2289 { get; set; } /// /// /// - public global::OpenRouter.VideoModel? Type2290 { get; set; } + public global::OpenRouter.SpeechInputReferenceTextType? Type2290 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2291 { get; set; } + public global::OpenRouter.SpeechRequest? Type2291 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedAspectRatio? Type2292 { get; set; } + public global::System.Collections.Generic.IList? Type2292 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2293 { get; set; } + public global::OpenRouter.SpeechRequestProvider? Type2293 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedFrameImage? Type2294 { get; set; } + public global::OpenRouter.SpeechRequestResponseFormat? Type2294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2295 { get; set; } + public global::OpenRouter.StopServerToolsWhenCondition? Type2295 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedResolution? Type2296 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIs? Type2296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2297 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCall? Type2297 { get; set; } /// /// /// - public global::OpenRouter.VideoModelSupportedSize? Type2298 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsed? Type2298 { get; set; } /// /// /// - public global::OpenRouter.VideoModelUpscaleFactor? Type2299 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCost? Type2299 { get; set; } /// /// /// - public global::OpenRouter.VideoModelsListResponse? Type2300 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIs? Type2300 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2301 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminator? Type2301 { get; set; } /// /// /// - public global::OpenRouter.WebFetchEngineEnum? Type2302 { get; set; } + public global::OpenRouter.StopServerToolsWhenConditionDiscriminatorType? Type2302 { get; set; } /// /// /// - public global::OpenRouter.WebFetchPluginId? Type2303 { get; set; } + public global::OpenRouter.StopServerToolsWhenFinishReasonIsType? Type2303 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolConfig? Type2304 { get; set; } + public global::OpenRouter.StopServerToolsWhenHasToolCallType? Type2304 { get; set; } /// /// /// - public global::OpenRouter.WebFetchServerToolType? Type2305 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxCostType? Type2305 { get; set; } /// /// /// - public global::OpenRouter.WebSearchEngine? Type2306 { get; set; } + public global::OpenRouter.StopServerToolsWhenMaxTokensUsedType? Type2306 { get; set; } /// /// /// - public global::OpenRouter.WebSearchPluginId? Type2307 { get; set; } + public global::OpenRouter.StopServerToolsWhenStepCountIsType? Type2307 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2308 { get; set; } + public global::OpenRouter.AnyOf? Type2308 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolType? Type2309 { get; set; } + public global::OpenRouter.StreamEventsResponseCompleted? Type2309 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolConfig? Type2310 { get; set; } + public global::OpenRouter.StreamEventsResponseIncomplete? Type2310 { get; set; } /// /// /// - public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2311 { get; set; } + public global::OpenRouter.StreamEventsResponseFailed? Type2311 { get; set; } /// /// /// - public global::OpenRouter.WebSearchSourceType? Type2312 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAdded? Type2312 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationType? Type2313 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDone? Type2313 { get; set; } /// /// /// - public global::OpenRouter.WebSearchUserLocationServerToolType? Type2314 { get; set; } + public global::OpenRouter.TextDeltaEvent? Type2314 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetResetInterval? Type2315 { get; set; } + public global::OpenRouter.TextDoneEvent? Type2315 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceBudgetInterval? Type2316 { get; set; } + public global::OpenRouter.WebSearchCallInProgressEvent? Type2316 { get; set; } /// /// /// - public global::OpenRouter.WorkspaceMemberRole? Type2317 { get; set; } + public global::OpenRouter.WebSearchCallSearchingEvent? Type2317 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequest? Type2318 { get; set; } + public global::OpenRouter.WebSearchCallCompletedEvent? Type2318 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2319 { get; set; } + public global::OpenRouter.StreamEventsDiscriminator? Type2319 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2320 { get; set; } + public global::OpenRouter.StreamEventsDiscriminatorType? Type2320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2321 { get; set; } + public global::OpenRouter.StreamEventsResponseCompletedVariant2? Type2321 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2322 { get; set; } + public global::OpenRouter.StreamEventsResponseFailedVariant2? Type2322 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? Type2323 { get; set; } + public global::OpenRouter.StreamEventsResponseIncompleteVariant2? Type2323 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2324 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemAddedVariant2? Type2324 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestFilter? Type2325 { get; set; } + public global::OpenRouter.StreamEventsResponseOutputItemDoneVariant2? Type2325 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2326 { get; set; } + public global::OpenRouter.StreamLogprob? Type2326 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2327 { get; set; } + public global::OpenRouter.StreamLogprobVariant2? Type2327 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2328 { get; set; } + public global::System.Collections.Generic.IList? Type2328 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2329 { get; set; } + public global::OpenRouter.StreamLogprobTopLogprob? Type2329 { get; set; } /// /// /// - public byte[]? Type2330 { get; set; } + public global::OpenRouter.STTEntity? Type2330 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2331 { get; set; } + public global::OpenRouter.STTInlineInputAudio? Type2331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2332 { get; set; } + public global::OpenRouter.STTInputAudio? Type2332 { get; set; } /// /// /// - public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2333 { get; set; } + public global::OpenRouter.STTUrlInputAudio? Type2333 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2334 { get; set; } + public global::OpenRouter.STTRequest? Type2334 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2335 { get; set; } + public global::OpenRouter.STTRequestProvider? Type2335 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequest? Type2336 { get; set; } + public global::OpenRouter.STTRequestResponseFormat? Type2336 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2337 { get; set; } + public global::System.Collections.Generic.IList? Type2337 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2338 { get; set; } + public global::OpenRouter.STTTimestampGranularity? Type2338 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequest? Type2339 { get; set; } + public global::OpenRouter.STTResponse? Type2339 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2340 { get; set; } + public global::System.Collections.Generic.IList? Type2340 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2341 { get; set; } + public global::System.Collections.Generic.IList? Type2341 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2342 { get; set; } + public global::OpenRouter.STTSegment? Type2342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2343 { get; set; } + public global::OpenRouter.STTUsage? Type2343 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2344 { get; set; } + public global::System.Collections.Generic.IList? Type2344 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2345 { get; set; } + public global::OpenRouter.STTWord? Type2345 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2346 { get; set; } + public global::OpenRouter.STTWordType? Type2346 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2347 { get; set; } + public global::OpenRouter.SubagentNestedTool? Type2347 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2348 { get; set; } + public global::OpenRouter.SubagentReasoning? Type2348 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2349 { get; set; } + public global::OpenRouter.SubagentReasoningEffort? Type2349 { get; set; } /// /// /// - public global::OpenRouter.UploadFileRequest? Type2350 { get; set; } + public global::OpenRouter.SubagentServerToolConfig? Type2350 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequest? Type2351 { get; set; } + public global::OpenRouter.SubagentServerToolOpenRouterType? Type2351 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestExternal? Type2352 { get; set; } + public global::System.Collections.Generic.IList? Type2352 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysRequestLimitReset? Type2353 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequest? Type2353 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequest? Type2354 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackRequestCategory? Type2354 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysRequestLimitReset? Type2355 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponse? Type2355 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequest? Type2356 { get; set; } + public global::OpenRouter.SubmitGenerationFeedbackResponseData? Type2356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type2357 { get; set; } + public global::OpenRouter.SuspendInternResponse? Type2357 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2358 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginAlgorithm? Type2358 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankRequestDocument? Type2359 { get; set; } + public global::OpenRouter.SwitchyardRouterPluginId? Type2359 { get; set; } /// /// /// - public global::OpenRouter.GetUserActivityGroupBy? Type2360 { get; set; } + public global::OpenRouter.TaskClassificationItem? Type2360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2361 { get; set; } + public global::System.Collections.Generic.IList? Type2361 { get; set; } /// /// /// - public global::OpenRouter.AllOf? Type2362 { get; set; } + public global::OpenRouter.TaskClassificationModel? Type2362 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSource? Type2363 { get; set; } + public global::OpenRouter.TaskClassificationMacroCategory? Type2363 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksTaskType? Type2364 { get; set; } + public global::OpenRouter.TaskClassificationResponse? Type2364 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksBenchmarkType? Type2365 { get; set; } + public global::OpenRouter.TaskClassificationResponseData? Type2365 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksSearchSurface? Type2366 { get; set; } + public global::System.Collections.Generic.IList? Type2366 { get; set; } /// /// /// - public global::OpenRouter.GetBenchmarksArena? Type2367 { get; set; } + public global::System.Collections.Generic.IList? Type2367 { get; set; } /// /// /// - public global::OpenRouter.ListBYOKKeysProvider? Type2368 { get; set; } + public global::OpenRouter.TextConfigVerbosity? Type2368 { get; set; } /// /// /// - public global::OpenRouter.GetTaskClassificationsWindow? Type2369 { get; set; } + public global::OpenRouter.TextDeltaEventVariant2? Type2369 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsCategory? Type2370 { get; set; } + public global::System.Collections.Generic.IList? Type2370 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSubcategory? Type2371 { get; set; } + public global::OpenRouter.TextDoneEventVariant2? Type2371 { get; set; } /// /// /// - public global::OpenRouter.GetAppRankingsSort? Type2372 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2? Type2372 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyPeriod? Type2373 { get; set; } + public global::OpenRouter.TextExtendedConfigVariant2Verbosity? Type2373 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyModality? Type2374 { get; set; } + public global::OpenRouter.TokenExchangeRequest? Type2374 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyContextBucket? Type2375 { get; set; } + public global::OpenRouter.TokenExchangeRequestGrantType? Type2375 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyCategory? Type2376 { get; set; } + public global::OpenRouter.TokenExchangeRequestRequestedTokenType? Type2376 { get; set; } /// /// /// - public global::OpenRouter.GetRankingsDailyLanguageType? Type2377 { get; set; } + public global::OpenRouter.TokenExchangeRequestScope? Type2377 { get; set; } /// /// /// - public global::OpenRouter.GetSessionCostTurnRange? Type2378 { get; set; } + public global::OpenRouter.TokenExchangeRequestSubjectTokenType? Type2378 { get; set; } /// /// /// - public global::OpenRouter.ListFilesOrder? Type2379 { get; set; } + public global::OpenRouter.TokenExchangeResponse? Type2379 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2380 { get; set; } + public global::OpenRouter.TokenExchangeResponseIssuedTokenType? Type2380 { get; set; } /// /// /// - public global::OpenRouter.ListInternsStatu? Type2381 { get; set; } + public global::OpenRouter.TokenExchangeResponseTokenType? Type2381 { get; set; } /// /// /// - public global::OpenRouter.GetModelsCategory? Type2382 { get; set; } + public global::OpenRouter.AnyOf? Type2382 { get; set; } /// /// /// - public global::OpenRouter.GetModelsSort? Type2383 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant1? Type2383 { get; set; } /// /// /// - public global::OpenRouter.GetModelsDistillable? Type2384 { get; set; } + public global::OpenRouter.ToolChoiceAllowedModeVariant2? Type2384 { get; set; } /// /// /// - public global::OpenRouter.GetModelsZdr? Type2385 { get; set; } + public global::OpenRouter.ToolChoiceAllowedType? Type2385 { get; set; } /// /// /// - public global::OpenRouter.GetModelsRegion? Type2386 { get; set; } + public global::OpenRouter.ToolSearchServerToolConfig? Type2386 { get; set; } /// /// /// - public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2387 { get; set; } + public global::OpenRouter.ToolSearchServerToolType? Type2387 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2388 { get; set; } + public global::OpenRouter.TooManyRequestsResponse? Type2388 { get; set; } /// /// /// - public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2389 { get; set; } + public global::OpenRouter.TooManyRequestsResponseErrorData? Type2389 { get; set; } /// /// /// - public global::OpenRouter.ListToolsApiFormat? Type2390 { get; set; } + public global::OpenRouter.UnauthorizedResponse? Type2390 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponse? Type2391 { get; set; } + public global::OpenRouter.UnauthorizedResponseErrorData? Type2391 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseData? Type2392 { get; set; } + public global::OpenRouter.UnifiedBenchmarkPricing? Type2392 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2393 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItem? Type2393 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2394 { get; set; } + public global::OpenRouter.UnifiedBenchmarksAAItemSource? Type2394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2395 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItem? Type2395 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2396 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemSource? Type2396 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2397 { get; set; } + public global::OpenRouter.UnifiedBenchmarksDAItemTournamentStats? Type2397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2398 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMeta? Type2398 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2399 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaSource? Type2399 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2400 { get; set; } + public global::OpenRouter.UnifiedBenchmarksMetaVersion? Type2400 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2401 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItem? Type2401 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2402 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemBenchmarkType? Type2402 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2403 { get; set; } + public global::OpenRouter.UnifiedBenchmarksORItemSource? Type2403 { get; set; } /// /// /// - public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2404 { get; set; } + public global::OpenRouter.UnifiedBenchmarksResponse? Type2404 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponse? Type2405 { get; set; } + public global::System.Collections.Generic.IList>? Type2405 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseData? Type2406 { get; set; } + public global::OpenRouter.OneOf? Type2406 { get; set; } /// /// /// - public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2407 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItem? Type2407 { get; set; } /// /// /// - public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2408 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemBenchmarkType? Type2408 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponse? Type2409 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemPrimaryMetric? Type2409 { get; set; } /// /// /// - public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2410 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchRunConfig? Type2410 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponse? Type2411 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSearchSurface? Type2411 { get; set; } /// /// /// - public global::OpenRouter.GetCreditsResponseData? Type2412 { get; set; } + public global::OpenRouter.UnifiedBenchmarksSearchItemSource? Type2412 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponse? Type2413 { get; set; } + public global::OpenRouter.UnprocessableEntityResponse? Type2413 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2414 { get; set; } + public global::OpenRouter.UnprocessableEntityResponseErrorData? Type2414 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2415 { get; set; } + public global::OpenRouter.UpdateBYOKKeyRequest? Type2415 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2416 { get; set; } + public global::OpenRouter.UpdateBYOKKeyResponse? Type2416 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseObject? Type2417 { get; set; } + public global::OpenRouter.UpdateEndUserRequest? Type2417 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2418 { get; set; } + public global::OpenRouter.UpdateGuardrailRequest? Type2418 { get; set; } /// /// /// - public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2419 { get; set; } + public global::OpenRouter.UpdateGuardrailResponse? Type2419 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsZdrResponse? Type2420 { get; set; } + public global::OpenRouter.UpdateInternRequest? Type2420 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponse? Type2421 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationRequest? Type2421 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseData? Type2422 { get; set; } + public global::OpenRouter.AllOf? Type2422 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2423 { get; set; } + public global::OpenRouter.UpdateObservabilityDestinationResponse? Type2423 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2424 { get; set; } + public global::OpenRouter.UpdateOrganizationSettingsRequest? Type2424 { get; set; } /// /// /// - public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2425 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointPricingRequest? Type2425 { get; set; } /// /// /// - public global::OpenRouter.ListResponse? Type2426 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequest? Type2426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2427 { get; set; } + public global::OpenRouter.UpdatePrivateEndpointRequestDeclaredRegion? Type2427 { get; set; } /// /// /// - public global::OpenRouter.ListResponseDataItem? Type2428 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequest? Type2428 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponse? Type2429 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingRequestRole? Type2429 { get; set; } /// /// /// - public global::OpenRouter.CreateKeysResponseData? Type2430 { get; set; } + public global::OpenRouter.UpdateScimGroupMappingResponse? Type2430 { get; set; } /// /// /// - public global::OpenRouter.DeleteKeysResponse? Type2431 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequest? Type2431 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponse? Type2432 { get; set; } + public global::System.Collections.Generic.IList? Type2432 { get; set; } /// /// /// - public global::OpenRouter.GetKeyResponseData? Type2433 { get; set; } + public global::OpenRouter.UpdateWorkspaceRequestDisabledServerTool? Type2433 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponse? Type2434 { get; set; } + public global::OpenRouter.UpdateWorkspaceResponse? Type2434 { get; set; } /// /// /// - public global::OpenRouter.UpdateKeysResponseData? Type2435 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetRequest? Type2435 { get; set; } /// /// /// - public global::OpenRouter.ListEndpointsResponse2? Type2436 { get; set; } + public global::OpenRouter.UpsertWorkspaceBudgetResponse? Type2436 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponse? Type2437 { get; set; } + public global::OpenRouter.URLCitationType? Type2437 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2438 { get; set; } + public global::OpenRouter.UsageVariant12? Type2438 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2439 { get; set; } + public global::OpenRouter.UsageVariant1CostDetails? Type2439 { get; set; } /// /// /// - public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2440 { get; set; } + public global::OpenRouter.ValidatePrivateEndpointRequest? Type2440 { get; set; } /// /// /// - public global::OpenRouter.GetOrganizationSettingsResponse? Type2441 { get; set; } + public global::OpenRouter.VaultEffectiveSecret? Type2441 { get; set; } /// /// /// - public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2442 { get; set; } + public global::OpenRouter.VaultEffectiveSecretScope? Type2442 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2443 { get; set; } + public global::OpenRouter.VaultEffectiveSecretListResponse? Type2443 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2444 { get; set; } + public global::System.Collections.Generic.IList? Type2444 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2445 { get; set; } + public global::OpenRouter.VaultSecret? Type2445 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2446 { get; set; } + public global::OpenRouter.VaultSecretCopyRequest? Type2446 { get; set; } /// /// /// - public global::OpenRouter.AnyOf? Type2447 { get; set; } + public global::OpenRouter.VaultSecretCopyResponse? Type2447 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponse? Type2448 { get; set; } + public global::System.Collections.Generic.IList? Type2448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2449 { get; set; } + public global::OpenRouter.VaultSecretListResponse? Type2449 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItem? Type2450 { get; set; } + public global::OpenRouter.VaultSecretResponse? Type2450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2451 { get; set; } + public global::OpenRouter.VaultSecretWriteRequest? Type2451 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2452 { get; set; } + public global::OpenRouter.VideoGenerationRequest? Type2452 { get; set; } /// /// /// - public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2453 { get; set; } + public global::OpenRouter.VideoGenerationRequestAspectRatio? Type2453 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponse? Type2454 { get; set; } + public global::System.Collections.Generic.IList? Type2454 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type2455 { get; set; } + public global::System.Collections.Generic.IList? Type2455 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResult? Type2456 { get; set; } + public global::OpenRouter.VideoGenerationRequestProvider? Type2456 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseResultDocument? Type2457 { get; set; } + public global::OpenRouter.VideoGenerationRequestResolution? Type2457 { get; set; } /// /// /// - public global::OpenRouter.CreateRerankResponseUsage? Type2458 { get; set; } + public global::OpenRouter.VideoGenerationResponse? Type2458 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoGenerationResponseStatus? Type2459 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoGenerationUsage? Type2460 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoModel? Type2461 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2462 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoModelSupportedAspectRatio? Type2463 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2464 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoModelSupportedFrameImage? Type2465 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2466 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoModelSupportedResolution? Type2467 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2468 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoModelSupportedSize? Type2469 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoModelUpscaleFactor? Type2470 { get; set; } + /// + /// + /// + public global::OpenRouter.VideoModelsListResponse? Type2471 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2472 { get; set; } + /// + /// + /// + public global::OpenRouter.WebFetchEngineEnum? Type2473 { get; set; } + /// + /// + /// + public global::OpenRouter.WebFetchPluginId? Type2474 { get; set; } + /// + /// + /// + public global::OpenRouter.WebFetchServerToolConfig? Type2475 { get; set; } + /// + /// + /// + public global::OpenRouter.WebFetchServerToolType? Type2476 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchEngine? Type2477 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchPluginId? Type2478 { get; set; } + /// + /// + /// + public global::OpenRouter.AllOf? Type2479 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchServerToolType? Type2480 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchServerToolConfig? Type2481 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchServerToolOpenRouterType? Type2482 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchSourceType? Type2483 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchUserLocationType? Type2484 { get; set; } + /// + /// + /// + public global::OpenRouter.WebSearchUserLocationServerToolType? Type2485 { get; set; } + /// + /// + /// + public global::OpenRouter.WorkspaceBudgetResetInterval? Type2486 { get; set; } + /// + /// + /// + public global::OpenRouter.WorkspaceBudgetInterval? Type2487 { get; set; } + /// + /// + /// + public global::OpenRouter.WorkspaceMemberRole? Type2488 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequest? Type2489 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequestClassifierDimensions? Type2490 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequestClassifierFilters? Type2491 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2492 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequestClassifierFiltersFilter? Type2493 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf>>? Type2494 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2495 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequestFilter? Type2496 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequestOrderBy? Type2497 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequestOrderByDirection? Type2498 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsRequestTimeRange? Type2499 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAudioTranscriptionsRequest? Type2500 { get; set; } + /// + /// + /// + public byte[]? Type2501 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAudioTranscriptionsRequestResponseFormat? Type2502 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2503 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAudioTranscriptionsRequestTimestampGranularitie? Type2504 { get; set; } + /// + /// + /// + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequest? Type2505 { get; set; } + /// + /// + /// + public global::OpenRouter.ExchangeAuthCodeForAPIKeyRequestCodeChallengeMethod? Type2506 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeRequest? Type2507 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeRequestCodeChallengeMethod? Type2508 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeRequestUsageLimitType? Type2509 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequest? Type2510 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequestEncodingFormat? Type2511 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf, global::System.Collections.Generic.IList, global::System.Collections.Generic.IList>, global::System.Collections.Generic.IList>? Type2512 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type2513 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2514 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5Item? Type2515 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1? Type2516 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant1Type? Type2517 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2? Type2518 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2ImageUrl? Type2519 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsRequestInputVariant5ItemContentItemVariant2Type? Type2520 { get; set; } + /// + /// + /// + public global::OpenRouter.UploadFileRequest? Type2521 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysRequest? Type2522 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysRequestExternal? Type2523 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysRequestLimitReset? Type2524 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysRequest? Type2525 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysRequestLimitReset? Type2526 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequest? Type2527 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList>? Type2528 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2529 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankRequestDocument? Type2530 { get; set; } + /// + /// + /// + public global::OpenRouter.GetUserActivityGroupBy? Type2531 { get; set; } + /// + /// + /// + public global::OpenRouter.ListModelsV2Region? Type2532 { get; set; } + /// + /// + /// + public global::OpenRouter.GetModelV2Region? Type2533 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2534 { get; set; } + /// + /// + /// + public global::OpenRouter.AllOf? Type2535 { get; set; } + /// + /// + /// + public global::OpenRouter.GetBenchmarksSource? Type2536 { get; set; } + /// + /// + /// + public global::OpenRouter.GetBenchmarksTaskType? Type2537 { get; set; } + /// + /// + /// + public global::OpenRouter.GetBenchmarksBenchmarkType? Type2538 { get; set; } + /// + /// + /// + public global::OpenRouter.GetBenchmarksSearchSurface? Type2539 { get; set; } + /// + /// + /// + public global::OpenRouter.GetBenchmarksArena? Type2540 { get; set; } + /// + /// + /// + public global::OpenRouter.ListBYOKKeysProvider? Type2541 { get; set; } + /// + /// + /// + public global::OpenRouter.GetTaskClassificationsWindow? Type2542 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAppRankingsCategory? Type2543 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAppRankingsSubcategory? Type2544 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAppRankingsSort? Type2545 { get; set; } + /// + /// + /// + public global::OpenRouter.GetRankingsDailyPeriod? Type2546 { get; set; } + /// + /// + /// + public global::OpenRouter.GetRankingsDailyModality? Type2547 { get; set; } + /// + /// + /// + public global::OpenRouter.GetRankingsDailyContextBucket? Type2548 { get; set; } + /// + /// + /// + public global::OpenRouter.GetRankingsDailyCategory? Type2549 { get; set; } + /// + /// + /// + public global::OpenRouter.GetRankingsDailyLanguageType? Type2550 { get; set; } + /// + /// + /// + public global::OpenRouter.GetSessionCostTurnRange? Type2551 { get; set; } + /// + /// + /// + public global::OpenRouter.ListFilesOrder? Type2552 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2553 { get; set; } + /// + /// + /// + public global::OpenRouter.ListInternsStatu? Type2554 { get; set; } + /// + /// + /// + public global::OpenRouter.GetModelsCategory? Type2555 { get; set; } + /// + /// + /// + public global::OpenRouter.GetModelsSort? Type2556 { get; set; } + /// + /// + /// + public global::OpenRouter.GetModelsDistillable? Type2557 { get; set; } + /// + /// + /// + public global::OpenRouter.GetModelsZdr? Type2558 { get; set; } + /// + /// + /// + public global::OpenRouter.GetModelsRegion? Type2559 { get; set; } + /// + /// + /// + public global::OpenRouter.DeletePrivateEndpointDraftOnly? Type2560 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2561 { get; set; } + /// + /// + /// + public global::OpenRouter.DeleteScimGroupMappingKeepMembers2? Type2562 { get; set; } + /// + /// + /// + public global::OpenRouter.ListToolsApiFormat? Type2563 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponse? Type2564 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseData? Type2565 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2566 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataDimension? Type2567 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2568 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitie? Type2569 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataGranularitieName? Type2570 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2571 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataMetric? Type2572 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataMetricDisplayFormat? Type2573 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2574 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataOperator? Type2575 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorName? Type2576 { get; set; } + /// + /// + /// + public global::OpenRouter.GetAnalyticsMetaResponseDataOperatorValueType? Type2577 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsResponse? Type2578 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsResponseData? Type2579 { get; set; } + /// + /// + /// + public global::OpenRouter.QueryAnalyticsResponseDataMetadata? Type2580 { get; set; } + /// + /// + /// + public global::OpenRouter.ExchangeAuthCodeForAPIKeyResponse? Type2581 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeResponse? Type2582 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateAuthKeysCodeResponseData? Type2583 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCreditsResponse? Type2584 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCreditsResponseData? Type2585 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponse? Type2586 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2587 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseDataItem? Type2588 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseDataItemObject? Type2589 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseObject? Type2590 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseUsage? Type2591 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateEmbeddingsResponseUsagePromptTokensDetails? Type2592 { get; set; } + /// + /// + /// + public global::OpenRouter.ListEndpointsZdrResponse? Type2593 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponse? Type2594 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponseData? Type2595 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2596 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponseDataAllowedDataRegion? Type2597 { get; set; } + /// + /// + /// + public global::OpenRouter.GetCurrentKeyResponseDataRateLimit? Type2598 { get; set; } + /// + /// + /// + public global::OpenRouter.ListResponse? Type2599 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2600 { get; set; } + /// + /// + /// + public global::OpenRouter.ListResponseDataItem? Type2601 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysResponse? Type2602 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateKeysResponseData? Type2603 { get; set; } + /// + /// + /// + public global::OpenRouter.DeleteKeysResponse? Type2604 { get; set; } + /// + /// + /// + public global::OpenRouter.GetKeyResponse? Type2605 { get; set; } + /// + /// + /// + public global::OpenRouter.GetKeyResponseData? Type2606 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysResponse? Type2607 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateKeysResponseData? Type2608 { get; set; } + /// + /// + /// + public global::OpenRouter.ListEndpointsResponse2? Type2609 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponse? Type2610 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2611 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponseDataItem? Type2612 { get; set; } + /// + /// + /// + public global::OpenRouter.ListOrganizationMembersResponseDataItemRole? Type2613 { get; set; } + /// + /// + /// + public global::OpenRouter.GetOrganizationSettingsResponse? Type2614 { get; set; } + /// + /// + /// + public global::OpenRouter.UpdateOrganizationSettingsResponse? Type2615 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2616 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2617 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2618 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2619 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf? Type2620 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponse? Type2621 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2622 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItem? Type2623 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2624 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemDatacenter? Type2625 { get; set; } + /// + /// + /// + public global::OpenRouter.ListProvidersResponseDataItemHeadquarters? Type2626 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponse? Type2627 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type2628 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResult? Type2629 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseResultDocument? Type2630 { get; set; } + /// + /// + /// + public global::OpenRouter.CreateRerankResponseUsage? Type2631 { get; set; } /// /// @@ -10190,666 +10882,774 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType80 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType81 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType82 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType83 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType84 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType85 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf>>? ListType86 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List>? ListType87 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType88 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType89 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType90 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType91 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType92 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType93 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf>, object, object>? ListType94 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List>? ListType95 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType96 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType97 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType98 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType99 { get; set; } + /// + /// + /// + public global::OpenRouter.AnyOf>? ListType100 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType101 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType102 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType103 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType104 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType105 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType106 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::OpenRouter.AnyOf>, string, object>? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List>? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, object, object>? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType129 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>, string, object>? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType130 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools, object>? ListType137 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType138 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType139 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? ListType140 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::OpenRouter.AnyOf, object>? ListType142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType143 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::OpenRouter.AnyOf>? ListType147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType151 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType128 { get; set; } + public global::System.Collections.Generic.List? ListType155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType129 { get; set; } + public global::System.Collections.Generic.List? ListType156 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.McpServerToolAllowedTools, object>? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType157 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType131 { get; set; } + public global::System.Collections.Generic.List? ListType158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType132 { get; set; } + public global::System.Collections.Generic.List? ListType159 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::OpenRouter.MessagesMessageParamContentVariant2ItemVariant9Content>? ListType133 { get; set; } + public global::System.Collections.Generic.List? ListType160 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType134 { get; set; } + public global::System.Collections.Generic.List? ListType161 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, object>? ListType135 { get; set; } + public global::System.Collections.Generic.List? ListType162 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType136 { get; set; } + public global::System.Collections.Generic.List? ListType163 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType137 { get; set; } + public global::System.Collections.Generic.List? ListType164 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType138 { get; set; } + public global::System.Collections.Generic.List? ListType165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType139 { get; set; } + public global::System.Collections.Generic.List? ListType166 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType140 { get; set; } + public global::System.Collections.Generic.List? ListType167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType141 { get; set; } + public global::System.Collections.Generic.List? ListType168 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType142 { get; set; } + public global::System.Collections.Generic.List? ListType169 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType143 { get; set; } + public global::System.Collections.Generic.List? ListType170 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType144 { get; set; } + public global::System.Collections.Generic.List? ListType171 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType145 { get; set; } + public global::System.Collections.Generic.List? ListType172 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType146 { get; set; } + public global::System.Collections.Generic.List>? ListType173 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType147 { get; set; } + public global::System.Collections.Generic.List? ListType174 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType148 { get; set; } + public global::System.Collections.Generic.List? ListType175 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType149 { get; set; } + public global::System.Collections.Generic.List? ListType176 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType150 { get; set; } + public global::System.Collections.Generic.List? ListType177 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType151 { get; set; } + public global::System.Collections.Generic.List? ListType178 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType152 { get; set; } + public global::OpenRouter.AnyOf>? ListType179 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType153 { get; set; } + public global::System.Collections.Generic.List? ListType180 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType154 { get; set; } + public global::System.Collections.Generic.List? ListType181 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType155 { get; set; } + public global::OpenRouter.AnyOf>? ListType182 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType156 { get; set; } + public global::System.Collections.Generic.List? ListType183 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType157 { get; set; } + public global::System.Collections.Generic.List? ListType184 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType158 { get; set; } + public global::System.Collections.Generic.List? ListType185 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType159 { get; set; } + public global::System.Collections.Generic.List? ListType186 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType160 { get; set; } + public global::System.Collections.Generic.List? ListType187 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType161 { get; set; } + public global::System.Collections.Generic.List? ListType188 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType162 { get; set; } + public global::System.Collections.Generic.List? ListType189 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType163 { get; set; } + public global::System.Collections.Generic.List? ListType190 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType164 { get; set; } + public global::System.Collections.Generic.List? ListType191 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType165 { get; set; } + public global::System.Collections.Generic.List? ListType192 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType166 { get; set; } + public global::System.Collections.Generic.List? ListType193 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType167 { get; set; } + public global::System.Collections.Generic.List? ListType194 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType168 { get; set; } + public global::System.Collections.Generic.List? ListType195 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType169 { get; set; } + public global::System.Collections.Generic.List? ListType196 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType170 { get; set; } + public global::System.Collections.Generic.List? ListType197 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType171 { get; set; } + public global::System.Collections.Generic.List? ListType198 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType172 { get; set; } + public global::System.Collections.Generic.List? ListType199 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType173 { get; set; } + public global::System.Collections.Generic.List? ListType200 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType174 { get; set; } + public global::System.Collections.Generic.List? ListType201 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType175 { get; set; } + public global::System.Collections.Generic.List? ListType202 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType176 { get; set; } + public global::System.Collections.Generic.List? ListType203 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType177 { get; set; } + public global::System.Collections.Generic.List? ListType204 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType178 { get; set; } + public global::System.Collections.Generic.List>? ListType205 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType179 { get; set; } + public global::OpenRouter.AnyOf>? ListType206 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>? ListType180 { get; set; } + public global::System.Collections.Generic.List? ListType207 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType181 { get; set; } + public global::System.Collections.Generic.List? ListType208 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType182 { get; set; } + public global::System.Collections.Generic.List? ListType209 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType183 { get; set; } + public global::System.Collections.Generic.List? ListType210 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType184 { get; set; } + public global::System.Collections.Generic.List? ListType211 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType185 { get; set; } + public global::System.Collections.Generic.List? ListType212 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType186 { get; set; } + public global::System.Collections.Generic.List? ListType213 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType187 { get; set; } + public global::System.Collections.Generic.List? ListType214 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType188 { get; set; } + public global::System.Collections.Generic.List? ListType215 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType189 { get; set; } + public global::System.Collections.Generic.List? ListType216 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType190 { get; set; } + public global::System.Collections.Generic.List? ListType217 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType191 { get; set; } + public global::System.Collections.Generic.List? ListType218 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType192 { get; set; } + public global::System.Collections.Generic.List? ListType219 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType193 { get; set; } + public global::System.Collections.Generic.List? ListType220 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType194 { get; set; } + public global::System.Collections.Generic.List? ListType221 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType195 { get; set; } + public global::System.Collections.Generic.List? ListType222 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType196 { get; set; } + public global::System.Collections.Generic.List? ListType223 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType197 { get; set; } + public global::System.Collections.Generic.List? ListType224 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType198 { get; set; } + public global::System.Collections.Generic.List? ListType225 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType199 { get; set; } + public global::System.Collections.Generic.List? ListType226 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType200 { get; set; } + public global::System.Collections.Generic.List? ListType227 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType201 { get; set; } + public global::System.Collections.Generic.List? ListType228 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType202 { get; set; } + public global::System.Collections.Generic.List? ListType229 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType203 { get; set; } + public global::System.Collections.Generic.List? ListType230 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType204 { get; set; } + public global::System.Collections.Generic.List? ListType231 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType205 { get; set; } + public global::System.Collections.Generic.List? ListType232 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType206 { get; set; } + public global::System.Collections.Generic.List? ListType233 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType207 { get; set; } + public global::System.Collections.Generic.List? ListType234 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType208 { get; set; } + public global::System.Collections.Generic.List? ListType235 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType209 { get; set; } + public global::System.Collections.Generic.List? ListType236 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType210 { get; set; } + public global::System.Collections.Generic.List? ListType237 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType211 { get; set; } + public global::System.Collections.Generic.List? ListType238 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType212 { get; set; } + public global::System.Collections.Generic.List? ListType239 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType213 { get; set; } + public global::System.Collections.Generic.List? ListType240 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType214 { get; set; } + public global::System.Collections.Generic.List>? ListType241 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType215 { get; set; } + public global::System.Collections.Generic.List? ListType242 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType216 { get; set; } + public global::System.Collections.Generic.List? ListType243 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType217 { get; set; } + public global::System.Collections.Generic.List? ListType244 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType218 { get; set; } + public global::System.Collections.Generic.List? ListType245 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType219 { get; set; } + public global::System.Collections.Generic.List? ListType246 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType220 { get; set; } + public global::System.Collections.Generic.List? ListType247 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType221 { get; set; } + public global::System.Collections.Generic.List? ListType248 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType222 { get; set; } + public global::System.Collections.Generic.List? ListType249 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType223 { get; set; } + public global::System.Collections.Generic.List? ListType250 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType224 { get; set; } + public global::System.Collections.Generic.List? ListType251 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType225 { get; set; } + public global::System.Collections.Generic.List? ListType252 { get; set; } /// /// /// - public global::OpenRouter.AnyOf>>? ListType226 { get; set; } + public global::OpenRouter.AnyOf>>? ListType253 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType227 { get; set; } + public global::System.Collections.Generic.List? ListType254 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType228 { get; set; } + public global::System.Collections.Generic.List? ListType255 { get; set; } /// /// /// - public global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>? ListType229 { get; set; } + public global::OpenRouter.AnyOf, global::System.Collections.Generic.List, global::System.Collections.Generic.List>, global::System.Collections.Generic.List>? ListType256 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType230 { get; set; } + public global::System.Collections.Generic.List>? ListType257 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType231 { get; set; } + public global::System.Collections.Generic.List? ListType258 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType232 { get; set; } + public global::System.Collections.Generic.List>? ListType259 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType233 { get; set; } + public global::System.Collections.Generic.List? ListType260 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType234 { get; set; } + public global::System.Collections.Generic.List? ListType261 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType235 { get; set; } + public global::System.Collections.Generic.List? ListType262 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType236 { get; set; } + public global::System.Collections.Generic.List? ListType263 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType237 { get; set; } + public global::System.Collections.Generic.List? ListType264 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType238 { get; set; } + public global::System.Collections.Generic.List? ListType265 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType239 { get; set; } + public global::System.Collections.Generic.List? ListType266 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType240 { get; set; } + public global::System.Collections.Generic.List? ListType267 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType241 { get; set; } + public global::System.Collections.Generic.List? ListType268 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType242 { get; set; } + public global::System.Collections.Generic.List? ListType269 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType243 { get; set; } + public global::System.Collections.Generic.List? ListType270 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType244 { get; set; } + public global::System.Collections.Generic.List? ListType271 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType245 { get; set; } + public global::System.Collections.Generic.List? ListType272 { get; set; } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.Json.g.cs new file mode 100644 index 00000000..ecefc1e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class AliasTargetV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.AliasTargetV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.AliasTargetV2), + jsonSerializerContext) as global::OpenRouter.AliasTargetV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.AliasTargetV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.AliasTargetV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.AliasTargetV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.AliasTargetV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.g.cs new file mode 100644 index 00000000..e214222d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.AliasTargetV2.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// For an `alias` record, the model it currently resolves to; absent while the alias has no live target + /// + public sealed partial class AliasTargetV2 + { + /// + /// Name of the model the alias currently resolves to
+ /// Example: Anthropic: Claude Opus 4.5 + ///
+ /// Anthropic: Claude Opus 4.5 + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Slug of the model the alias currently resolves to
+ /// Example: anthropic/claude-opus-4.5 + ///
+ /// anthropic/claude-opus-4.5 + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Name of the model the alias currently resolves to
+ /// Example: Anthropic: Claude Opus 4.5 + /// + /// + /// Slug of the model the alias currently resolves to
+ /// Example: anthropic/claude-opus-4.5 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AliasTargetV2( + string name, + string slug) + { + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Slug = slug ?? throw new global::System.ArgumentNullException(nameof(slug)); + } + + /// + /// Initializes a new instance of the class. + /// + public AliasTargetV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioTranscriptionsRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioTranscriptionsRequest.g.cs index ee6ef671..5f69a7b4 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioTranscriptionsRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.CreateAudioTranscriptionsRequest.g.cs @@ -46,7 +46,7 @@ public sealed partial class CreateAudioTranscriptionsRequest public required string Model { get; set; } /// - /// JSON-encoded provider preferences object, the same shape as the JSON body field: { "zdr": true, "data_collection": "deny", "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object. + /// JSON-encoded provider preferences object, the same shape as the JSON body field: { "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object. /// [global::System.Text.Json.Serialization.JsonPropertyName("provider")] public string? Provider { get; set; } @@ -122,7 +122,7 @@ public sealed partial class CreateAudioTranscriptionsRequest /// The language of the input audio (ISO-639-1). /// /// - /// JSON-encoded provider preferences object, the same shape as the JSON body field: { "zdr": true, "data_collection": "deny", "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object. + /// JSON-encoded provider preferences object, the same shape as the JSON body field: { "options": { "<provider-slug>": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object. /// /// /// The response format. "json" (default) returns { text, usage }; "verbose_json" additionally returns task, language, duration, and segment-level timestamps (OpenAI-compatible providers only). diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.Json.g.cs new file mode 100644 index 00000000..fe48c57a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class DatacenterV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.DatacenterV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.DatacenterV2), + jsonSerializerContext) as global::OpenRouter.DatacenterV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.DatacenterV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.DatacenterV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.DatacenterV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.DatacenterV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.g.cs new file mode 100644 index 00000000..79979703 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DatacenterV2.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class DatacenterV2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("country_code")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CountryCode { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("region")] + public string? Region { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DatacenterV2( + string countryCode, + string? region) + { + this.CountryCode = countryCode ?? throw new global::System.ArgumentNullException(nameof(countryCode)); + this.Region = region; + } + + /// + /// Initializes a new instance of the class. + /// + public DatacenterV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.DescriptorUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.DescriptorUnitV2.g.cs new file mode 100644 index 00000000..0966ee11 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.DescriptorUnitV2.g.cs @@ -0,0 +1,141 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct DescriptorUnitV2 : global::System.IEquatable + { + /// + /// + /// + public DescriptorUnitV2(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static DescriptorUnitV2 Byte { get; } = new("byte"); + + /// + /// + /// + public static DescriptorUnitV2 Character { get; } = new("character"); + + /// + /// + /// + public static DescriptorUnitV2 Pixel { get; } = new("pixel"); + + /// + /// + /// + public static DescriptorUnitV2 Second { get; } = new("second"); + + /// + /// + /// + public static DescriptorUnitV2 Token { get; } = new("token"); + /// + /// + /// + public static DescriptorUnitV2 FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "byte" => Byte, + "character" => Character, + "pixel" => Pixel, + "second" => Second, + "token" => Token, + _ => new DescriptorUnitV2(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "byte" => true, + "character" => true, + "pixel" => true, + "second" => true, + "token" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(DescriptorUnitV2 other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is DescriptorUnitV2 other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(DescriptorUnitV2 left, DescriptorUnitV2 right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(DescriptorUnitV2 left, DescriptorUnitV2 right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class DescriptorUnitV2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this DescriptorUnitV2 value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static DescriptorUnitV2? ToEnum(string value) + { + return DescriptorUnitV2.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.Json.g.cs new file mode 100644 index 00000000..1098a7ac --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class EndpointDataPolicyV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.EndpointDataPolicyV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.EndpointDataPolicyV2), + jsonSerializerContext) as global::OpenRouter.EndpointDataPolicyV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.EndpointDataPolicyV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.EndpointDataPolicyV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.EndpointDataPolicyV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.EndpointDataPolicyV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.g.cs new file mode 100644 index 00000000..60d9a2c0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDataPolicyV2.g.cs @@ -0,0 +1,79 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class EndpointDataPolicyV2 + { + /// + /// Whether the provider retains prompts; `false` is a zero-data-retention endpoint, as listed by `GET /api/v1/endpoints/zdr`
+ /// Example: false + ///
+ /// false + [global::System.Text.Json.Serialization.JsonPropertyName("retains_prompts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool RetainsPrompts { get; set; } + + /// + /// How long retained prompts are kept, when the provider states it
+ /// Example: 30 + ///
+ /// 30 + [global::System.Text.Json.Serialization.JsonPropertyName("retention_days")] + public int? RetentionDays { get; set; } + + /// + /// Whether the provider may train on prompts sent to this endpoint
+ /// Example: false + ///
+ /// false + [global::System.Text.Json.Serialization.JsonPropertyName("training")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Training { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Whether the provider retains prompts; `false` is a zero-data-retention endpoint, as listed by `GET /api/v1/endpoints/zdr`
+ /// Example: false + /// + /// + /// Whether the provider may train on prompts sent to this endpoint
+ /// Example: false + /// + /// + /// How long retained prompts are kept, when the provider states it
+ /// Example: 30 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EndpointDataPolicyV2( + bool retainsPrompts, + bool training, + int? retentionDays) + { + this.RetainsPrompts = retainsPrompts; + this.RetentionDays = retentionDays; + this.Training = training; + } + + /// + /// Initializes a new instance of the class. + /// + public EndpointDataPolicyV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.Json.g.cs new file mode 100644 index 00000000..7b4d036e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class EndpointDocumentV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.EndpointDocumentV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.EndpointDocumentV2), + jsonSerializerContext) as global::OpenRouter.EndpointDocumentV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.EndpointDocumentV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.EndpointDocumentV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.EndpointDocumentV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.EndpointDocumentV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.g.cs new file mode 100644 index 00000000..817d0350 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2.g.cs @@ -0,0 +1,262 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// A published endpoint in the Models API V2 document format, the same schema providers publish to OpenRouter, with modalities under `inputs`/`outputs` and their constraints under `params`, extended with the provider that serves it and its data policy
+ /// Example: {"created":1687882411,"data_policy":{"retains_prompts":false,"training":false},"id":"gpt-4","inputs":[{"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"}],"name":"GPT-4","openrouter":{"slug":"openai/gpt-4"},"outputs":[{"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"},"tools":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"}],"provider":{"name":"OpenAI","slug":"openai","tag":"openai"},"schema_version":"2.4"} + ///
+ public sealed partial class EndpointDocumentV2 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created")] + public int? Created { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_policy")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.EndpointDataPolicyV2 DataPolicy { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("datacenters")] + public global::System.Collections.Generic.IList? Datacenters { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deployment_region")] + public string? DeploymentRegion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("deprecation_date")] + public global::System.DateTime? DeprecationDate { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("discount_to_user")] + public double? DiscountToUser { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hugging_face_id")] + public string? HuggingFaceId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Input modalities of the endpoint as full objects (the provider document's `input_modalities`), one entry per modality type with its `params` and pricing; the model-level `inputs` lists the types only + /// + [global::System.Text.Json.Serialization.JsonPropertyName("inputs")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Inputs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_free")] + public bool? IsFree { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_ready")] + public bool? IsReady { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("openrouter")] + public global::OpenRouter.EndpointOpenrouterV2? Openrouter { get; set; } + + /// + /// Output modalities of the endpoint as full objects (the provider document's `output_modalities`), one entry per modality type with its `params` and pricing; the model-level `outputs` lists the types only + /// + [global::System.Text.Json.Serialization.JsonPropertyName("outputs")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Outputs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.EndpointProviderV2 Provider { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("quantization")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.EndpointDocumentV2QuantizationJsonConverter))] + public global::OpenRouter.EndpointDocumentV2Quantization? Quantization { get; set; } + + /// + /// V2 document marker. Any "2.x" value is accepted; OpenRouter publishes "2.4". + /// + [global::System.Text.Json.Serialization.JsonPropertyName("schema_version")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SchemaVersion { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("service_tier")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.EndpointDocumentV2ServiceTierJsonConverter))] + public global::OpenRouter.EndpointDocumentV2ServiceTier? ServiceTier { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tokenizer")] + public string? Tokenizer { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// Input modalities of the endpoint as full objects (the provider document's `input_modalities`), one entry per modality type with its `params` and pricing; the model-level `inputs` lists the types only + /// + /// + /// + /// Output modalities of the endpoint as full objects (the provider document's `output_modalities`), one entry per modality type with its `params` and pricing; the model-level `outputs` lists the types only + /// + /// + /// + /// V2 document marker. Any "2.x" value is accepted; OpenRouter publishes "2.4". + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// Entries must be unique by type + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EndpointDocumentV2( + global::OpenRouter.EndpointDataPolicyV2 dataPolicy, + string id, + global::System.Collections.Generic.IList inputs, + string name, + global::System.Collections.Generic.IList outputs, + global::OpenRouter.EndpointProviderV2 provider, + string schemaVersion, + global::System.Collections.Generic.IList? capacity, + int? created, + global::System.Collections.Generic.IList? datacenters, + string? deploymentRegion, + global::System.DateTime? deprecationDate, + string? description, + double? discountToUser, + string? huggingFaceId, + bool? isFree, + bool? isReady, + global::OpenRouter.EndpointOpenrouterV2? openrouter, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.EndpointDocumentV2Quantization? quantization, + global::OpenRouter.EndpointDocumentV2ServiceTier? serviceTier, + string? tokenizer) + { + this.Capacity = capacity; + this.Created = created; + this.DataPolicy = dataPolicy ?? throw new global::System.ArgumentNullException(nameof(dataPolicy)); + this.Datacenters = datacenters; + this.DeploymentRegion = deploymentRegion; + this.DeprecationDate = deprecationDate; + this.Description = description; + this.DiscountToUser = discountToUser; + this.HuggingFaceId = huggingFaceId; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Inputs = inputs ?? throw new global::System.ArgumentNullException(nameof(inputs)); + this.IsFree = isFree; + this.IsReady = isReady; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Openrouter = openrouter; + this.Outputs = outputs ?? throw new global::System.ArgumentNullException(nameof(outputs)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Provider = provider ?? throw new global::System.ArgumentNullException(nameof(provider)); + this.Quantization = quantization; + this.SchemaVersion = schemaVersion ?? throw new global::System.ArgumentNullException(nameof(schemaVersion)); + this.ServiceTier = serviceTier; + this.Tokenizer = tokenizer; + } + + /// + /// Initializes a new instance of the class. + /// + public EndpointDocumentV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..ef92d101 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class EndpointDocumentV2PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.EndpointDocumentV2PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.EndpointDocumentV2PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.EndpointDocumentV2PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.EndpointDocumentV2PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.EndpointDocumentV2PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.EndpointDocumentV2PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.EndpointDocumentV2PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.g.cs new file mode 100644 index 00000000..0047258e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class EndpointDocumentV2PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2Quantization.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2Quantization.g.cs new file mode 100644 index 00000000..74c0e75a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2Quantization.g.cs @@ -0,0 +1,183 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct EndpointDocumentV2Quantization : global::System.IEquatable + { + /// + /// + /// + public EndpointDocumentV2Quantization(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static EndpointDocumentV2Quantization Bf16 { get; } = new("bf16"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Fp16 { get; } = new("fp16"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Fp32 { get; } = new("fp32"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Fp4 { get; } = new("fp4"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Fp6 { get; } = new("fp6"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Fp8 { get; } = new("fp8"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Int4 { get; } = new("int4"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Int8 { get; } = new("int8"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Mxfp4 { get; } = new("mxfp4"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Mxfp8 { get; } = new("mxfp8"); + + /// + /// + /// + public static EndpointDocumentV2Quantization Nvfp4 { get; } = new("nvfp4"); + /// + /// + /// + public static EndpointDocumentV2Quantization FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "bf16" => Bf16, + "fp16" => Fp16, + "fp32" => Fp32, + "fp4" => Fp4, + "fp6" => Fp6, + "fp8" => Fp8, + "int4" => Int4, + "int8" => Int8, + "mxfp4" => Mxfp4, + "mxfp8" => Mxfp8, + "nvfp4" => Nvfp4, + _ => new EndpointDocumentV2Quantization(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "bf16" => true, + "fp16" => true, + "fp32" => true, + "fp4" => true, + "fp6" => true, + "fp8" => true, + "int4" => true, + "int8" => true, + "mxfp4" => true, + "mxfp8" => true, + "nvfp4" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(EndpointDocumentV2Quantization other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is EndpointDocumentV2Quantization other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(EndpointDocumentV2Quantization left, EndpointDocumentV2Quantization right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(EndpointDocumentV2Quantization left, EndpointDocumentV2Quantization right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EndpointDocumentV2QuantizationExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EndpointDocumentV2Quantization value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static EndpointDocumentV2Quantization? ToEnum(string value) + { + return EndpointDocumentV2Quantization.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2ServiceTier.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2ServiceTier.g.cs new file mode 100644 index 00000000..8bff8b85 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointDocumentV2ServiceTier.g.cs @@ -0,0 +1,134 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct EndpointDocumentV2ServiceTier : global::System.IEquatable + { + /// + /// + /// + public EndpointDocumentV2ServiceTier(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static EndpointDocumentV2ServiceTier Fast { get; } = new("fast"); + + /// + /// + /// + public static EndpointDocumentV2ServiceTier Flex { get; } = new("flex"); + + /// + /// + /// + public static EndpointDocumentV2ServiceTier Priority { get; } = new("priority"); + + /// + /// + /// + public static EndpointDocumentV2ServiceTier Ultrafast { get; } = new("ultrafast"); + /// + /// + /// + public static EndpointDocumentV2ServiceTier FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "fast" => Fast, + "flex" => Flex, + "priority" => Priority, + "ultrafast" => Ultrafast, + _ => new EndpointDocumentV2ServiceTier(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "fast" => true, + "flex" => true, + "priority" => true, + "ultrafast" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(EndpointDocumentV2ServiceTier other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is EndpointDocumentV2ServiceTier other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(EndpointDocumentV2ServiceTier left, EndpointDocumentV2ServiceTier right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(EndpointDocumentV2ServiceTier left, EndpointDocumentV2ServiceTier right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EndpointDocumentV2ServiceTierExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EndpointDocumentV2ServiceTier value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static EndpointDocumentV2ServiceTier? ToEnum(string value) + { + return EndpointDocumentV2ServiceTier.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.Json.g.cs new file mode 100644 index 00000000..0c08209e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class EndpointOpenrouterV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.EndpointOpenrouterV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.EndpointOpenrouterV2), + jsonSerializerContext) as global::OpenRouter.EndpointOpenrouterV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.EndpointOpenrouterV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.EndpointOpenrouterV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.EndpointOpenrouterV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.EndpointOpenrouterV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.g.cs new file mode 100644 index 00000000..a1a16ce9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointOpenrouterV2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class EndpointOpenrouterV2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EndpointOpenrouterV2( + string slug) + { + this.Slug = slug ?? throw new global::System.ArgumentNullException(nameof(slug)); + } + + /// + /// Initializes a new instance of the class. + /// + public EndpointOpenrouterV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.Json.g.cs new file mode 100644 index 00000000..93461b2e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class EndpointProviderV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.EndpointProviderV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.EndpointProviderV2), + jsonSerializerContext) as global::OpenRouter.EndpointProviderV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.EndpointProviderV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.EndpointProviderV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.EndpointProviderV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.EndpointProviderV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.g.cs new file mode 100644 index 00000000..968e3878 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.EndpointProviderV2.g.cs @@ -0,0 +1,80 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class EndpointProviderV2 + { + /// + /// Provider display name
+ /// Example: OpenAI + ///
+ /// OpenAI + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Provider slug, as listed by `GET /api/v1/providers` and accepted by the `provider.order` and `provider.only` routing preferences
+ /// Example: openai + ///
+ /// openai + [global::System.Text.Json.Serialization.JsonPropertyName("slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Slug { get; set; } + + /// + /// Routing tag of the deployment serving this endpoint: the provider slug, extended with a region or tier segment when the provider runs several deployments (e.g. `azure/global`)
+ /// Example: openai + ///
+ /// openai + [global::System.Text.Json.Serialization.JsonPropertyName("tag")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Tag { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Provider display name
+ /// Example: OpenAI + /// + /// + /// Provider slug, as listed by `GET /api/v1/providers` and accepted by the `provider.order` and `provider.only` routing preferences
+ /// Example: openai + /// + /// + /// Routing tag of the deployment serving this endpoint: the provider slug, extended with a region or tier segment when the provider runs several deployments (e.g. `azure/global`)
+ /// Example: openai + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public EndpointProviderV2( + string name, + string slug, + string tag) + { + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Slug = slug ?? throw new global::System.ArgumentNullException(nameof(slug)); + this.Tag = tag ?? throw new global::System.ArgumentNullException(nameof(tag)); + } + + /// + /// Initializes a new instance of the class. + /// + public EndpointProviderV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.GetModelV2Region.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetModelV2Region.g.cs new file mode 100644 index 00000000..cdfac6ec --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.GetModelV2Region.g.cs @@ -0,0 +1,121 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// Only return endpoints in the given data region ("eu" or "us"); a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.
+ /// Example: eu + ///
+ public readonly partial struct GetModelV2Region : global::System.IEquatable + { + /// + /// + /// + public GetModelV2Region(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static GetModelV2Region Eu { get; } = new("eu"); + + /// + /// + /// + public static GetModelV2Region Us { get; } = new("us"); + /// + /// + /// + public static GetModelV2Region FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "eu" => Eu, + "us" => Us, + _ => new GetModelV2Region(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "eu" => true, + "us" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(GetModelV2Region other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is GetModelV2Region other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(GetModelV2Region left, GetModelV2Region right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(GetModelV2Region left, GetModelV2Region right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GetModelV2RegionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GetModelV2Region value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static GetModelV2Region? ToEnum(string value) + { + return GetModelV2Region.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.Json.g.cs new file mode 100644 index 00000000..49e029bf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class InputCapacityEntryV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.InputCapacityEntryV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.InputCapacityEntryV2), + jsonSerializerContext) as global::OpenRouter.InputCapacityEntryV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.InputCapacityEntryV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.InputCapacityEntryV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.InputCapacityEntryV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.InputCapacityEntryV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.g.cs new file mode 100644 index 00000000..96c7f57a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2.g.cs @@ -0,0 +1,80 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class InputCapacityEntryV2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("per")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputCapacityEntryV2PerJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.InputCapacityEntryV2Per Per { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputCapacityEntryV2TypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.InputCapacityEntryV2Type Type { get; set; } + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputPricingUnitV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.InputPricingUnitV2 Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public InputCapacityEntryV2( + global::OpenRouter.InputCapacityEntryV2Per per, + global::OpenRouter.InputCapacityEntryV2Type type, + global::OpenRouter.InputPricingUnitV2 unit, + int value) + { + this.Per = per; + this.Type = type; + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public InputCapacityEntryV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Per.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Per.g.cs new file mode 100644 index 00000000..6f0df109 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Per.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct InputCapacityEntryV2Per : global::System.IEquatable + { + /// + /// + /// + public InputCapacityEntryV2Per(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static InputCapacityEntryV2Per Day { get; } = new("day"); + + /// + /// + /// + public static InputCapacityEntryV2Per Hour { get; } = new("hour"); + + /// + /// + /// + public static InputCapacityEntryV2Per Minute { get; } = new("minute"); + /// + /// + /// + public static InputCapacityEntryV2Per FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "day" => Day, + "hour" => Hour, + "minute" => Minute, + _ => new InputCapacityEntryV2Per(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "day" => true, + "hour" => true, + "minute" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(InputCapacityEntryV2Per other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is InputCapacityEntryV2Per other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(InputCapacityEntryV2Per left, InputCapacityEntryV2Per right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(InputCapacityEntryV2Per left, InputCapacityEntryV2Per right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class InputCapacityEntryV2PerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this InputCapacityEntryV2Per value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static InputCapacityEntryV2Per? ToEnum(string value) + { + return InputCapacityEntryV2Per.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Type.g.cs new file mode 100644 index 00000000..3d0923b8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputCapacityEntryV2Type.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct InputCapacityEntryV2Type : global::System.IEquatable + { + /// + /// + /// + public InputCapacityEntryV2Type(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static InputCapacityEntryV2Type CacheWrite { get; } = new("cache_write"); + + /// + /// + /// + public static InputCapacityEntryV2Type CachedPrompt { get; } = new("cached_prompt"); + + /// + /// + /// + public static InputCapacityEntryV2Type Prompt { get; } = new("prompt"); + /// + /// + /// + public static InputCapacityEntryV2Type FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "cache_write" => CacheWrite, + "cached_prompt" => CachedPrompt, + "prompt" => Prompt, + _ => new InputCapacityEntryV2Type(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "cache_write" => true, + "cached_prompt" => true, + "prompt" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(InputCapacityEntryV2Type other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is InputCapacityEntryV2Type other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(InputCapacityEntryV2Type left, InputCapacityEntryV2Type right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(InputCapacityEntryV2Type left, InputCapacityEntryV2Type right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class InputCapacityEntryV2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this InputCapacityEntryV2Type value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static InputCapacityEntryV2Type? ToEnum(string value) + { + return InputCapacityEntryV2Type.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.Json.g.cs new file mode 100644 index 00000000..a4e87e6f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct InputPricingEntryV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.InputPricingEntryV2), + jsonSerializerContext) as global::OpenRouter.InputPricingEntryV2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.InputPricingEntryV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.InputPricingEntryV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.InputPricingEntryV2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.g.cs new file mode 100644 index 00000000..46d83caf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2.g.cs @@ -0,0 +1,378 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public readonly partial struct InputPricingEntryV2 : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.InputPricingEntryV2Variant1? InputPricingEntryV2Variant1 { get; init; } +#else + public global::OpenRouter.InputPricingEntryV2Variant1? InputPricingEntryV2Variant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InputPricingEntryV2Variant1))] +#endif + public bool IsInputPricingEntryV2Variant1 => InputPricingEntryV2Variant1 != null; + + /// + /// + /// + public bool TryPickInputPricingEntryV2Variant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.InputPricingEntryV2Variant1? value) + { + value = InputPricingEntryV2Variant1; + return IsInputPricingEntryV2Variant1; + } + + /// + /// + /// + public global::OpenRouter.InputPricingEntryV2Variant1 PickInputPricingEntryV2Variant1() => InputPricingEntryV2Variant1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InputPricingEntryV2Variant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.InputPricingEntryV2Variant2? InputPricingEntryV2Variant2 { get; init; } +#else + public global::OpenRouter.InputPricingEntryV2Variant2? InputPricingEntryV2Variant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InputPricingEntryV2Variant2))] +#endif + public bool IsInputPricingEntryV2Variant2 => InputPricingEntryV2Variant2 != null; + + /// + /// + /// + public bool TryPickInputPricingEntryV2Variant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.InputPricingEntryV2Variant2? value) + { + value = InputPricingEntryV2Variant2; + return IsInputPricingEntryV2Variant2; + } + + /// + /// + /// + public global::OpenRouter.InputPricingEntryV2Variant2 PickInputPricingEntryV2Variant2() => InputPricingEntryV2Variant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InputPricingEntryV2Variant2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.InputPricingEntryV2Variant3? InputPricingEntryV2Variant3 { get; init; } +#else + public global::OpenRouter.InputPricingEntryV2Variant3? InputPricingEntryV2Variant3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(InputPricingEntryV2Variant3))] +#endif + public bool IsInputPricingEntryV2Variant3 => InputPricingEntryV2Variant3 != null; + + /// + /// + /// + public bool TryPickInputPricingEntryV2Variant3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.InputPricingEntryV2Variant3? value) + { + value = InputPricingEntryV2Variant3; + return IsInputPricingEntryV2Variant3; + } + + /// + /// + /// + public global::OpenRouter.InputPricingEntryV2Variant3 PickInputPricingEntryV2Variant3() => InputPricingEntryV2Variant3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'InputPricingEntryV2Variant3' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator InputPricingEntryV2(global::OpenRouter.InputPricingEntryV2Variant1 value) => new InputPricingEntryV2((global::OpenRouter.InputPricingEntryV2Variant1?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.InputPricingEntryV2Variant1?(InputPricingEntryV2 @this) => @this.InputPricingEntryV2Variant1; + + /// + /// + /// + public InputPricingEntryV2(global::OpenRouter.InputPricingEntryV2Variant1? value) + { + InputPricingEntryV2Variant1 = value; + } + + /// + /// + /// + public static InputPricingEntryV2 FromInputPricingEntryV2Variant1(global::OpenRouter.InputPricingEntryV2Variant1? value) => new InputPricingEntryV2(value); + + /// + /// + /// + public static implicit operator InputPricingEntryV2(global::OpenRouter.InputPricingEntryV2Variant2 value) => new InputPricingEntryV2((global::OpenRouter.InputPricingEntryV2Variant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.InputPricingEntryV2Variant2?(InputPricingEntryV2 @this) => @this.InputPricingEntryV2Variant2; + + /// + /// + /// + public InputPricingEntryV2(global::OpenRouter.InputPricingEntryV2Variant2? value) + { + InputPricingEntryV2Variant2 = value; + } + + /// + /// + /// + public static InputPricingEntryV2 FromInputPricingEntryV2Variant2(global::OpenRouter.InputPricingEntryV2Variant2? value) => new InputPricingEntryV2(value); + + /// + /// + /// + public static implicit operator InputPricingEntryV2(global::OpenRouter.InputPricingEntryV2Variant3 value) => new InputPricingEntryV2((global::OpenRouter.InputPricingEntryV2Variant3?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.InputPricingEntryV2Variant3?(InputPricingEntryV2 @this) => @this.InputPricingEntryV2Variant3; + + /// + /// + /// + public InputPricingEntryV2(global::OpenRouter.InputPricingEntryV2Variant3? value) + { + InputPricingEntryV2Variant3 = value; + } + + /// + /// + /// + public static InputPricingEntryV2 FromInputPricingEntryV2Variant3(global::OpenRouter.InputPricingEntryV2Variant3? value) => new InputPricingEntryV2(value); + + /// + /// + /// + public InputPricingEntryV2( + global::OpenRouter.InputPricingEntryV2Variant1? inputPricingEntryV2Variant1, + global::OpenRouter.InputPricingEntryV2Variant2? inputPricingEntryV2Variant2, + global::OpenRouter.InputPricingEntryV2Variant3? inputPricingEntryV2Variant3 + ) + { + InputPricingEntryV2Variant1 = inputPricingEntryV2Variant1; + InputPricingEntryV2Variant2 = inputPricingEntryV2Variant2; + InputPricingEntryV2Variant3 = inputPricingEntryV2Variant3; + } + + /// + /// + /// + public object? Object => + InputPricingEntryV2Variant3 as object ?? + InputPricingEntryV2Variant2 as object ?? + InputPricingEntryV2Variant1 as object + ; + + /// + /// + /// + public override string? ToString() => + InputPricingEntryV2Variant1?.ToString() ?? + InputPricingEntryV2Variant2?.ToString() ?? + InputPricingEntryV2Variant3?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsInputPricingEntryV2Variant1 && !IsInputPricingEntryV2Variant2 && !IsInputPricingEntryV2Variant3 || !IsInputPricingEntryV2Variant1 && IsInputPricingEntryV2Variant2 && !IsInputPricingEntryV2Variant3 || !IsInputPricingEntryV2Variant1 && !IsInputPricingEntryV2Variant2 && IsInputPricingEntryV2Variant3; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? inputPricingEntryV2Variant1 = null, + global::System.Func? inputPricingEntryV2Variant2 = null, + global::System.Func? inputPricingEntryV2Variant3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (InputPricingEntryV2Variant1 is { } __value0 && inputPricingEntryV2Variant1 != null) + { + return inputPricingEntryV2Variant1(__value0); + } + else if (InputPricingEntryV2Variant2 is { } __value1 && inputPricingEntryV2Variant2 != null) + { + return inputPricingEntryV2Variant2(__value1); + } + else if (InputPricingEntryV2Variant3 is { } __value2 && inputPricingEntryV2Variant3 != null) + { + return inputPricingEntryV2Variant3(__value2); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? inputPricingEntryV2Variant1 = null, + + global::System.Action? inputPricingEntryV2Variant2 = null, + + global::System.Action? inputPricingEntryV2Variant3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (InputPricingEntryV2Variant1 is { } __value0) + { + inputPricingEntryV2Variant1?.Invoke(__value0); + } + else if (InputPricingEntryV2Variant2 is { } __value1) + { + inputPricingEntryV2Variant2?.Invoke(__value1); + } + else if (InputPricingEntryV2Variant3 is { } __value2) + { + inputPricingEntryV2Variant3?.Invoke(__value2); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? inputPricingEntryV2Variant1 = null, + global::System.Action? inputPricingEntryV2Variant2 = null, + global::System.Action? inputPricingEntryV2Variant3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (InputPricingEntryV2Variant1 is { } __value0) + { + inputPricingEntryV2Variant1?.Invoke(__value0); + } + else if (InputPricingEntryV2Variant2 is { } __value1) + { + inputPricingEntryV2Variant2?.Invoke(__value1); + } + else if (InputPricingEntryV2Variant3 is { } __value2) + { + inputPricingEntryV2Variant3?.Invoke(__value2); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + InputPricingEntryV2Variant1, + typeof(global::OpenRouter.InputPricingEntryV2Variant1), + InputPricingEntryV2Variant2, + typeof(global::OpenRouter.InputPricingEntryV2Variant2), + InputPricingEntryV2Variant3, + typeof(global::OpenRouter.InputPricingEntryV2Variant3), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(InputPricingEntryV2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(InputPricingEntryV2Variant1, other.InputPricingEntryV2Variant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InputPricingEntryV2Variant2, other.InputPricingEntryV2Variant2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(InputPricingEntryV2Variant3, other.InputPricingEntryV2Variant3) + ; + } + + /// + /// + /// + public static bool operator ==(InputPricingEntryV2 obj1, InputPricingEntryV2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(InputPricingEntryV2 obj1, InputPricingEntryV2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is InputPricingEntryV2 o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.Json.g.cs new file mode 100644 index 00000000..eec51427 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class InputPricingEntryV2Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.InputPricingEntryV2Variant1), + jsonSerializerContext) as global::OpenRouter.InputPricingEntryV2Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.InputPricingEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.InputPricingEntryV2Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.InputPricingEntryV2Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.g.cs new file mode 100644 index 00000000..23f592a7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1.g.cs @@ -0,0 +1,112 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class InputPricingEntryV2Variant1 + { + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cost_usd")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CostUsd { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overrides")] + public global::System.Collections.Generic.IList? Overrides { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputPricingEntryV2Variant1TypeJsonConverter))] + public global::OpenRouter.InputPricingEntryV2Variant1Type Type { get; set; } + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputPricingUnitV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.InputPricingUnitV2 Unit { get; set; } + + /// + /// UTC weekdays the entry applies on; absent means every day + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_days")] + public global::System.Collections.Generic.IList? UtcDays { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_end")] + public int? UtcEnd { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_start")] + public int? UtcStart { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + /// + /// + /// + /// UTC weekdays the entry applies on; absent means every day + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public InputPricingEntryV2Variant1( + string costUsd, + global::OpenRouter.InputPricingUnitV2 unit, + global::System.Collections.Generic.IList? overrides, + global::OpenRouter.InputPricingEntryV2Variant1Type type, + global::System.Collections.Generic.IList? utcDays, + int? utcEnd, + int? utcStart) + { + this.CostUsd = costUsd ?? throw new global::System.ArgumentNullException(nameof(costUsd)); + this.Overrides = overrides; + this.Type = type; + this.Unit = unit; + this.UtcDays = utcDays; + this.UtcEnd = utcEnd; + this.UtcStart = utcStart; + } + + /// + /// Initializes a new instance of the class. + /// + public InputPricingEntryV2Variant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..feb0a26c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant1Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum InputPricingEntryV2Variant1Type + { + /// + /// + /// + Prompt, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class InputPricingEntryV2Variant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this InputPricingEntryV2Variant1Type value) + { + return value switch + { + InputPricingEntryV2Variant1Type.Prompt => "prompt", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static InputPricingEntryV2Variant1Type? ToEnum(string value) + { + return value switch + { + "prompt" => InputPricingEntryV2Variant1Type.Prompt, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.Json.g.cs new file mode 100644 index 00000000..6989b429 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class InputPricingEntryV2Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.InputPricingEntryV2Variant2), + jsonSerializerContext) as global::OpenRouter.InputPricingEntryV2Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.InputPricingEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.InputPricingEntryV2Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.InputPricingEntryV2Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.g.cs new file mode 100644 index 00000000..a49272b4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2.g.cs @@ -0,0 +1,132 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class InputPricingEntryV2Variant2 + { + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cost_usd")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CostUsd { get; set; } + + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("implicit")] + public bool? Implicit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overrides")] + public global::System.Collections.Generic.IList? Overrides { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ttl_seconds")] + public int? TtlSeconds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputPricingEntryV2Variant2TypeJsonConverter))] + public global::OpenRouter.InputPricingEntryV2Variant2Type Type { get; set; } + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputPricingUnitV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.InputPricingUnitV2 Unit { get; set; } + + /// + /// UTC weekdays the entry applies on; absent means every day + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_days")] + public global::System.Collections.Generic.IList? UtcDays { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_end")] + public int? UtcEnd { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_start")] + public int? UtcStart { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// + /// UTC weekdays the entry applies on; absent means every day + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public InputPricingEntryV2Variant2( + string costUsd, + global::OpenRouter.InputPricingUnitV2 unit, + bool? @implicit, + global::System.Collections.Generic.IList? overrides, + int? ttlSeconds, + global::OpenRouter.InputPricingEntryV2Variant2Type type, + global::System.Collections.Generic.IList? utcDays, + int? utcEnd, + int? utcStart) + { + this.CostUsd = costUsd ?? throw new global::System.ArgumentNullException(nameof(costUsd)); + this.Implicit = @implicit; + this.Overrides = overrides; + this.TtlSeconds = ttlSeconds; + this.Type = type; + this.Unit = unit; + this.UtcDays = utcDays; + this.UtcEnd = utcEnd; + this.UtcStart = utcStart; + } + + /// + /// Initializes a new instance of the class. + /// + public InputPricingEntryV2Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..624dc9be --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum InputPricingEntryV2Variant2Type + { + /// + /// + /// + CachedPrompt, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class InputPricingEntryV2Variant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this InputPricingEntryV2Variant2Type value) + { + return value switch + { + InputPricingEntryV2Variant2Type.CachedPrompt => "cached_prompt", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static InputPricingEntryV2Variant2Type? ToEnum(string value) + { + return value switch + { + "cached_prompt" => InputPricingEntryV2Variant2Type.CachedPrompt, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.Json.g.cs new file mode 100644 index 00000000..201c30f1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class InputPricingEntryV2Variant3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2Variant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.InputPricingEntryV2Variant3), + jsonSerializerContext) as global::OpenRouter.InputPricingEntryV2Variant3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.InputPricingEntryV2Variant3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.InputPricingEntryV2Variant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.InputPricingEntryV2Variant3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.InputPricingEntryV2Variant3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.g.cs new file mode 100644 index 00000000..aa2d694f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3.g.cs @@ -0,0 +1,132 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class InputPricingEntryV2Variant3 + { + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cost_usd")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CostUsd { get; set; } + + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("implicit")] + public bool? Implicit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overrides")] + public global::System.Collections.Generic.IList? Overrides { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ttl_seconds")] + public int? TtlSeconds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputPricingEntryV2Variant3TypeJsonConverter))] + public global::OpenRouter.InputPricingEntryV2Variant3Type Type { get; set; } + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.InputPricingUnitV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.InputPricingUnitV2 Unit { get; set; } + + /// + /// UTC weekdays the entry applies on; absent means every day + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_days")] + public global::System.Collections.Generic.IList? UtcDays { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_end")] + public int? UtcEnd { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_start")] + public int? UtcStart { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + /// + /// Default Value: false + /// + /// + /// + /// + /// + /// UTC weekdays the entry applies on; absent means every day + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public InputPricingEntryV2Variant3( + string costUsd, + global::OpenRouter.InputPricingUnitV2 unit, + bool? @implicit, + global::System.Collections.Generic.IList? overrides, + int? ttlSeconds, + global::OpenRouter.InputPricingEntryV2Variant3Type type, + global::System.Collections.Generic.IList? utcDays, + int? utcEnd, + int? utcStart) + { + this.CostUsd = costUsd ?? throw new global::System.ArgumentNullException(nameof(costUsd)); + this.Implicit = @implicit; + this.Overrides = overrides; + this.TtlSeconds = ttlSeconds; + this.Type = type; + this.Unit = unit; + this.UtcDays = utcDays; + this.UtcEnd = utcEnd; + this.UtcStart = utcStart; + } + + /// + /// Initializes a new instance of the class. + /// + public InputPricingEntryV2Variant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3Type.g.cs new file mode 100644 index 00000000..37c95d01 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingEntryV2Variant3Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum InputPricingEntryV2Variant3Type + { + /// + /// + /// + CacheWrite, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class InputPricingEntryV2Variant3TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this InputPricingEntryV2Variant3Type value) + { + return value switch + { + InputPricingEntryV2Variant3Type.CacheWrite => "cache_write", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static InputPricingEntryV2Variant3Type? ToEnum(string value) + { + return value switch + { + "cache_write" => InputPricingEntryV2Variant3Type.CacheWrite, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingUnitV2.g.cs new file mode 100644 index 00000000..7946c3ea --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.InputPricingUnitV2.g.cs @@ -0,0 +1,141 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + public readonly partial struct InputPricingUnitV2 : global::System.IEquatable + { + /// + /// + /// + public InputPricingUnitV2(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static InputPricingUnitV2 Character { get; } = new("character"); + + /// + /// + /// + public static InputPricingUnitV2 Image { get; } = new("image"); + + /// + /// `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + public static InputPricingUnitV2 Megapixel { get; } = new("megapixel"); + + /// + /// + /// + public static InputPricingUnitV2 Second { get; } = new("second"); + + /// + /// + /// + public static InputPricingUnitV2 Token { get; } = new("token"); + /// + /// + /// + public static InputPricingUnitV2 FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "character" => Character, + "image" => Image, + "megapixel" => Megapixel, + "second" => Second, + "token" => Token, + _ => new InputPricingUnitV2(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "character" => true, + "image" => true, + "megapixel" => true, + "second" => true, + "token" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(InputPricingUnitV2 other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is InputPricingUnitV2 other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(InputPricingUnitV2 left, InputPricingUnitV2 right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(InputPricingUnitV2 left, InputPricingUnitV2 right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class InputPricingUnitV2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this InputPricingUnitV2 value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static InputPricingUnitV2? ToEnum(string value) + { + return InputPricingUnitV2.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ListModelsV2Region.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListModelsV2Region.g.cs new file mode 100644 index 00000000..05bed065 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ListModelsV2Region.g.cs @@ -0,0 +1,121 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// Only return endpoints in the given data region ("eu" or "us"); models left without an endpoint are omitted.
+ /// Example: eu + ///
+ public readonly partial struct ListModelsV2Region : global::System.IEquatable + { + /// + /// + /// + public ListModelsV2Region(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ListModelsV2Region Eu { get; } = new("eu"); + + /// + /// + /// + public static ListModelsV2Region Us { get; } = new("us"); + /// + /// + /// + public static ListModelsV2Region FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "eu" => Eu, + "us" => Us, + _ => new ListModelsV2Region(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "eu" => true, + "us" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ListModelsV2Region other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ListModelsV2Region other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ListModelsV2Region left, ListModelsV2Region right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ListModelsV2Region left, ListModelsV2Region right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListModelsV2RegionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListModelsV2Region value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ListModelsV2Region? ToEnum(string value) + { + return ListModelsV2Region.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.Json.g.cs new file mode 100644 index 00000000..82d144c1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct ModelInputV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2), + jsonSerializerContext) as global::OpenRouter.ModelInputV2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.g.cs new file mode 100644 index 00000000..b9073205 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2.g.cs @@ -0,0 +1,545 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// An input modality of the endpoint: its `params` (the provider document's `supported_inputs`, with the text window as `max_length`), pricing, capacity and passthrough parameters
+ /// Example: {"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"} + ///
+ public readonly partial struct ModelInputV2 : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelInputV2Variant1? ModelInputV2Variant1 { get; init; } +#else + public global::OpenRouter.ModelInputV2Variant1? ModelInputV2Variant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelInputV2Variant1))] +#endif + public bool IsModelInputV2Variant1 => ModelInputV2Variant1 != null; + + /// + /// + /// + public bool TryPickModelInputV2Variant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelInputV2Variant1? value) + { + value = ModelInputV2Variant1; + return IsModelInputV2Variant1; + } + + /// + /// + /// + public global::OpenRouter.ModelInputV2Variant1 PickModelInputV2Variant1() => ModelInputV2Variant1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelInputV2Variant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelInputV2Variant2? ModelInputV2Variant2 { get; init; } +#else + public global::OpenRouter.ModelInputV2Variant2? ModelInputV2Variant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelInputV2Variant2))] +#endif + public bool IsModelInputV2Variant2 => ModelInputV2Variant2 != null; + + /// + /// + /// + public bool TryPickModelInputV2Variant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelInputV2Variant2? value) + { + value = ModelInputV2Variant2; + return IsModelInputV2Variant2; + } + + /// + /// + /// + public global::OpenRouter.ModelInputV2Variant2 PickModelInputV2Variant2() => ModelInputV2Variant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelInputV2Variant2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelInputV2Variant3? ModelInputV2Variant3 { get; init; } +#else + public global::OpenRouter.ModelInputV2Variant3? ModelInputV2Variant3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelInputV2Variant3))] +#endif + public bool IsModelInputV2Variant3 => ModelInputV2Variant3 != null; + + /// + /// + /// + public bool TryPickModelInputV2Variant3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelInputV2Variant3? value) + { + value = ModelInputV2Variant3; + return IsModelInputV2Variant3; + } + + /// + /// + /// + public global::OpenRouter.ModelInputV2Variant3 PickModelInputV2Variant3() => ModelInputV2Variant3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelInputV2Variant3' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelInputV2Variant4? ModelInputV2Variant4 { get; init; } +#else + public global::OpenRouter.ModelInputV2Variant4? ModelInputV2Variant4 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelInputV2Variant4))] +#endif + public bool IsModelInputV2Variant4 => ModelInputV2Variant4 != null; + + /// + /// + /// + public bool TryPickModelInputV2Variant4( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelInputV2Variant4? value) + { + value = ModelInputV2Variant4; + return IsModelInputV2Variant4; + } + + /// + /// + /// + public global::OpenRouter.ModelInputV2Variant4 PickModelInputV2Variant4() => ModelInputV2Variant4 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelInputV2Variant4' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelInputV2Variant5? ModelInputV2Variant5 { get; init; } +#else + public global::OpenRouter.ModelInputV2Variant5? ModelInputV2Variant5 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelInputV2Variant5))] +#endif + public bool IsModelInputV2Variant5 => ModelInputV2Variant5 != null; + + /// + /// + /// + public bool TryPickModelInputV2Variant5( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelInputV2Variant5? value) + { + value = ModelInputV2Variant5; + return IsModelInputV2Variant5; + } + + /// + /// + /// + public global::OpenRouter.ModelInputV2Variant5 PickModelInputV2Variant5() => ModelInputV2Variant5 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelInputV2Variant5' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ModelInputV2(global::OpenRouter.ModelInputV2Variant1 value) => new ModelInputV2((global::OpenRouter.ModelInputV2Variant1?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelInputV2Variant1?(ModelInputV2 @this) => @this.ModelInputV2Variant1; + + /// + /// + /// + public ModelInputV2(global::OpenRouter.ModelInputV2Variant1? value) + { + ModelInputV2Variant1 = value; + } + + /// + /// + /// + public static ModelInputV2 FromModelInputV2Variant1(global::OpenRouter.ModelInputV2Variant1? value) => new ModelInputV2(value); + + /// + /// + /// + public static implicit operator ModelInputV2(global::OpenRouter.ModelInputV2Variant2 value) => new ModelInputV2((global::OpenRouter.ModelInputV2Variant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelInputV2Variant2?(ModelInputV2 @this) => @this.ModelInputV2Variant2; + + /// + /// + /// + public ModelInputV2(global::OpenRouter.ModelInputV2Variant2? value) + { + ModelInputV2Variant2 = value; + } + + /// + /// + /// + public static ModelInputV2 FromModelInputV2Variant2(global::OpenRouter.ModelInputV2Variant2? value) => new ModelInputV2(value); + + /// + /// + /// + public static implicit operator ModelInputV2(global::OpenRouter.ModelInputV2Variant3 value) => new ModelInputV2((global::OpenRouter.ModelInputV2Variant3?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelInputV2Variant3?(ModelInputV2 @this) => @this.ModelInputV2Variant3; + + /// + /// + /// + public ModelInputV2(global::OpenRouter.ModelInputV2Variant3? value) + { + ModelInputV2Variant3 = value; + } + + /// + /// + /// + public static ModelInputV2 FromModelInputV2Variant3(global::OpenRouter.ModelInputV2Variant3? value) => new ModelInputV2(value); + + /// + /// + /// + public static implicit operator ModelInputV2(global::OpenRouter.ModelInputV2Variant4 value) => new ModelInputV2((global::OpenRouter.ModelInputV2Variant4?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelInputV2Variant4?(ModelInputV2 @this) => @this.ModelInputV2Variant4; + + /// + /// + /// + public ModelInputV2(global::OpenRouter.ModelInputV2Variant4? value) + { + ModelInputV2Variant4 = value; + } + + /// + /// + /// + public static ModelInputV2 FromModelInputV2Variant4(global::OpenRouter.ModelInputV2Variant4? value) => new ModelInputV2(value); + + /// + /// + /// + public static implicit operator ModelInputV2(global::OpenRouter.ModelInputV2Variant5 value) => new ModelInputV2((global::OpenRouter.ModelInputV2Variant5?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelInputV2Variant5?(ModelInputV2 @this) => @this.ModelInputV2Variant5; + + /// + /// + /// + public ModelInputV2(global::OpenRouter.ModelInputV2Variant5? value) + { + ModelInputV2Variant5 = value; + } + + /// + /// + /// + public static ModelInputV2 FromModelInputV2Variant5(global::OpenRouter.ModelInputV2Variant5? value) => new ModelInputV2(value); + + /// + /// + /// + public ModelInputV2( + global::OpenRouter.ModelInputV2Variant1? modelInputV2Variant1, + global::OpenRouter.ModelInputV2Variant2? modelInputV2Variant2, + global::OpenRouter.ModelInputV2Variant3? modelInputV2Variant3, + global::OpenRouter.ModelInputV2Variant4? modelInputV2Variant4, + global::OpenRouter.ModelInputV2Variant5? modelInputV2Variant5 + ) + { + ModelInputV2Variant1 = modelInputV2Variant1; + ModelInputV2Variant2 = modelInputV2Variant2; + ModelInputV2Variant3 = modelInputV2Variant3; + ModelInputV2Variant4 = modelInputV2Variant4; + ModelInputV2Variant5 = modelInputV2Variant5; + } + + /// + /// + /// + public object? Object => + ModelInputV2Variant5 as object ?? + ModelInputV2Variant4 as object ?? + ModelInputV2Variant3 as object ?? + ModelInputV2Variant2 as object ?? + ModelInputV2Variant1 as object + ; + + /// + /// + /// + public override string? ToString() => + ModelInputV2Variant1?.ToString() ?? + ModelInputV2Variant2?.ToString() ?? + ModelInputV2Variant3?.ToString() ?? + ModelInputV2Variant4?.ToString() ?? + ModelInputV2Variant5?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsModelInputV2Variant1 && !IsModelInputV2Variant2 && !IsModelInputV2Variant3 && !IsModelInputV2Variant4 && !IsModelInputV2Variant5 || !IsModelInputV2Variant1 && IsModelInputV2Variant2 && !IsModelInputV2Variant3 && !IsModelInputV2Variant4 && !IsModelInputV2Variant5 || !IsModelInputV2Variant1 && !IsModelInputV2Variant2 && IsModelInputV2Variant3 && !IsModelInputV2Variant4 && !IsModelInputV2Variant5 || !IsModelInputV2Variant1 && !IsModelInputV2Variant2 && !IsModelInputV2Variant3 && IsModelInputV2Variant4 && !IsModelInputV2Variant5 || !IsModelInputV2Variant1 && !IsModelInputV2Variant2 && !IsModelInputV2Variant3 && !IsModelInputV2Variant4 && IsModelInputV2Variant5; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? modelInputV2Variant1 = null, + global::System.Func? modelInputV2Variant2 = null, + global::System.Func? modelInputV2Variant3 = null, + global::System.Func? modelInputV2Variant4 = null, + global::System.Func? modelInputV2Variant5 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (ModelInputV2Variant1 is { } __value0 && modelInputV2Variant1 != null) + { + return modelInputV2Variant1(__value0); + } + else if (ModelInputV2Variant2 is { } __value1 && modelInputV2Variant2 != null) + { + return modelInputV2Variant2(__value1); + } + else if (ModelInputV2Variant3 is { } __value2 && modelInputV2Variant3 != null) + { + return modelInputV2Variant3(__value2); + } + else if (ModelInputV2Variant4 is { } __value3 && modelInputV2Variant4 != null) + { + return modelInputV2Variant4(__value3); + } + else if (ModelInputV2Variant5 is { } __value4 && modelInputV2Variant5 != null) + { + return modelInputV2Variant5(__value4); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? modelInputV2Variant1 = null, + + global::System.Action? modelInputV2Variant2 = null, + + global::System.Action? modelInputV2Variant3 = null, + + global::System.Action? modelInputV2Variant4 = null, + + global::System.Action? modelInputV2Variant5 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (ModelInputV2Variant1 is { } __value0) + { + modelInputV2Variant1?.Invoke(__value0); + } + else if (ModelInputV2Variant2 is { } __value1) + { + modelInputV2Variant2?.Invoke(__value1); + } + else if (ModelInputV2Variant3 is { } __value2) + { + modelInputV2Variant3?.Invoke(__value2); + } + else if (ModelInputV2Variant4 is { } __value3) + { + modelInputV2Variant4?.Invoke(__value3); + } + else if (ModelInputV2Variant5 is { } __value4) + { + modelInputV2Variant5?.Invoke(__value4); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? modelInputV2Variant1 = null, + global::System.Action? modelInputV2Variant2 = null, + global::System.Action? modelInputV2Variant3 = null, + global::System.Action? modelInputV2Variant4 = null, + global::System.Action? modelInputV2Variant5 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (ModelInputV2Variant1 is { } __value0) + { + modelInputV2Variant1?.Invoke(__value0); + } + else if (ModelInputV2Variant2 is { } __value1) + { + modelInputV2Variant2?.Invoke(__value1); + } + else if (ModelInputV2Variant3 is { } __value2) + { + modelInputV2Variant3?.Invoke(__value2); + } + else if (ModelInputV2Variant4 is { } __value3) + { + modelInputV2Variant4?.Invoke(__value3); + } + else if (ModelInputV2Variant5 is { } __value4) + { + modelInputV2Variant5?.Invoke(__value4); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + ModelInputV2Variant1, + typeof(global::OpenRouter.ModelInputV2Variant1), + ModelInputV2Variant2, + typeof(global::OpenRouter.ModelInputV2Variant2), + ModelInputV2Variant3, + typeof(global::OpenRouter.ModelInputV2Variant3), + ModelInputV2Variant4, + typeof(global::OpenRouter.ModelInputV2Variant4), + ModelInputV2Variant5, + typeof(global::OpenRouter.ModelInputV2Variant5), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ModelInputV2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelInputV2Variant1, other.ModelInputV2Variant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelInputV2Variant2, other.ModelInputV2Variant2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelInputV2Variant3, other.ModelInputV2Variant3) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelInputV2Variant4, other.ModelInputV2Variant4) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelInputV2Variant5, other.ModelInputV2Variant5) + ; + } + + /// + /// + /// + public static bool operator ==(ModelInputV2 obj1, ModelInputV2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ModelInputV2 obj1, ModelInputV2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2 o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.Json.g.cs new file mode 100644 index 00000000..2522497c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant1), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.g.cs new file mode 100644 index 00000000..5cacaa69 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1.g.cs @@ -0,0 +1,85 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant1 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + public global::OpenRouter.ModelInputV2Variant1Params? Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant1TypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant1Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant1( + global::System.Collections.Generic.IList? capacity, + global::OpenRouter.ModelInputV2Variant1Params? @params, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelInputV2Variant1Type type) + { + this.Capacity = capacity; + this.Params = @params; + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.Json.g.cs new file mode 100644 index 00000000..3ad7ab7b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant1Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant1Params), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant1Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant1Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant1Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant1Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.g.cs new file mode 100644 index 00000000..9abbbd41 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Params.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant1Params + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_length")] + public global::OpenRouter.ModelInputV2Variant1ParamsMaxLength? MaxLength { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_prompt_length")] + public global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength? MaxPromptLength { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant1Params( + global::OpenRouter.ModelInputV2Variant1ParamsMaxLength? maxLength, + global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength? maxPromptLength) + { + this.MaxLength = maxLength; + this.MaxPromptLength = maxPromptLength; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant1Params() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.Json.g.cs new file mode 100644 index 00000000..c48737e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant1ParamsMaxLength + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1ParamsMaxLength? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant1ParamsMaxLength), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant1ParamsMaxLength; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1ParamsMaxLength? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant1ParamsMaxLength? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant1ParamsMaxLength), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant1ParamsMaxLength; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.g.cs new file mode 100644 index 00000000..323289a0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxLength.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant1ParamsMaxLength + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant1ParamsMaxLength( + int value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant1ParamsMaxLength() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.Json.g.cs new file mode 100644 index 00000000..c14e3c60 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant1ParamsMaxPromptLength + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant1ParamsMaxPromptLength; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.g.cs new file mode 100644 index 00000000..9cac8b97 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1ParamsMaxPromptLength.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant1ParamsMaxPromptLength + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant1ParamsMaxPromptLength( + int value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant1ParamsMaxPromptLength() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..76128ed3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant1PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant1PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant1PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant1PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant1PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant1PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant1PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.g.cs new file mode 100644 index 00000000..c9d559e7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant1PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Type.g.cs new file mode 100644 index 00000000..1e361227 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant1Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant1Type + { + /// + /// + /// + Text, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant1Type value) + { + return value switch + { + ModelInputV2Variant1Type.Text => "text", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant1Type? ToEnum(string value) + { + return value switch + { + "text" => ModelInputV2Variant1Type.Text, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.Json.g.cs new file mode 100644 index 00000000..29cae6e6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.g.cs new file mode 100644 index 00000000..edd6bb8f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2.g.cs @@ -0,0 +1,85 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + public global::OpenRouter.ModelInputV2Variant2Params? Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant2TypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant2Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2( + global::System.Collections.Generic.IList? capacity, + global::OpenRouter.ModelInputV2Variant2Params? @params, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelInputV2Variant2Type type) + { + this.Capacity = capacity; + this.Params = @params; + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.Json.g.cs new file mode 100644 index 00000000..019a4329 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2Params), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.g.cs new file mode 100644 index 00000000..9ea17cf7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Params.g.cs @@ -0,0 +1,89 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2Params + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("detail_levels")] + public global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels? DetailLevels { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("formats")] + public global::OpenRouter.ModelInputV2Variant2ParamsFormats? Formats { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_size_bytes")] + public global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes? MaxContentSizeBytes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("references")] + public global::OpenRouter.ModelInputV2Variant2ParamsReferences? References { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("role")] + public global::OpenRouter.ModelInputV2Variant2ParamsRole? Role { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sources")] + public global::OpenRouter.ModelInputV2Variant2ParamsSources? Sources { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2Params( + global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels? detailLevels, + global::OpenRouter.ModelInputV2Variant2ParamsFormats? formats, + global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes? maxContentSizeBytes, + global::OpenRouter.ModelInputV2Variant2ParamsReferences? references, + global::OpenRouter.ModelInputV2Variant2ParamsRole? role, + global::OpenRouter.ModelInputV2Variant2ParamsSources? sources) + { + this.DetailLevels = detailLevels; + this.Formats = formats; + this.MaxContentSizeBytes = maxContentSizeBytes; + this.References = references; + this.Role = role; + this.Sources = sources; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2Params() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.Json.g.cs new file mode 100644 index 00000000..fb2c726d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2ParamsDetailLevels + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2ParamsDetailLevels; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.g.cs new file mode 100644 index 00000000..0586d3e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevels.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2ParamsDetailLevels + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsDetailLevelsTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2ParamsDetailLevels( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant2ParamsDetailLevelsType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2ParamsDetailLevels() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsType.g.cs new file mode 100644 index 00000000..114bb2e8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant2ParamsDetailLevelsType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsDetailLevelsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsDetailLevelsType value) + { + return value switch + { + ModelInputV2Variant2ParamsDetailLevelsType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsDetailLevelsType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant2ParamsDetailLevelsType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs new file mode 100644 index 00000000..40ab47a1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsDetailLevelsValue.g.cs @@ -0,0 +1,134 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant2ParamsDetailLevelsValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant2ParamsDetailLevelsValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant2ParamsDetailLevelsValue Auto { get; } = new("auto"); + + /// + /// + /// + public static ModelInputV2Variant2ParamsDetailLevelsValue High { get; } = new("high"); + + /// + /// + /// + public static ModelInputV2Variant2ParamsDetailLevelsValue Low { get; } = new("low"); + + /// + /// + /// + public static ModelInputV2Variant2ParamsDetailLevelsValue Original { get; } = new("original"); + /// + /// + /// + public static ModelInputV2Variant2ParamsDetailLevelsValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "auto" => Auto, + "high" => High, + "low" => Low, + "original" => Original, + _ => new ModelInputV2Variant2ParamsDetailLevelsValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "auto" => true, + "high" => true, + "low" => true, + "original" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant2ParamsDetailLevelsValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant2ParamsDetailLevelsValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant2ParamsDetailLevelsValue left, ModelInputV2Variant2ParamsDetailLevelsValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant2ParamsDetailLevelsValue left, ModelInputV2Variant2ParamsDetailLevelsValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsDetailLevelsValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsDetailLevelsValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsDetailLevelsValue? ToEnum(string value) + { + return ModelInputV2Variant2ParamsDetailLevelsValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.Json.g.cs new file mode 100644 index 00000000..57db68c0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2ParamsFormats + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsFormats? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormats), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2ParamsFormats; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsFormats? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2ParamsFormats? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsFormats), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2ParamsFormats; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.g.cs new file mode 100644 index 00000000..37a5d69a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormats.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2ParamsFormats + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsFormatsTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant2ParamsFormatsType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2ParamsFormats( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant2ParamsFormatsType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2ParamsFormats() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsType.g.cs new file mode 100644 index 00000000..fb18b4a2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant2ParamsFormatsType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsFormatsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsFormatsType value) + { + return value switch + { + ModelInputV2Variant2ParamsFormatsType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsFormatsType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant2ParamsFormatsType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsValue.g.cs new file mode 100644 index 00000000..019e6814 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsFormatsValue.g.cs @@ -0,0 +1,134 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant2ParamsFormatsValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant2ParamsFormatsValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant2ParamsFormatsValue ImageGif { get; } = new("image/gif"); + + /// + /// + /// + public static ModelInputV2Variant2ParamsFormatsValue ImageJpeg { get; } = new("image/jpeg"); + + /// + /// + /// + public static ModelInputV2Variant2ParamsFormatsValue ImagePng { get; } = new("image/png"); + + /// + /// + /// + public static ModelInputV2Variant2ParamsFormatsValue ImageWebp { get; } = new("image/webp"); + /// + /// + /// + public static ModelInputV2Variant2ParamsFormatsValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "image/gif" => ImageGif, + "image/jpeg" => ImageJpeg, + "image/png" => ImagePng, + "image/webp" => ImageWebp, + _ => new ModelInputV2Variant2ParamsFormatsValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "image/gif" => true, + "image/jpeg" => true, + "image/png" => true, + "image/webp" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant2ParamsFormatsValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant2ParamsFormatsValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant2ParamsFormatsValue left, ModelInputV2Variant2ParamsFormatsValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant2ParamsFormatsValue left, ModelInputV2Variant2ParamsFormatsValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsFormatsValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsFormatsValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsFormatsValue? ToEnum(string value) + { + return ModelInputV2Variant2ParamsFormatsValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.Json.g.cs new file mode 100644 index 00000000..cef2076c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2ParamsMaxContentSizeBytes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.g.cs new file mode 100644 index 00000000..684545f4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsMaxContentSizeBytes.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2ParamsMaxContentSizeBytes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2ParamsMaxContentSizeBytes( + int value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2ParamsMaxContentSizeBytes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.Json.g.cs new file mode 100644 index 00000000..a5324b86 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2ParamsReferences + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsReferences? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferences), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2ParamsReferences; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsReferences? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2ParamsReferences? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsReferences), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2ParamsReferences; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.g.cs new file mode 100644 index 00000000..1c6fadad --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferences.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2ParamsReferences + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max")] + public int? Max { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min")] + public int? Min { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsReferencesTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant2ParamsReferencesType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2ParamsReferences( + int? max, + int? min, + global::OpenRouter.ModelInputV2Variant2ParamsReferencesType type, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Max = max; + this.Min = min; + this.Type = type; + this.Unit = unit; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2ParamsReferences() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferencesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferencesType.g.cs new file mode 100644 index 00000000..4cc19c05 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsReferencesType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant2ParamsReferencesType + { + /// + /// + /// + Integer, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsReferencesTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsReferencesType value) + { + return value switch + { + ModelInputV2Variant2ParamsReferencesType.Integer => "integer", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsReferencesType? ToEnum(string value) + { + return value switch + { + "integer" => ModelInputV2Variant2ParamsReferencesType.Integer, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.Json.g.cs new file mode 100644 index 00000000..88376454 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2ParamsRole + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsRole? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsRole), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2ParamsRole; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsRole? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2ParamsRole? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsRole), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2ParamsRole; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.g.cs new file mode 100644 index 00000000..5dbb5a29 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRole.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2ParamsRole + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsRoleTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant2ParamsRoleType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2ParamsRole( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant2ParamsRoleType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2ParamsRole() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRoleType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRoleType.g.cs new file mode 100644 index 00000000..08ba6851 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRoleType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant2ParamsRoleType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsRoleTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsRoleType value) + { + return value switch + { + ModelInputV2Variant2ParamsRoleType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsRoleType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant2ParamsRoleType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderDataCollection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRoleValue.g.cs similarity index 54% rename from src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderDataCollection.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRoleValue.g.cs index e3e4e025..02211880 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProviderDataCollection.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsRoleValue.g.cs @@ -5,17 +5,14 @@ namespace OpenRouter { /// - /// Data collection setting. If no available model provider meets the requirement, your request will return an error.
- /// - allow: (default) allow providers which store user data non-transiently and may train on it
- /// - deny: use only providers which do not collect user data.
- /// Example: allow + /// ///
- public readonly partial struct SpeechRequestProviderDataCollection : global::System.IEquatable + public readonly partial struct ModelInputV2Variant2ParamsRoleValue : global::System.IEquatable { /// /// /// - public SpeechRequestProviderDataCollection(string value) + public ModelInputV2Variant2ParamsRoleValue(string value) { Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } @@ -25,26 +22,32 @@ public SpeechRequestProviderDataCollection(string value) ///
public string Value { get; } /// - /// (default) allow providers which store user data non-transiently and may train on it + /// + /// + public static ModelInputV2Variant2ParamsRoleValue FirstFrame { get; } = new("first_frame"); + + /// + /// /// - public static SpeechRequestProviderDataCollection Allow { get; } = new("allow"); + public static ModelInputV2Variant2ParamsRoleValue LastFrame { get; } = new("last_frame"); /// - /// use only providers which do not collect user data. + /// /// - public static SpeechRequestProviderDataCollection Deny { get; } = new("deny"); + public static ModelInputV2Variant2ParamsRoleValue Reference { get; } = new("reference"); /// /// /// - public static SpeechRequestProviderDataCollection FromValue(string value) + public static ModelInputV2Variant2ParamsRoleValue FromValue(string value) { value = value ?? throw new global::System.ArgumentNullException(nameof(value)); return value switch { - "allow" => Allow, - "deny" => Deny, - _ => new SpeechRequestProviderDataCollection(value), + "first_frame" => FirstFrame, + "last_frame" => LastFrame, + "reference" => Reference, + _ => new ModelInputV2Variant2ParamsRoleValue(value), }; } @@ -53,8 +56,9 @@ public static SpeechRequestProviderDataCollection FromValue(string value) /// public bool IsKnown => Value switch { - "allow" => true, - "deny" => true, + "first_frame" => true, + "last_frame" => true, + "reference" => true, _ => false, }; @@ -66,7 +70,7 @@ public static SpeechRequestProviderDataCollection FromValue(string value) /// /// /// - public bool Equals(SpeechRequestProviderDataCollection other) + public bool Equals(ModelInputV2Variant2ParamsRoleValue other) { return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); } @@ -76,7 +80,7 @@ public bool Equals(SpeechRequestProviderDataCollection other) /// public override bool Equals(object? obj) { - return obj is SpeechRequestProviderDataCollection other && Equals(other); + return obj is ModelInputV2Variant2ParamsRoleValue other && Equals(other); } /// @@ -90,24 +94,24 @@ public override int GetHashCode() /// /// /// - public static bool operator ==(SpeechRequestProviderDataCollection left, SpeechRequestProviderDataCollection right) => left.Equals(right); + public static bool operator ==(ModelInputV2Variant2ParamsRoleValue left, ModelInputV2Variant2ParamsRoleValue right) => left.Equals(right); /// /// /// - public static bool operator !=(SpeechRequestProviderDataCollection left, SpeechRequestProviderDataCollection right) => !left.Equals(right); + public static bool operator !=(ModelInputV2Variant2ParamsRoleValue left, ModelInputV2Variant2ParamsRoleValue right) => !left.Equals(right); } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class SpeechRequestProviderDataCollectionExtensions + public static class ModelInputV2Variant2ParamsRoleValueExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this SpeechRequestProviderDataCollection value) + public static string ToValueString(this ModelInputV2Variant2ParamsRoleValue value) { return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); } @@ -115,9 +119,9 @@ public static string ToValueString(this SpeechRequestProviderDataCollection valu /// /// Converts an string to a enum. /// - public static SpeechRequestProviderDataCollection? ToEnum(string value) + public static ModelInputV2Variant2ParamsRoleValue? ToEnum(string value) { - return SpeechRequestProviderDataCollection.FromValue(value); + return ModelInputV2Variant2ParamsRoleValue.FromValue(value); } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.Json.g.cs new file mode 100644 index 00000000..c27191a0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2ParamsSources + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsSources? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsSources), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2ParamsSources; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2ParamsSources? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2ParamsSources? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2ParamsSources), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2ParamsSources; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.g.cs new file mode 100644 index 00000000..ab12ee40 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSources.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2ParamsSources + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant2ParamsSourcesTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant2ParamsSourcesType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant2ParamsSources( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant2ParamsSourcesType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant2ParamsSources() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesType.g.cs new file mode 100644 index 00000000..88416f4d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant2ParamsSourcesType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsSourcesTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsSourcesType value) + { + return value switch + { + ModelInputV2Variant2ParamsSourcesType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsSourcesType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant2ParamsSourcesType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesValue.g.cs new file mode 100644 index 00000000..42339606 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2ParamsSourcesValue.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant2ParamsSourcesValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant2ParamsSourcesValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant2ParamsSourcesValue Base64 { get; } = new("base64"); + + /// + /// + /// + public static ModelInputV2Variant2ParamsSourcesValue Url { get; } = new("url"); + /// + /// + /// + public static ModelInputV2Variant2ParamsSourcesValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "base64" => Base64, + "url" => Url, + _ => new ModelInputV2Variant2ParamsSourcesValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "base64" => true, + "url" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant2ParamsSourcesValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant2ParamsSourcesValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant2ParamsSourcesValue left, ModelInputV2Variant2ParamsSourcesValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant2ParamsSourcesValue left, ModelInputV2Variant2ParamsSourcesValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2ParamsSourcesValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2ParamsSourcesValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2ParamsSourcesValue? ToEnum(string value) + { + return ModelInputV2Variant2ParamsSourcesValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..32369050 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant2PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant2PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant2PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant2PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant2PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant2PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant2PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.g.cs new file mode 100644 index 00000000..bc78276f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant2PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Type.g.cs new file mode 100644 index 00000000..c20cc6e2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant2Type + { + /// + /// + /// + Image, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant2Type value) + { + return value switch + { + ModelInputV2Variant2Type.Image => "image", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant2Type? ToEnum(string value) + { + return value switch + { + "image" => ModelInputV2Variant2Type.Image, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.Json.g.cs new file mode 100644 index 00000000..3b5b6cc3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant3), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.g.cs new file mode 100644 index 00000000..513f0f0a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3.g.cs @@ -0,0 +1,85 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant3 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + public global::OpenRouter.ModelInputV2Variant3Params? Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant3TypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant3Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant3( + global::System.Collections.Generic.IList? capacity, + global::OpenRouter.ModelInputV2Variant3Params? @params, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelInputV2Variant3Type type) + { + this.Capacity = capacity; + this.Params = @params; + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.Json.g.cs new file mode 100644 index 00000000..65acea04 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant3Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant3Params), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant3Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant3Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant3Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant3Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.g.cs new file mode 100644 index 00000000..040b6aed --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Params.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant3Params + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("formats")] + public global::OpenRouter.ModelInputV2Variant3ParamsFormats? Formats { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_size_bytes")] + public global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes? MaxContentSizeBytes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_duration_seconds")] + public global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds? MaxDurationSeconds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sources")] + public global::OpenRouter.ModelInputV2Variant3ParamsSources? Sources { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant3Params( + global::OpenRouter.ModelInputV2Variant3ParamsFormats? formats, + global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes? maxContentSizeBytes, + global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds? maxDurationSeconds, + global::OpenRouter.ModelInputV2Variant3ParamsSources? sources) + { + this.Formats = formats; + this.MaxContentSizeBytes = maxContentSizeBytes; + this.MaxDurationSeconds = maxDurationSeconds; + this.Sources = sources; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant3Params() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.Json.g.cs new file mode 100644 index 00000000..4e2d852a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant3ParamsFormats + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsFormats? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormats), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant3ParamsFormats; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsFormats? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant3ParamsFormats? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsFormats), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant3ParamsFormats; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.g.cs new file mode 100644 index 00000000..47ccd6a8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormats.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant3ParamsFormats + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsFormatsTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant3ParamsFormatsType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant3ParamsFormats( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant3ParamsFormatsType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant3ParamsFormats() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsType.g.cs new file mode 100644 index 00000000..03accb15 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant3ParamsFormatsType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant3ParamsFormatsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant3ParamsFormatsType value) + { + return value switch + { + ModelInputV2Variant3ParamsFormatsType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant3ParamsFormatsType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant3ParamsFormatsType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsValue.g.cs new file mode 100644 index 00000000..6d286007 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsFormatsValue.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant3ParamsFormatsValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant3ParamsFormatsValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant3ParamsFormatsValue VideoMp4 { get; } = new("video/mp4"); + + /// + /// + /// + public static ModelInputV2Variant3ParamsFormatsValue VideoWebm { get; } = new("video/webm"); + /// + /// + /// + public static ModelInputV2Variant3ParamsFormatsValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "video/mp4" => VideoMp4, + "video/webm" => VideoWebm, + _ => new ModelInputV2Variant3ParamsFormatsValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "video/mp4" => true, + "video/webm" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant3ParamsFormatsValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant3ParamsFormatsValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant3ParamsFormatsValue left, ModelInputV2Variant3ParamsFormatsValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant3ParamsFormatsValue left, ModelInputV2Variant3ParamsFormatsValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant3ParamsFormatsValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant3ParamsFormatsValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant3ParamsFormatsValue? ToEnum(string value) + { + return ModelInputV2Variant3ParamsFormatsValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.Json.g.cs new file mode 100644 index 00000000..6356c9dc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant3ParamsMaxContentSizeBytes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant3ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.g.cs new file mode 100644 index 00000000..53ba4dba --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxContentSizeBytes.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant3ParamsMaxContentSizeBytes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant3ParamsMaxContentSizeBytes( + int value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant3ParamsMaxContentSizeBytes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.Json.g.cs new file mode 100644 index 00000000..c96302cd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant3ParamsMaxDurationSeconds + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant3ParamsMaxDurationSeconds; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.g.cs new file mode 100644 index 00000000..536bed50 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsMaxDurationSeconds.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant3ParamsMaxDurationSeconds + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant3ParamsMaxDurationSeconds( + double value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant3ParamsMaxDurationSeconds() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.Json.g.cs new file mode 100644 index 00000000..090473a7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant3ParamsSources + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsSources? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsSources), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant3ParamsSources; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3ParamsSources? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant3ParamsSources? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant3ParamsSources), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant3ParamsSources; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.g.cs new file mode 100644 index 00000000..86e9eb92 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSources.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant3ParamsSources + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant3ParamsSourcesTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant3ParamsSourcesType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant3ParamsSources( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant3ParamsSourcesType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant3ParamsSources() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesType.g.cs new file mode 100644 index 00000000..b23d8641 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant3ParamsSourcesType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant3ParamsSourcesTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant3ParamsSourcesType value) + { + return value switch + { + ModelInputV2Variant3ParamsSourcesType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant3ParamsSourcesType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant3ParamsSourcesType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesValue.g.cs new file mode 100644 index 00000000..5cbcbe9a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3ParamsSourcesValue.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant3ParamsSourcesValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant3ParamsSourcesValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant3ParamsSourcesValue Base64 { get; } = new("base64"); + + /// + /// + /// + public static ModelInputV2Variant3ParamsSourcesValue Url { get; } = new("url"); + /// + /// + /// + public static ModelInputV2Variant3ParamsSourcesValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "base64" => Base64, + "url" => Url, + _ => new ModelInputV2Variant3ParamsSourcesValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "base64" => true, + "url" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant3ParamsSourcesValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant3ParamsSourcesValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant3ParamsSourcesValue left, ModelInputV2Variant3ParamsSourcesValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant3ParamsSourcesValue left, ModelInputV2Variant3ParamsSourcesValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant3ParamsSourcesValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant3ParamsSourcesValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant3ParamsSourcesValue? ToEnum(string value) + { + return ModelInputV2Variant3ParamsSourcesValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..29b1d11a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant3PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant3PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant3PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant3PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant3PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant3PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant3PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.g.cs new file mode 100644 index 00000000..a55f3543 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant3PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Type.g.cs new file mode 100644 index 00000000..7690e18b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant3Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant3Type + { + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant3TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant3Type value) + { + return value switch + { + ModelInputV2Variant3Type.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant3Type? ToEnum(string value) + { + return value switch + { + "video" => ModelInputV2Variant3Type.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.Json.g.cs new file mode 100644 index 00000000..e242eeda --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant4), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant4), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.g.cs new file mode 100644 index 00000000..8b488dfe --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4.g.cs @@ -0,0 +1,85 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant4 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + public global::OpenRouter.ModelInputV2Variant4Params? Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant4TypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant4Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant4( + global::System.Collections.Generic.IList? capacity, + global::OpenRouter.ModelInputV2Variant4Params? @params, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelInputV2Variant4Type type) + { + this.Capacity = capacity; + this.Params = @params; + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.Json.g.cs new file mode 100644 index 00000000..0c5735a5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant4Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant4Params), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant4Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant4Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant4Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant4Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.g.cs new file mode 100644 index 00000000..87237981 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Params.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant4Params + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("formats")] + public global::OpenRouter.ModelInputV2Variant4ParamsFormats? Formats { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_size_bytes")] + public global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes? MaxContentSizeBytes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_duration_seconds")] + public global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds? MaxDurationSeconds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sources")] + public global::OpenRouter.ModelInputV2Variant4ParamsSources? Sources { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant4Params( + global::OpenRouter.ModelInputV2Variant4ParamsFormats? formats, + global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes? maxContentSizeBytes, + global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds? maxDurationSeconds, + global::OpenRouter.ModelInputV2Variant4ParamsSources? sources) + { + this.Formats = formats; + this.MaxContentSizeBytes = maxContentSizeBytes; + this.MaxDurationSeconds = maxDurationSeconds; + this.Sources = sources; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant4Params() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.Json.g.cs new file mode 100644 index 00000000..62b5fcae --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant4ParamsFormats + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsFormats? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormats), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant4ParamsFormats; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsFormats? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant4ParamsFormats? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsFormats), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant4ParamsFormats; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.g.cs new file mode 100644 index 00000000..504621e7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormats.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant4ParamsFormats + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsFormatsTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant4ParamsFormatsType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant4ParamsFormats( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant4ParamsFormatsType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant4ParamsFormats() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsType.g.cs new file mode 100644 index 00000000..3d7efafa --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant4ParamsFormatsType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant4ParamsFormatsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant4ParamsFormatsType value) + { + return value switch + { + ModelInputV2Variant4ParamsFormatsType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant4ParamsFormatsType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant4ParamsFormatsType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsValue.g.cs new file mode 100644 index 00000000..706c498e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsFormatsValue.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant4ParamsFormatsValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant4ParamsFormatsValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant4ParamsFormatsValue AudioMpeg { get; } = new("audio/mpeg"); + + /// + /// + /// + public static ModelInputV2Variant4ParamsFormatsValue AudioWav { get; } = new("audio/wav"); + /// + /// + /// + public static ModelInputV2Variant4ParamsFormatsValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "audio/mpeg" => AudioMpeg, + "audio/wav" => AudioWav, + _ => new ModelInputV2Variant4ParamsFormatsValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "audio/mpeg" => true, + "audio/wav" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant4ParamsFormatsValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant4ParamsFormatsValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant4ParamsFormatsValue left, ModelInputV2Variant4ParamsFormatsValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant4ParamsFormatsValue left, ModelInputV2Variant4ParamsFormatsValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant4ParamsFormatsValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant4ParamsFormatsValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant4ParamsFormatsValue? ToEnum(string value) + { + return ModelInputV2Variant4ParamsFormatsValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.Json.g.cs new file mode 100644 index 00000000..073458f2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant4ParamsMaxContentSizeBytes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant4ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.g.cs new file mode 100644 index 00000000..bfec7c76 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxContentSizeBytes.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant4ParamsMaxContentSizeBytes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant4ParamsMaxContentSizeBytes( + int value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant4ParamsMaxContentSizeBytes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.Json.g.cs new file mode 100644 index 00000000..3eda6bf6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant4ParamsMaxDurationSeconds + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant4ParamsMaxDurationSeconds; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.g.cs new file mode 100644 index 00000000..6830d555 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsMaxDurationSeconds.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant4ParamsMaxDurationSeconds + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant4ParamsMaxDurationSeconds( + double value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant4ParamsMaxDurationSeconds() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.Json.g.cs new file mode 100644 index 00000000..41ad5163 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant4ParamsSources + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsSources? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsSources), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant4ParamsSources; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4ParamsSources? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant4ParamsSources? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant4ParamsSources), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant4ParamsSources; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.g.cs new file mode 100644 index 00000000..9fe3f342 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSources.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant4ParamsSources + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant4ParamsSourcesTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant4ParamsSourcesType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant4ParamsSources( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant4ParamsSourcesType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant4ParamsSources() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesType.g.cs new file mode 100644 index 00000000..496fe59a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant4ParamsSourcesType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant4ParamsSourcesTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant4ParamsSourcesType value) + { + return value switch + { + ModelInputV2Variant4ParamsSourcesType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant4ParamsSourcesType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant4ParamsSourcesType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesValue.g.cs new file mode 100644 index 00000000..4de599c7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4ParamsSourcesValue.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant4ParamsSourcesValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant4ParamsSourcesValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant4ParamsSourcesValue Base64 { get; } = new("base64"); + + /// + /// + /// + public static ModelInputV2Variant4ParamsSourcesValue Url { get; } = new("url"); + /// + /// + /// + public static ModelInputV2Variant4ParamsSourcesValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "base64" => Base64, + "url" => Url, + _ => new ModelInputV2Variant4ParamsSourcesValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "base64" => true, + "url" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant4ParamsSourcesValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant4ParamsSourcesValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant4ParamsSourcesValue left, ModelInputV2Variant4ParamsSourcesValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant4ParamsSourcesValue left, ModelInputV2Variant4ParamsSourcesValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant4ParamsSourcesValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant4ParamsSourcesValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant4ParamsSourcesValue? ToEnum(string value) + { + return ModelInputV2Variant4ParamsSourcesValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..53f32bb4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant4PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant4PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant4PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant4PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant4PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant4PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant4PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.g.cs new file mode 100644 index 00000000..663c923e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant4PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Type.g.cs new file mode 100644 index 00000000..211173cf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant4Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant4Type + { + /// + /// + /// + Audio, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant4TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant4Type value) + { + return value switch + { + ModelInputV2Variant4Type.Audio => "audio", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant4Type? ToEnum(string value) + { + return value switch + { + "audio" => ModelInputV2Variant4Type.Audio, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.Json.g.cs new file mode 100644 index 00000000..7767f662 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant5), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant5), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.g.cs new file mode 100644 index 00000000..6fae742e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5.g.cs @@ -0,0 +1,85 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant5 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + public global::OpenRouter.ModelInputV2Variant5Params? Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant5TypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant5Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant5( + global::System.Collections.Generic.IList? capacity, + global::OpenRouter.ModelInputV2Variant5Params? @params, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelInputV2Variant5Type type) + { + this.Capacity = capacity; + this.Params = @params; + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.Json.g.cs new file mode 100644 index 00000000..50f30661 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant5Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant5Params), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant5Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant5Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant5Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant5Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.g.cs new file mode 100644 index 00000000..9748efb6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Params.g.cs @@ -0,0 +1,71 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant5Params + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("formats")] + public global::OpenRouter.ModelInputV2Variant5ParamsFormats? Formats { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_content_size_bytes")] + public global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes? MaxContentSizeBytes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("references")] + public global::OpenRouter.ModelInputV2Variant5ParamsReferences? References { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sources")] + public global::OpenRouter.ModelInputV2Variant5ParamsSources? Sources { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant5Params( + global::OpenRouter.ModelInputV2Variant5ParamsFormats? formats, + global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes? maxContentSizeBytes, + global::OpenRouter.ModelInputV2Variant5ParamsReferences? references, + global::OpenRouter.ModelInputV2Variant5ParamsSources? sources) + { + this.Formats = formats; + this.MaxContentSizeBytes = maxContentSizeBytes; + this.References = references; + this.Sources = sources; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant5Params() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.Json.g.cs new file mode 100644 index 00000000..5ab65819 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant5ParamsFormats + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsFormats? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormats), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant5ParamsFormats; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsFormats? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant5ParamsFormats? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsFormats), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant5ParamsFormats; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.g.cs new file mode 100644 index 00000000..995b8de9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormats.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant5ParamsFormats + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsFormatsTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant5ParamsFormatsType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant5ParamsFormats( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant5ParamsFormatsType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant5ParamsFormats() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsType.g.cs new file mode 100644 index 00000000..b5334400 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant5ParamsFormatsType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant5ParamsFormatsTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant5ParamsFormatsType value) + { + return value switch + { + ModelInputV2Variant5ParamsFormatsType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant5ParamsFormatsType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant5ParamsFormatsType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsValue.g.cs new file mode 100644 index 00000000..0eac523d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsFormatsValue.g.cs @@ -0,0 +1,148 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant5ParamsFormatsValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant5ParamsFormatsValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant5ParamsFormatsValue ApplicationJson { get; } = new("application/json"); + + /// + /// + /// + public static ModelInputV2Variant5ParamsFormatsValue ApplicationPdf { get; } = new("application/pdf"); + + /// + /// + /// + public static ModelInputV2Variant5ParamsFormatsValue TextCsv { get; } = new("text/csv"); + + /// + /// + /// + public static ModelInputV2Variant5ParamsFormatsValue TextHtml { get; } = new("text/html"); + + /// + /// + /// + public static ModelInputV2Variant5ParamsFormatsValue TextMarkdown { get; } = new("text/markdown"); + + /// + /// + /// + public static ModelInputV2Variant5ParamsFormatsValue TextPlain { get; } = new("text/plain"); + /// + /// + /// + public static ModelInputV2Variant5ParamsFormatsValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "application/json" => ApplicationJson, + "application/pdf" => ApplicationPdf, + "text/csv" => TextCsv, + "text/html" => TextHtml, + "text/markdown" => TextMarkdown, + "text/plain" => TextPlain, + _ => new ModelInputV2Variant5ParamsFormatsValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "application/json" => true, + "application/pdf" => true, + "text/csv" => true, + "text/html" => true, + "text/markdown" => true, + "text/plain" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant5ParamsFormatsValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant5ParamsFormatsValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant5ParamsFormatsValue left, ModelInputV2Variant5ParamsFormatsValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant5ParamsFormatsValue left, ModelInputV2Variant5ParamsFormatsValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant5ParamsFormatsValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant5ParamsFormatsValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant5ParamsFormatsValue? ToEnum(string value) + { + return ModelInputV2Variant5ParamsFormatsValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.Json.g.cs new file mode 100644 index 00000000..13a8bb69 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant5ParamsMaxContentSizeBytes + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant5ParamsMaxContentSizeBytes; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.g.cs new file mode 100644 index 00000000..7effadd3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsMaxContentSizeBytes.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant5ParamsMaxContentSizeBytes + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant5ParamsMaxContentSizeBytes( + int value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant5ParamsMaxContentSizeBytes() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.Json.g.cs new file mode 100644 index 00000000..d2079ae8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant5ParamsReferences + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsReferences? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferences), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant5ParamsReferences; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsReferences? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant5ParamsReferences? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsReferences), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant5ParamsReferences; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.g.cs new file mode 100644 index 00000000..b0b9b36b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferences.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant5ParamsReferences + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max")] + public int? Max { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min")] + public int? Min { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsReferencesTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant5ParamsReferencesType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant5ParamsReferences( + int? max, + int? min, + global::OpenRouter.ModelInputV2Variant5ParamsReferencesType type, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Max = max; + this.Min = min; + this.Type = type; + this.Unit = unit; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant5ParamsReferences() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferencesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferencesType.g.cs new file mode 100644 index 00000000..e366e866 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsReferencesType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant5ParamsReferencesType + { + /// + /// + /// + Integer, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant5ParamsReferencesTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant5ParamsReferencesType value) + { + return value switch + { + ModelInputV2Variant5ParamsReferencesType.Integer => "integer", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant5ParamsReferencesType? ToEnum(string value) + { + return value switch + { + "integer" => ModelInputV2Variant5ParamsReferencesType.Integer, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.Json.g.cs new file mode 100644 index 00000000..b9e46298 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant5ParamsSources + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsSources? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsSources), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant5ParamsSources; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5ParamsSources? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant5ParamsSources? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant5ParamsSources), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant5ParamsSources; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.g.cs new file mode 100644 index 00000000..6f804d5d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSources.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant5ParamsSources + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelInputV2Variant5ParamsSourcesTypeJsonConverter))] + public global::OpenRouter.ModelInputV2Variant5ParamsSourcesType Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelInputV2Variant5ParamsSources( + global::System.Collections.Generic.IList values, + global::OpenRouter.ModelInputV2Variant5ParamsSourcesType type) + { + this.Type = type; + this.Values = values ?? throw new global::System.ArgumentNullException(nameof(values)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelInputV2Variant5ParamsSources() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesType.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesType.g.cs new file mode 100644 index 00000000..a9c8375b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesType.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant5ParamsSourcesType + { + /// + /// + /// + Enum, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant5ParamsSourcesTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant5ParamsSourcesType value) + { + return value switch + { + ModelInputV2Variant5ParamsSourcesType.Enum => "enum", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant5ParamsSourcesType? ToEnum(string value) + { + return value switch + { + "enum" => ModelInputV2Variant5ParamsSourcesType.Enum, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesValue.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesValue.g.cs new file mode 100644 index 00000000..f75a0074 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5ParamsSourcesValue.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelInputV2Variant5ParamsSourcesValue : global::System.IEquatable + { + /// + /// + /// + public ModelInputV2Variant5ParamsSourcesValue(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelInputV2Variant5ParamsSourcesValue Base64 { get; } = new("base64"); + + /// + /// + /// + public static ModelInputV2Variant5ParamsSourcesValue Url { get; } = new("url"); + /// + /// + /// + public static ModelInputV2Variant5ParamsSourcesValue FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "base64" => Base64, + "url" => Url, + _ => new ModelInputV2Variant5ParamsSourcesValue(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "base64" => true, + "url" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelInputV2Variant5ParamsSourcesValue other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelInputV2Variant5ParamsSourcesValue other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelInputV2Variant5ParamsSourcesValue left, ModelInputV2Variant5ParamsSourcesValue right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelInputV2Variant5ParamsSourcesValue left, ModelInputV2Variant5ParamsSourcesValue right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant5ParamsSourcesValueExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant5ParamsSourcesValue value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant5ParamsSourcesValue? ToEnum(string value) + { + return ModelInputV2Variant5ParamsSourcesValue.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..26f33d24 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelInputV2Variant5PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelInputV2Variant5PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelInputV2Variant5PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelInputV2Variant5PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelInputV2Variant5PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelInputV2Variant5PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelInputV2Variant5PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.g.cs new file mode 100644 index 00000000..9a55ac7f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelInputV2Variant5PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Type.g.cs new file mode 100644 index 00000000..b2e2f6a3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelInputV2Variant5Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelInputV2Variant5Type + { + /// + /// + /// + File, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelInputV2Variant5TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelInputV2Variant5Type value) + { + return value switch + { + ModelInputV2Variant5Type.File => "file", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelInputV2Variant5Type? ToEnum(string value) + { + return value switch + { + "file" => ModelInputV2Variant5Type.File, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.Json.g.cs new file mode 100644 index 00000000..bacde098 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct ModelOutputV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.g.cs new file mode 100644 index 00000000..a2e5d9cf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2.g.cs @@ -0,0 +1,877 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// An output modality of the endpoint: its `params` (the provider document's `supported_parameters`), pricing, capacity, passthrough parameters and limits
+ /// Example: {"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"} + ///
+ public readonly partial struct ModelOutputV2 : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant1? ModelOutputV2Variant1 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant1? ModelOutputV2Variant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant1))] +#endif + public bool IsModelOutputV2Variant1 => ModelOutputV2Variant1 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant1? value) + { + value = ModelOutputV2Variant1; + return IsModelOutputV2Variant1; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant1 PickModelOutputV2Variant1() => ModelOutputV2Variant1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant2? ModelOutputV2Variant2 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant2? ModelOutputV2Variant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant2))] +#endif + public bool IsModelOutputV2Variant2 => ModelOutputV2Variant2 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant2? value) + { + value = ModelOutputV2Variant2; + return IsModelOutputV2Variant2; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant2 PickModelOutputV2Variant2() => ModelOutputV2Variant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant3? ModelOutputV2Variant3 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant3? ModelOutputV2Variant3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant3))] +#endif + public bool IsModelOutputV2Variant3 => ModelOutputV2Variant3 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant3? value) + { + value = ModelOutputV2Variant3; + return IsModelOutputV2Variant3; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant3 PickModelOutputV2Variant3() => ModelOutputV2Variant3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant3' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant4? ModelOutputV2Variant4 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant4? ModelOutputV2Variant4 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant4))] +#endif + public bool IsModelOutputV2Variant4 => ModelOutputV2Variant4 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant4( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant4? value) + { + value = ModelOutputV2Variant4; + return IsModelOutputV2Variant4; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant4 PickModelOutputV2Variant4() => ModelOutputV2Variant4 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant4' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant5? ModelOutputV2Variant5 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant5? ModelOutputV2Variant5 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant5))] +#endif + public bool IsModelOutputV2Variant5 => ModelOutputV2Variant5 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant5( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant5? value) + { + value = ModelOutputV2Variant5; + return IsModelOutputV2Variant5; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant5 PickModelOutputV2Variant5() => ModelOutputV2Variant5 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant5' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant6? ModelOutputV2Variant6 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant6? ModelOutputV2Variant6 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant6))] +#endif + public bool IsModelOutputV2Variant6 => ModelOutputV2Variant6 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant6( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant6? value) + { + value = ModelOutputV2Variant6; + return IsModelOutputV2Variant6; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant6 PickModelOutputV2Variant6() => ModelOutputV2Variant6 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant6' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant7? ModelOutputV2Variant7 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant7? ModelOutputV2Variant7 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant7))] +#endif + public bool IsModelOutputV2Variant7 => ModelOutputV2Variant7 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant7( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant7? value) + { + value = ModelOutputV2Variant7; + return IsModelOutputV2Variant7; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant7 PickModelOutputV2Variant7() => ModelOutputV2Variant7 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant7' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant8? ModelOutputV2Variant8 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant8? ModelOutputV2Variant8 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant8))] +#endif + public bool IsModelOutputV2Variant8 => ModelOutputV2Variant8 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant8( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant8? value) + { + value = ModelOutputV2Variant8; + return IsModelOutputV2Variant8; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant8 PickModelOutputV2Variant8() => ModelOutputV2Variant8 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant8' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.ModelOutputV2Variant9? ModelOutputV2Variant9 { get; init; } +#else + public global::OpenRouter.ModelOutputV2Variant9? ModelOutputV2Variant9 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ModelOutputV2Variant9))] +#endif + public bool IsModelOutputV2Variant9 => ModelOutputV2Variant9 != null; + + /// + /// + /// + public bool TryPickModelOutputV2Variant9( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.ModelOutputV2Variant9? value) + { + value = ModelOutputV2Variant9; + return IsModelOutputV2Variant9; + } + + /// + /// + /// + public global::OpenRouter.ModelOutputV2Variant9 PickModelOutputV2Variant9() => ModelOutputV2Variant9 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'ModelOutputV2Variant9' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant1 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant1?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant1?(ModelOutputV2 @this) => @this.ModelOutputV2Variant1; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant1? value) + { + ModelOutputV2Variant1 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant1(global::OpenRouter.ModelOutputV2Variant1? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant2 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant2?(ModelOutputV2 @this) => @this.ModelOutputV2Variant2; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant2? value) + { + ModelOutputV2Variant2 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant2(global::OpenRouter.ModelOutputV2Variant2? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant3 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant3?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant3?(ModelOutputV2 @this) => @this.ModelOutputV2Variant3; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant3? value) + { + ModelOutputV2Variant3 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant3(global::OpenRouter.ModelOutputV2Variant3? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant4 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant4?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant4?(ModelOutputV2 @this) => @this.ModelOutputV2Variant4; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant4? value) + { + ModelOutputV2Variant4 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant4(global::OpenRouter.ModelOutputV2Variant4? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant5 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant5?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant5?(ModelOutputV2 @this) => @this.ModelOutputV2Variant5; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant5? value) + { + ModelOutputV2Variant5 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant5(global::OpenRouter.ModelOutputV2Variant5? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant6 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant6?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant6?(ModelOutputV2 @this) => @this.ModelOutputV2Variant6; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant6? value) + { + ModelOutputV2Variant6 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant6(global::OpenRouter.ModelOutputV2Variant6? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant7 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant7?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant7?(ModelOutputV2 @this) => @this.ModelOutputV2Variant7; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant7? value) + { + ModelOutputV2Variant7 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant7(global::OpenRouter.ModelOutputV2Variant7? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant8 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant8?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant8?(ModelOutputV2 @this) => @this.ModelOutputV2Variant8; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant8? value) + { + ModelOutputV2Variant8 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant8(global::OpenRouter.ModelOutputV2Variant8? value) => new ModelOutputV2(value); + + /// + /// + /// + public static implicit operator ModelOutputV2(global::OpenRouter.ModelOutputV2Variant9 value) => new ModelOutputV2((global::OpenRouter.ModelOutputV2Variant9?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.ModelOutputV2Variant9?(ModelOutputV2 @this) => @this.ModelOutputV2Variant9; + + /// + /// + /// + public ModelOutputV2(global::OpenRouter.ModelOutputV2Variant9? value) + { + ModelOutputV2Variant9 = value; + } + + /// + /// + /// + public static ModelOutputV2 FromModelOutputV2Variant9(global::OpenRouter.ModelOutputV2Variant9? value) => new ModelOutputV2(value); + + /// + /// + /// + public ModelOutputV2( + global::OpenRouter.ModelOutputV2Variant1? modelOutputV2Variant1, + global::OpenRouter.ModelOutputV2Variant2? modelOutputV2Variant2, + global::OpenRouter.ModelOutputV2Variant3? modelOutputV2Variant3, + global::OpenRouter.ModelOutputV2Variant4? modelOutputV2Variant4, + global::OpenRouter.ModelOutputV2Variant5? modelOutputV2Variant5, + global::OpenRouter.ModelOutputV2Variant6? modelOutputV2Variant6, + global::OpenRouter.ModelOutputV2Variant7? modelOutputV2Variant7, + global::OpenRouter.ModelOutputV2Variant8? modelOutputV2Variant8, + global::OpenRouter.ModelOutputV2Variant9? modelOutputV2Variant9 + ) + { + ModelOutputV2Variant1 = modelOutputV2Variant1; + ModelOutputV2Variant2 = modelOutputV2Variant2; + ModelOutputV2Variant3 = modelOutputV2Variant3; + ModelOutputV2Variant4 = modelOutputV2Variant4; + ModelOutputV2Variant5 = modelOutputV2Variant5; + ModelOutputV2Variant6 = modelOutputV2Variant6; + ModelOutputV2Variant7 = modelOutputV2Variant7; + ModelOutputV2Variant8 = modelOutputV2Variant8; + ModelOutputV2Variant9 = modelOutputV2Variant9; + } + + /// + /// + /// + public object? Object => + ModelOutputV2Variant9 as object ?? + ModelOutputV2Variant8 as object ?? + ModelOutputV2Variant7 as object ?? + ModelOutputV2Variant6 as object ?? + ModelOutputV2Variant5 as object ?? + ModelOutputV2Variant4 as object ?? + ModelOutputV2Variant3 as object ?? + ModelOutputV2Variant2 as object ?? + ModelOutputV2Variant1 as object + ; + + /// + /// + /// + public override string? ToString() => + ModelOutputV2Variant1?.ToString() ?? + ModelOutputV2Variant2?.ToString() ?? + ModelOutputV2Variant3?.ToString() ?? + ModelOutputV2Variant4?.ToString() ?? + ModelOutputV2Variant5?.ToString() ?? + ModelOutputV2Variant6?.ToString() ?? + ModelOutputV2Variant7?.ToString() ?? + ModelOutputV2Variant8?.ToString() ?? + ModelOutputV2Variant9?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && IsModelOutputV2Variant8 && !IsModelOutputV2Variant9 || !IsModelOutputV2Variant1 && !IsModelOutputV2Variant2 && !IsModelOutputV2Variant3 && !IsModelOutputV2Variant4 && !IsModelOutputV2Variant5 && !IsModelOutputV2Variant6 && !IsModelOutputV2Variant7 && !IsModelOutputV2Variant8 && IsModelOutputV2Variant9; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? modelOutputV2Variant1 = null, + global::System.Func? modelOutputV2Variant2 = null, + global::System.Func? modelOutputV2Variant3 = null, + global::System.Func? modelOutputV2Variant4 = null, + global::System.Func? modelOutputV2Variant5 = null, + global::System.Func? modelOutputV2Variant6 = null, + global::System.Func? modelOutputV2Variant7 = null, + global::System.Func? modelOutputV2Variant8 = null, + global::System.Func? modelOutputV2Variant9 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (ModelOutputV2Variant1 is { } __value0 && modelOutputV2Variant1 != null) + { + return modelOutputV2Variant1(__value0); + } + else if (ModelOutputV2Variant2 is { } __value1 && modelOutputV2Variant2 != null) + { + return modelOutputV2Variant2(__value1); + } + else if (ModelOutputV2Variant3 is { } __value2 && modelOutputV2Variant3 != null) + { + return modelOutputV2Variant3(__value2); + } + else if (ModelOutputV2Variant4 is { } __value3 && modelOutputV2Variant4 != null) + { + return modelOutputV2Variant4(__value3); + } + else if (ModelOutputV2Variant5 is { } __value4 && modelOutputV2Variant5 != null) + { + return modelOutputV2Variant5(__value4); + } + else if (ModelOutputV2Variant6 is { } __value5 && modelOutputV2Variant6 != null) + { + return modelOutputV2Variant6(__value5); + } + else if (ModelOutputV2Variant7 is { } __value6 && modelOutputV2Variant7 != null) + { + return modelOutputV2Variant7(__value6); + } + else if (ModelOutputV2Variant8 is { } __value7 && modelOutputV2Variant8 != null) + { + return modelOutputV2Variant8(__value7); + } + else if (ModelOutputV2Variant9 is { } __value8 && modelOutputV2Variant9 != null) + { + return modelOutputV2Variant9(__value8); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? modelOutputV2Variant1 = null, + + global::System.Action? modelOutputV2Variant2 = null, + + global::System.Action? modelOutputV2Variant3 = null, + + global::System.Action? modelOutputV2Variant4 = null, + + global::System.Action? modelOutputV2Variant5 = null, + + global::System.Action? modelOutputV2Variant6 = null, + + global::System.Action? modelOutputV2Variant7 = null, + + global::System.Action? modelOutputV2Variant8 = null, + + global::System.Action? modelOutputV2Variant9 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (ModelOutputV2Variant1 is { } __value0) + { + modelOutputV2Variant1?.Invoke(__value0); + } + else if (ModelOutputV2Variant2 is { } __value1) + { + modelOutputV2Variant2?.Invoke(__value1); + } + else if (ModelOutputV2Variant3 is { } __value2) + { + modelOutputV2Variant3?.Invoke(__value2); + } + else if (ModelOutputV2Variant4 is { } __value3) + { + modelOutputV2Variant4?.Invoke(__value3); + } + else if (ModelOutputV2Variant5 is { } __value4) + { + modelOutputV2Variant5?.Invoke(__value4); + } + else if (ModelOutputV2Variant6 is { } __value5) + { + modelOutputV2Variant6?.Invoke(__value5); + } + else if (ModelOutputV2Variant7 is { } __value6) + { + modelOutputV2Variant7?.Invoke(__value6); + } + else if (ModelOutputV2Variant8 is { } __value7) + { + modelOutputV2Variant8?.Invoke(__value7); + } + else if (ModelOutputV2Variant9 is { } __value8) + { + modelOutputV2Variant9?.Invoke(__value8); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? modelOutputV2Variant1 = null, + global::System.Action? modelOutputV2Variant2 = null, + global::System.Action? modelOutputV2Variant3 = null, + global::System.Action? modelOutputV2Variant4 = null, + global::System.Action? modelOutputV2Variant5 = null, + global::System.Action? modelOutputV2Variant6 = null, + global::System.Action? modelOutputV2Variant7 = null, + global::System.Action? modelOutputV2Variant8 = null, + global::System.Action? modelOutputV2Variant9 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (ModelOutputV2Variant1 is { } __value0) + { + modelOutputV2Variant1?.Invoke(__value0); + } + else if (ModelOutputV2Variant2 is { } __value1) + { + modelOutputV2Variant2?.Invoke(__value1); + } + else if (ModelOutputV2Variant3 is { } __value2) + { + modelOutputV2Variant3?.Invoke(__value2); + } + else if (ModelOutputV2Variant4 is { } __value3) + { + modelOutputV2Variant4?.Invoke(__value3); + } + else if (ModelOutputV2Variant5 is { } __value4) + { + modelOutputV2Variant5?.Invoke(__value4); + } + else if (ModelOutputV2Variant6 is { } __value5) + { + modelOutputV2Variant6?.Invoke(__value5); + } + else if (ModelOutputV2Variant7 is { } __value6) + { + modelOutputV2Variant7?.Invoke(__value6); + } + else if (ModelOutputV2Variant8 is { } __value7) + { + modelOutputV2Variant8?.Invoke(__value7); + } + else if (ModelOutputV2Variant9 is { } __value8) + { + modelOutputV2Variant9?.Invoke(__value8); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + ModelOutputV2Variant1, + typeof(global::OpenRouter.ModelOutputV2Variant1), + ModelOutputV2Variant2, + typeof(global::OpenRouter.ModelOutputV2Variant2), + ModelOutputV2Variant3, + typeof(global::OpenRouter.ModelOutputV2Variant3), + ModelOutputV2Variant4, + typeof(global::OpenRouter.ModelOutputV2Variant4), + ModelOutputV2Variant5, + typeof(global::OpenRouter.ModelOutputV2Variant5), + ModelOutputV2Variant6, + typeof(global::OpenRouter.ModelOutputV2Variant6), + ModelOutputV2Variant7, + typeof(global::OpenRouter.ModelOutputV2Variant7), + ModelOutputV2Variant8, + typeof(global::OpenRouter.ModelOutputV2Variant8), + ModelOutputV2Variant9, + typeof(global::OpenRouter.ModelOutputV2Variant9), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(ModelOutputV2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant1, other.ModelOutputV2Variant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant2, other.ModelOutputV2Variant2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant3, other.ModelOutputV2Variant3) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant4, other.ModelOutputV2Variant4) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant5, other.ModelOutputV2Variant5) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant6, other.ModelOutputV2Variant6) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant7, other.ModelOutputV2Variant7) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant8, other.ModelOutputV2Variant8) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(ModelOutputV2Variant9, other.ModelOutputV2Variant9) + ; + } + + /// + /// + /// + public static bool operator ==(ModelOutputV2 obj1, ModelOutputV2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(ModelOutputV2 obj1, ModelOutputV2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelOutputV2 o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.Json.g.cs new file mode 100644 index 00000000..2835ac15 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant1), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.g.cs new file mode 100644 index 00000000..216d1e53 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1.g.cs @@ -0,0 +1,104 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant1 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_length")] + public global::OpenRouter.ModelOutputV2Variant1MaxLength? MaxLength { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("streaming")] + public bool? Streaming { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant1TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant1Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant1( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::OpenRouter.ModelOutputV2Variant1MaxLength? maxLength, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + bool? streaming, + global::OpenRouter.ModelOutputV2Variant1Type type) + { + this.Capacity = capacity; + this.MaxLength = maxLength; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Streaming = streaming; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.Json.g.cs new file mode 100644 index 00000000..eaadc6a0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant1MaxLength + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1MaxLength? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant1MaxLength), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant1MaxLength; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1MaxLength? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant1MaxLength? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant1MaxLength), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant1MaxLength; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.g.cs new file mode 100644 index 00000000..f705cd26 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1MaxLength.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant1MaxLength + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant1MaxLength( + int value, + global::OpenRouter.DescriptorUnitV2? unit) + { + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant1MaxLength() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.Json.g.cs new file mode 100644 index 00000000..c17b8fcc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant1Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant1Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant1Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant1Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant1Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant1Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.g.cs new file mode 100644 index 00000000..c1306873 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant1Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..dfb96c76 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant1PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant1PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant1PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant1PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant1PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant1PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant1PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.g.cs new file mode 100644 index 00000000..a6ef685b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant1PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Type.g.cs new file mode 100644 index 00000000..88c5cc25 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant1Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant1Type + { + /// + /// + /// + Text, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant1Type value) + { + return value switch + { + ModelOutputV2Variant1Type.Text => "text", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant1Type? ToEnum(string value) + { + return value switch + { + "text" => ModelOutputV2Variant1Type.Text, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.Json.g.cs new file mode 100644 index 00000000..b69abce8 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant2), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.g.cs new file mode 100644 index 00000000..140d935a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant2 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("streaming")] + public bool? Streaming { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant2TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant2Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant2( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + bool? streaming, + global::OpenRouter.ModelOutputV2Variant2Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Streaming = streaming; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.Json.g.cs new file mode 100644 index 00000000..990ed36c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant2Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant2Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant2Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant2Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant2Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant2Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant2Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant2Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.g.cs new file mode 100644 index 00000000..4da5b6ec --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant2Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..382dbff2 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant2PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant2PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant2PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant2PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant2PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant2PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant2PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant2PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.g.cs new file mode 100644 index 00000000..f7661066 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant2PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Type.g.cs new file mode 100644 index 00000000..65650f5a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant2Type + { + /// + /// + /// + Image, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant2Type value) + { + return value switch + { + ModelOutputV2Variant2Type.Image => "image", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant2Type? ToEnum(string value) + { + return value switch + { + "image" => ModelOutputV2Variant2Type.Image, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.Json.g.cs new file mode 100644 index 00000000..179edc07 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant3), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.g.cs new file mode 100644 index 00000000..d30d0aaf --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant3 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("streaming")] + public bool? Streaming { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant3TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant3Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant3( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + bool? streaming, + global::OpenRouter.ModelOutputV2Variant3Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Streaming = streaming; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.Json.g.cs new file mode 100644 index 00000000..2412e0ea --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant3Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant3Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant3Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant3Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant3Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant3Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant3Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant3Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.g.cs new file mode 100644 index 00000000..de77e61f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant3Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..3de1c510 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant3PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant3PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant3PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant3PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant3PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant3PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant3PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant3PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.g.cs new file mode 100644 index 00000000..6daf8e89 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant3PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Type.g.cs new file mode 100644 index 00000000..20cbbfbe --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant3Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant3Type + { + /// + /// + /// + Video, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant3TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant3Type value) + { + return value switch + { + ModelOutputV2Variant3Type.Video => "video", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant3Type? ToEnum(string value) + { + return value switch + { + "video" => ModelOutputV2Variant3Type.Video, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.Json.g.cs new file mode 100644 index 00000000..877c1b4c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant4), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant4? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant4), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.g.cs new file mode 100644 index 00000000..38dc8235 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant4 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("streaming")] + public bool? Streaming { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant4TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant4Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant4( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + bool? streaming, + global::OpenRouter.ModelOutputV2Variant4Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Streaming = streaming; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.Json.g.cs new file mode 100644 index 00000000..f896e0dd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant4Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant4Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant4Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant4Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant4Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant4Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant4Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant4Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.g.cs new file mode 100644 index 00000000..eb71b7a1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant4Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..d8f41064 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant4PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant4PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant4PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant4PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant4PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant4PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant4PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant4PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.g.cs new file mode 100644 index 00000000..e5beb74f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant4PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Type.g.cs new file mode 100644 index 00000000..7dc76eef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant4Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant4Type + { + /// + /// + /// + Speech, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant4TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant4Type value) + { + return value switch + { + ModelOutputV2Variant4Type.Speech => "speech", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant4Type? ToEnum(string value) + { + return value switch + { + "speech" => ModelOutputV2Variant4Type.Speech, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.Json.g.cs new file mode 100644 index 00000000..1360a6f7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant5), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant5? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant5), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.g.cs new file mode 100644 index 00000000..0d6c4cc5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant5 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("streaming")] + public bool? Streaming { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant5TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant5Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant5( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + bool? streaming, + global::OpenRouter.ModelOutputV2Variant5Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Streaming = streaming; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.Json.g.cs new file mode 100644 index 00000000..8c607dad --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant5Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant5Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant5Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant5Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant5Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant5Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant5Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant5Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.g.cs new file mode 100644 index 00000000..677811c1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant5Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..762567da --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant5PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant5PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant5PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant5PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant5PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant5PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant5PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant5PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.g.cs new file mode 100644 index 00000000..76465493 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant5PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Type.g.cs new file mode 100644 index 00000000..4321e77e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant5Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant5Type + { + /// + /// + /// + Transcription, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant5TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant5Type value) + { + return value switch + { + ModelOutputV2Variant5Type.Transcription => "transcription", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant5Type? ToEnum(string value) + { + return value switch + { + "transcription" => ModelOutputV2Variant5Type.Transcription, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.Json.g.cs new file mode 100644 index 00000000..45f89777 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant6), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant6? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant6), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.g.cs new file mode 100644 index 00000000..873288ba --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6.g.cs @@ -0,0 +1,86 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant6 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant6TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant6Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant6( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelOutputV2Variant6Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant6() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.Json.g.cs new file mode 100644 index 00000000..30acecf9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant6Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant6Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant6Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant6Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant6Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant6Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant6Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant6Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.g.cs new file mode 100644 index 00000000..36f463e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant6Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..6e33dbb5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant6PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant6PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant6PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant6PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant6PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant6PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant6PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant6PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.g.cs new file mode 100644 index 00000000..9801aaa3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant6PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Type.g.cs new file mode 100644 index 00000000..49e26d5f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant6Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant6Type + { + /// + /// + /// + Embeddings, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant6TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant6Type value) + { + return value switch + { + ModelOutputV2Variant6Type.Embeddings => "embeddings", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant6Type? ToEnum(string value) + { + return value switch + { + "embeddings" => ModelOutputV2Variant6Type.Embeddings, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.Json.g.cs new file mode 100644 index 00000000..a36877b0 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant7 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant7? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant7), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant7; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant7? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant7? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant7), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant7; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.g.cs new file mode 100644 index 00000000..02c2cada --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7.g.cs @@ -0,0 +1,86 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant7 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant7TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant7Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant7( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelOutputV2Variant7Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant7() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.Json.g.cs new file mode 100644 index 00000000..69698d38 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant7Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant7Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant7Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant7Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant7Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant7Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant7Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant7Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.g.cs new file mode 100644 index 00000000..e192301c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant7Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..81589881 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant7PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant7PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant7PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant7PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant7PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant7PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant7PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant7PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.g.cs new file mode 100644 index 00000000..8df63b85 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant7PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Type.g.cs new file mode 100644 index 00000000..c19ca805 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant7Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant7Type + { + /// + /// + /// + Rerank, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant7TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant7Type value) + { + return value switch + { + ModelOutputV2Variant7Type.Rerank => "rerank", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant7Type? ToEnum(string value) + { + return value switch + { + "rerank" => ModelOutputV2Variant7Type.Rerank, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.Json.g.cs new file mode 100644 index 00000000..bf8d7461 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant8 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant8? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant8), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant8; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant8? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant8? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant8), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant8; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.g.cs new file mode 100644 index 00000000..ce3661ad --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8.g.cs @@ -0,0 +1,86 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant8 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant8TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant8Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant8( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + global::OpenRouter.ModelOutputV2Variant8Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant8() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.Json.g.cs new file mode 100644 index 00000000..549b5503 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant8Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant8Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant8Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant8Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant8Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant8Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant8Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant8Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.g.cs new file mode 100644 index 00000000..832e31e9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant8Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..74461d16 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant8PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant8PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant8PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant8PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant8PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant8PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant8PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant8PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.g.cs new file mode 100644 index 00000000..32209c90 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant8PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Type.g.cs new file mode 100644 index 00000000..ee76b737 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant8Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant8Type + { + /// + /// + /// + Decisions, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant8TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant8Type value) + { + return value switch + { + ModelOutputV2Variant8Type.Decisions => "decisions", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant8Type? ToEnum(string value) + { + return value switch + { + "decisions" => ModelOutputV2Variant8Type.Decisions, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.Json.g.cs new file mode 100644 index 00000000..383a4e71 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant9 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant9? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant9), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant9; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant9? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant9? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant9), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant9; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.g.cs new file mode 100644 index 00000000..84d914ca --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant9 + { + /// + /// Entries must be unique by type, unit, and window + /// + [global::System.Text.Json.Serialization.JsonPropertyName("capacity")] + public global::System.Collections.Generic.IList? Capacity { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("params")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Params { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passthrough_parameters")] + public global::System.Collections.Generic.Dictionary? PassthroughParameters { get; set; } + + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pricing")] + public global::System.Collections.Generic.IList? Pricing { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("streaming")] + public bool? Streaming { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelOutputV2Variant9TypeJsonConverter))] + public global::OpenRouter.ModelOutputV2Variant9Type Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Entries must be unique by type, unit, and window + /// + /// + /// + /// Entries must be unique by type together with the qualifier fields (utc_start, utc_end) + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelOutputV2Variant9( + global::System.Collections.Generic.Dictionary @params, + global::System.Collections.Generic.IList? capacity, + global::System.Collections.Generic.Dictionary? passthroughParameters, + global::System.Collections.Generic.IList? pricing, + bool? streaming, + global::OpenRouter.ModelOutputV2Variant9Type type) + { + this.Capacity = capacity; + this.Params = @params ?? throw new global::System.ArgumentNullException(nameof(@params)); + this.PassthroughParameters = passthroughParameters; + this.Pricing = pricing; + this.Streaming = streaming; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelOutputV2Variant9() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.Json.g.cs new file mode 100644 index 00000000..6126a192 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant9Params + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant9Params? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant9Params), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant9Params; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant9Params? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant9Params? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant9Params), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant9Params; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.g.cs new file mode 100644 index 00000000..13769c19 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Params.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant9Params + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.Json.g.cs new file mode 100644 index 00000000..33d745b3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelOutputV2Variant9PassthroughParameters + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant9PassthroughParameters? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelOutputV2Variant9PassthroughParameters), + jsonSerializerContext) as global::OpenRouter.ModelOutputV2Variant9PassthroughParameters; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelOutputV2Variant9PassthroughParameters? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelOutputV2Variant9PassthroughParameters? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelOutputV2Variant9PassthroughParameters), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelOutputV2Variant9PassthroughParameters; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.g.cs new file mode 100644 index 00000000..61c958e3 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9PassthroughParameters.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ModelOutputV2Variant9PassthroughParameters + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Type.g.cs new file mode 100644 index 00000000..59163bdc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelOutputV2Variant9Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum ModelOutputV2Variant9Type + { + /// + /// + /// + Audio, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelOutputV2Variant9TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelOutputV2Variant9Type value) + { + return value switch + { + ModelOutputV2Variant9Type.Audio => "audio", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ModelOutputV2Variant9Type? ToEnum(string value) + { + return value switch + { + "audio" => ModelOutputV2Variant9Type.Audio, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.Json.g.cs new file mode 100644 index 00000000..9edd2f3d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelV2), + jsonSerializerContext) as global::OpenRouter.ModelV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.g.cs new file mode 100644 index 00000000..3f04f607 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2.g.cs @@ -0,0 +1,239 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Example: {"author":"openai","canonical_slug":"openai/gpt-4","context_length":8192,"created":1687882411,"description":"OpenAI flagship model.","endpoints":[{"created":1687882411,"data_policy":{"retains_prompts":false,"training":false},"id":"gpt-4","inputs":[{"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"}],"name":"GPT-4","openrouter":{"slug":"openai/gpt-4"},"outputs":[{"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"},"tools":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"}],"provider":{"name":"OpenAI","slug":"openai","tag":"openai"},"schema_version":"2.4"}],"id":"openai/gpt-4","inputs":["text"],"kind":"model","name":"GPT-4","outputs":["text"],"variant":"standard"} + /// + public sealed partial class ModelV2 + { + /// + /// For an `alias` record, the model it currently resolves to; absent while the alias has no live target + /// + [global::System.Text.Json.Serialization.JsonPropertyName("alias_target")] + public global::OpenRouter.AliasTargetV2? AliasTarget { get; set; } + + /// + /// Author slug, the first segment of the model slug
+ /// Example: openai + ///
+ /// openai + [global::System.Text.Json.Serialization.JsonPropertyName("author")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Author { get; set; } + + /// + /// Permanent slug that identifies this model version
+ /// Example: openai/gpt-4 + ///
+ /// openai/gpt-4 + [global::System.Text.Json.Serialization.JsonPropertyName("canonical_slug")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CanonicalSlug { get; set; } + + /// + /// Context window of the model in tokens, as listed by `GET /api/v1/models`
+ /// Example: 8192 + ///
+ /// 8192 + [global::System.Text.Json.Serialization.JsonPropertyName("context_length")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ContextLength { get; set; } + + /// + /// Unix timestamp (seconds) when the model was added to OpenRouter
+ /// Example: 1687882411 + ///
+ /// 1687882411 + [global::System.Text.Json.Serialization.JsonPropertyName("created")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.UnixTimestampJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTimeOffset Created { get; set; } + + /// + /// Model description
+ /// Example: OpenAI flagship model. + ///
+ /// OpenAI flagship model. + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Published endpoints serving this model, one V2 document each. An `alias` carries the endpoints of its target; a `router` has none, it routes to other models + /// + [global::System.Text.Json.Serialization.JsonPropertyName("endpoints")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Endpoints { get; set; } + + /// + /// Hugging Face model identifier, when the weights are published there
+ /// Example: meta-llama/Llama-3.1-8B-Instruct + ///
+ /// meta-llama/Llama-3.1-8B-Instruct + [global::System.Text.Json.Serialization.JsonPropertyName("hugging_face_id")] + public string? HuggingFaceId { get; set; } + + /// + /// Model slug used in API requests
+ /// Example: openai/gpt-4 + ///
+ /// openai/gpt-4 + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// Input modality types registered on the model, independent of which endpoints the request returns; each entry of `endpoints[].inputs` carries the full modality object of that endpoint
+ /// Example: [text, image] + ///
+ /// [text, image] + [global::System.Text.Json.Serialization.JsonPropertyName("inputs")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Inputs { get; set; } + + /// + /// What the record is: `model` for a served model variant, `router` for an OpenRouter router (`openrouter/auto`), `alias` for a `~author/family-latest` pointer. `kind.not=router` lists catalog models only
+ /// Example: model + ///
+ /// model + [global::System.Text.Json.Serialization.JsonPropertyName("kind")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelV2KindJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ModelV2Kind Kind { get; set; } + + /// + /// Human-readable model name
+ /// Example: GPT-4 + ///
+ /// GPT-4 + [global::System.Text.Json.Serialization.JsonPropertyName("name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Name { get; set; } + + /// + /// Output modality types registered on the model, independent of which endpoints the request returns; each entry of `endpoints[].outputs` carries the full modality object of that endpoint
+ /// Example: [text] + ///
+ /// [text] + [global::System.Text.Json.Serialization.JsonPropertyName("outputs")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Outputs { get; set; } + + /// + /// Variant of the model this record serves, the suffix of `id` (`openai/gpt-4:free` is `free`). Every record other than `free` is paid, so `variant.not=free` lists paid models and `variant=batch` the batch variants
+ /// Example: standard + ///
+ /// standard + [global::System.Text.Json.Serialization.JsonPropertyName("variant")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ModelV2VariantJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ModelV2Variant Variant { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Author slug, the first segment of the model slug
+ /// Example: openai + /// + /// + /// Permanent slug that identifies this model version
+ /// Example: openai/gpt-4 + /// + /// + /// Context window of the model in tokens, as listed by `GET /api/v1/models`
+ /// Example: 8192 + /// + /// + /// Unix timestamp (seconds) when the model was added to OpenRouter
+ /// Example: 1687882411 + /// + /// + /// Published endpoints serving this model, one V2 document each. An `alias` carries the endpoints of its target; a `router` has none, it routes to other models + /// + /// + /// Model slug used in API requests
+ /// Example: openai/gpt-4 + /// + /// + /// Input modality types registered on the model, independent of which endpoints the request returns; each entry of `endpoints[].inputs` carries the full modality object of that endpoint
+ /// Example: [text, image] + /// + /// + /// What the record is: `model` for a served model variant, `router` for an OpenRouter router (`openrouter/auto`), `alias` for a `~author/family-latest` pointer. `kind.not=router` lists catalog models only
+ /// Example: model + /// + /// + /// Human-readable model name
+ /// Example: GPT-4 + /// + /// + /// Output modality types registered on the model, independent of which endpoints the request returns; each entry of `endpoints[].outputs` carries the full modality object of that endpoint
+ /// Example: [text] + /// + /// + /// Variant of the model this record serves, the suffix of `id` (`openai/gpt-4:free` is `free`). Every record other than `free` is paid, so `variant.not=free` lists paid models and `variant=batch` the batch variants
+ /// Example: standard + /// + /// + /// For an `alias` record, the model it currently resolves to; absent while the alias has no live target + /// + /// + /// Model description
+ /// Example: OpenAI flagship model. + /// + /// + /// Hugging Face model identifier, when the weights are published there
+ /// Example: meta-llama/Llama-3.1-8B-Instruct + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelV2( + string author, + string canonicalSlug, + int contextLength, + global::System.DateTimeOffset created, + global::System.Collections.Generic.IList endpoints, + string id, + global::System.Collections.Generic.IList inputs, + global::OpenRouter.ModelV2Kind kind, + string name, + global::System.Collections.Generic.IList outputs, + global::OpenRouter.ModelV2Variant variant, + global::OpenRouter.AliasTargetV2? aliasTarget, + string? description, + string? huggingFaceId) + { + this.AliasTarget = aliasTarget; + this.Author = author ?? throw new global::System.ArgumentNullException(nameof(author)); + this.CanonicalSlug = canonicalSlug ?? throw new global::System.ArgumentNullException(nameof(canonicalSlug)); + this.ContextLength = contextLength; + this.Created = created; + this.Description = description; + this.Endpoints = endpoints ?? throw new global::System.ArgumentNullException(nameof(endpoints)); + this.HuggingFaceId = huggingFaceId; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Inputs = inputs ?? throw new global::System.ArgumentNullException(nameof(inputs)); + this.Kind = kind; + this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.Outputs = outputs ?? throw new global::System.ArgumentNullException(nameof(outputs)); + this.Variant = variant; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Input.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Input.g.cs new file mode 100644 index 00000000..578c3ea6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Input.g.cs @@ -0,0 +1,141 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelV2Input : global::System.IEquatable + { + /// + /// + /// + public ModelV2Input(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelV2Input Audio { get; } = new("audio"); + + /// + /// + /// + public static ModelV2Input File { get; } = new("file"); + + /// + /// + /// + public static ModelV2Input Image { get; } = new("image"); + + /// + /// + /// + public static ModelV2Input Text { get; } = new("text"); + + /// + /// + /// + public static ModelV2Input Video { get; } = new("video"); + /// + /// + /// + public static ModelV2Input FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "audio" => Audio, + "file" => File, + "image" => Image, + "text" => Text, + "video" => Video, + _ => new ModelV2Input(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "audio" => true, + "file" => true, + "image" => true, + "text" => true, + "video" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelV2Input other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelV2Input other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelV2Input left, ModelV2Input right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelV2Input left, ModelV2Input right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelV2InputExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelV2Input value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelV2Input? ToEnum(string value) + { + return ModelV2Input.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Kind.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Kind.g.cs new file mode 100644 index 00000000..08831eff --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Kind.g.cs @@ -0,0 +1,128 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// What the record is: `model` for a served model variant, `router` for an OpenRouter router (`openrouter/auto`), `alias` for a `~author/family-latest` pointer. `kind.not=router` lists catalog models only
+ /// Example: model + ///
+ public readonly partial struct ModelV2Kind : global::System.IEquatable + { + /// + /// + /// + public ModelV2Kind(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// `model` for a served model variant, `router` for an OpenRouter router (`openrouter/auto`), `alias` for a `~author/family-latest` pointer. `kind.not=router` lists catalog models only + /// + public static ModelV2Kind Alias { get; } = new("alias"); + + /// + /// `model` for a served model variant, `router` for an OpenRouter router (`openrouter/auto`), `alias` for a `~author/family-latest` pointer. `kind.not=router` lists catalog models only + /// + public static ModelV2Kind Model { get; } = new("model"); + + /// + /// `model` for a served model variant, `router` for an OpenRouter router (`openrouter/auto`), `alias` for a `~author/family-latest` pointer. `kind.not=router` lists catalog models only + /// + public static ModelV2Kind Router { get; } = new("router"); + /// + /// + /// + public static ModelV2Kind FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "alias" => Alias, + "model" => Model, + "router" => Router, + _ => new ModelV2Kind(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "alias" => true, + "model" => true, + "router" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelV2Kind other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelV2Kind other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelV2Kind left, ModelV2Kind right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelV2Kind left, ModelV2Kind right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelV2KindExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelV2Kind value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelV2Kind? ToEnum(string value) + { + return ModelV2Kind.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Output.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Output.g.cs new file mode 100644 index 00000000..3b1cb911 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Output.g.cs @@ -0,0 +1,169 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ModelV2Output : global::System.IEquatable + { + /// + /// + /// + public ModelV2Output(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ModelV2Output Audio { get; } = new("audio"); + + /// + /// + /// + public static ModelV2Output Decisions { get; } = new("decisions"); + + /// + /// + /// + public static ModelV2Output Embeddings { get; } = new("embeddings"); + + /// + /// + /// + public static ModelV2Output Image { get; } = new("image"); + + /// + /// + /// + public static ModelV2Output Rerank { get; } = new("rerank"); + + /// + /// + /// + public static ModelV2Output Speech { get; } = new("speech"); + + /// + /// + /// + public static ModelV2Output Text { get; } = new("text"); + + /// + /// + /// + public static ModelV2Output Transcription { get; } = new("transcription"); + + /// + /// + /// + public static ModelV2Output Video { get; } = new("video"); + /// + /// + /// + public static ModelV2Output FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "audio" => Audio, + "decisions" => Decisions, + "embeddings" => Embeddings, + "image" => Image, + "rerank" => Rerank, + "speech" => Speech, + "text" => Text, + "transcription" => Transcription, + "video" => Video, + _ => new ModelV2Output(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "audio" => true, + "decisions" => true, + "embeddings" => true, + "image" => true, + "rerank" => true, + "speech" => true, + "text" => true, + "transcription" => true, + "video" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelV2Output other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelV2Output other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelV2Output left, ModelV2Output right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelV2Output left, ModelV2Output right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelV2OutputExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelV2Output value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelV2Output? ToEnum(string value) + { + return ModelV2Output.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.Json.g.cs new file mode 100644 index 00000000..5b3773bb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelV2Response + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelV2Response? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelV2Response), + jsonSerializerContext) as global::OpenRouter.ModelV2Response; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelV2Response? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelV2Response? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelV2Response), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelV2Response; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.g.cs new file mode 100644 index 00000000..52658053 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Response.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Example: {"data":{"author":"openai","canonical_slug":"openai/gpt-4","context_length":8192,"created":1687882411,"description":"OpenAI flagship model.","endpoints":[{"created":1687882411,"data_policy":{"retains_prompts":false,"training":false},"id":"gpt-4","inputs":[{"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"}],"name":"GPT-4","openrouter":{"slug":"openai/gpt-4"},"outputs":[{"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"},"tools":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"}],"provider":{"name":"OpenAI","slug":"openai","tag":"openai"},"schema_version":"2.4"}],"id":"openai/gpt-4","inputs":["text"],"kind":"model","name":"GPT-4","outputs":["text"],"variant":"standard"}} + /// + public sealed partial class ModelV2Response + { + /// + /// Example: {"author":"openai","canonical_slug":"openai/gpt-4","context_length":8192,"created":1687882411,"description":"OpenAI flagship model.","endpoints":[{"created":1687882411,"data_policy":{"retains_prompts":false,"training":false},"id":"gpt-4","inputs":[{"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"}],"name":"GPT-4","openrouter":{"slug":"openai/gpt-4"},"outputs":[{"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"},"tools":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"}],"provider":{"name":"OpenAI","slug":"openai","tag":"openai"},"schema_version":"2.4"}],"id":"openai/gpt-4","inputs":["text"],"kind":"model","name":"GPT-4","outputs":["text"],"variant":"standard"} + /// + /// {"author":"openai","canonical_slug":"openai/gpt-4","context_length":8192,"created":1687882411,"description":"OpenAI flagship model.","endpoints":[{"created":1687882411,"data_policy":{"retains_prompts":false,"training":false},"id":"gpt-4","inputs":[{"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"}],"name":"GPT-4","openrouter":{"slug":"openai/gpt-4"},"outputs":[{"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"},"tools":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"}],"provider":{"name":"OpenAI","slug":"openai","tag":"openai"},"schema_version":"2.4"}],"id":"openai/gpt-4","inputs":["text"],"kind":"model","name":"GPT-4","outputs":["text"],"variant":"standard"} + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ModelV2 Data { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Example: {"author":"openai","canonical_slug":"openai/gpt-4","context_length":8192,"created":1687882411,"description":"OpenAI flagship model.","endpoints":[{"created":1687882411,"data_policy":{"retains_prompts":false,"training":false},"id":"gpt-4","inputs":[{"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"}],"name":"GPT-4","openrouter":{"slug":"openai/gpt-4"},"outputs":[{"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"},"tools":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"}],"provider":{"name":"OpenAI","slug":"openai","tag":"openai"},"schema_version":"2.4"}],"id":"openai/gpt-4","inputs":["text"],"kind":"model","name":"GPT-4","outputs":["text"],"variant":"standard"} + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelV2Response( + global::OpenRouter.ModelV2 data) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + } + + /// + /// Initializes a new instance of the class. + /// + public ModelV2Response() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Variant.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Variant.g.cs new file mode 100644 index 00000000..244b53f5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelV2Variant.g.cs @@ -0,0 +1,142 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// Variant of the model this record serves, the suffix of `id` (`openai/gpt-4:free` is `free`). Every record other than `free` is paid, so `variant.not=free` lists paid models and `variant=batch` the batch variants
+ /// Example: standard + ///
+ public readonly partial struct ModelV2Variant : global::System.IEquatable + { + /// + /// + /// + public ModelV2Variant(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// free` is `free`). Every record other than `free` is paid, so `variant.not=free` lists paid models and `variant=batch` the batch variants + /// + public static ModelV2Variant Batch { get; } = new("batch"); + + /// + /// + /// + public static ModelV2Variant Extended { get; } = new("extended"); + + /// + /// free` is `free`). Every record other than `free` is paid, so `variant.not=free` lists paid models and `variant=batch` the batch variants + /// + public static ModelV2Variant Free { get; } = new("free"); + + /// + /// + /// + public static ModelV2Variant Standard { get; } = new("standard"); + + /// + /// + /// + public static ModelV2Variant Thinking { get; } = new("thinking"); + /// + /// + /// + public static ModelV2Variant FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "batch" => Batch, + "extended" => Extended, + "free" => Free, + "standard" => Standard, + "thinking" => Thinking, + _ => new ModelV2Variant(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "batch" => true, + "extended" => true, + "free" => true, + "standard" => true, + "thinking" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ModelV2Variant other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ModelV2Variant other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ModelV2Variant left, ModelV2Variant right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ModelV2Variant left, ModelV2Variant right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ModelV2VariantExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ModelV2Variant value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ModelV2Variant? ToEnum(string value) + { + return ModelV2Variant.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.Json.g.cs new file mode 100644 index 00000000..45788d59 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelsV2ListResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelsV2ListResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelsV2ListResponse), + jsonSerializerContext) as global::OpenRouter.ModelsV2ListResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelsV2ListResponse? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelsV2ListResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelsV2ListResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelsV2ListResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.g.cs new file mode 100644 index 00000000..c0337a4e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponse.g.cs @@ -0,0 +1,72 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Example: {"data":[{"author":"openai","canonical_slug":"openai/gpt-4","context_length":8192,"created":1687882411,"description":"OpenAI flagship model.","endpoints":[{"created":1687882411,"data_policy":{"retains_prompts":false,"training":false},"id":"gpt-4","inputs":[{"params":{"max_length":{"unit":"token","value":8192}},"pricing":[{"cost_usd":"0.00003","type":"prompt","unit":"token"}],"type":"text"}],"name":"GPT-4","openrouter":{"slug":"openai/gpt-4"},"outputs":[{"max_length":{"unit":"token","value":4096},"params":{"max_tokens":{"type":"unknown"},"temperature":{"type":"unknown"},"tools":{"type":"unknown"}},"pricing":[{"cost_usd":"0.00006","type":"completion","unit":"token"}],"type":"text"}],"provider":{"name":"OpenAI","slug":"openai","tag":"openai"},"schema_version":"2.4"}],"id":"openai/gpt-4","inputs":["text"],"kind":"model","name":"GPT-4","outputs":["text"],"variant":"standard"}],"links":{"next":null},"total_count":1} + /// + public sealed partial class ModelsV2ListResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Data { get; set; } + + /// + /// Pagination links + /// + [global::System.Text.Json.Serialization.JsonPropertyName("links")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ModelsV2ListResponseLinks Links { get; set; } + + /// + /// Number of models that match the request filters, across all pages
+ /// Example: 150 + ///
+ /// 150 + [global::System.Text.Json.Serialization.JsonPropertyName("total_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TotalCount { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Pagination links + /// + /// + /// Number of models that match the request filters, across all pages
+ /// Example: 150 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelsV2ListResponse( + global::System.Collections.Generic.IList data, + global::OpenRouter.ModelsV2ListResponseLinks links, + int totalCount) + { + this.Data = data ?? throw new global::System.ArgumentNullException(nameof(data)); + this.Links = links ?? throw new global::System.ArgumentNullException(nameof(links)); + this.TotalCount = totalCount; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelsV2ListResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.Json.g.cs new file mode 100644 index 00000000..9c9eb4e5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ModelsV2ListResponseLinks + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ModelsV2ListResponseLinks? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ModelsV2ListResponseLinks), + jsonSerializerContext) as global::OpenRouter.ModelsV2ListResponseLinks; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ModelsV2ListResponseLinks? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ModelsV2ListResponseLinks? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ModelsV2ListResponseLinks), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ModelsV2ListResponseLinks; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.g.cs new file mode 100644 index 00000000..50be7082 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ModelsV2ListResponseLinks.g.cs @@ -0,0 +1,49 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Pagination links + /// + public sealed partial class ModelsV2ListResponseLinks + { + /// + /// URL of the next page, or null on the last page or when pagination was not requested
+ /// Example: /api/v2/models?limit=500&cursor=eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ + ///
+ /// /api/v2/models?limit=500&cursor=eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ + [global::System.Text.Json.Serialization.JsonPropertyName("next")] + public string? Next { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// URL of the next page, or null on the last page or when pagination was not requested
+ /// Example: /api/v2/models?limit=500&cursor=eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ModelsV2ListResponseLinks( + string? next) + { + this.Next = next; + } + + /// + /// Initializes a new instance of the class. + /// + public ModelsV2ListResponseLinks() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.Json.g.cs new file mode 100644 index 00000000..40f3c996 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct OutputCapacityEntryV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.OutputCapacityEntryV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputCapacityEntryV2), + jsonSerializerContext) as global::OpenRouter.OutputCapacityEntryV2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputCapacityEntryV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.OutputCapacityEntryV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.OutputCapacityEntryV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputCapacityEntryV2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.g.cs new file mode 100644 index 00000000..2e2e6485 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public readonly partial struct OutputCapacityEntryV2 : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.OutputCapacityEntryV2Variant1? OutputCapacityEntryV2Variant1 { get; init; } +#else + public global::OpenRouter.OutputCapacityEntryV2Variant1? OutputCapacityEntryV2Variant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(OutputCapacityEntryV2Variant1))] +#endif + public bool IsOutputCapacityEntryV2Variant1 => OutputCapacityEntryV2Variant1 != null; + + /// + /// + /// + public bool TryPickOutputCapacityEntryV2Variant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.OutputCapacityEntryV2Variant1? value) + { + value = OutputCapacityEntryV2Variant1; + return IsOutputCapacityEntryV2Variant1; + } + + /// + /// + /// + public global::OpenRouter.OutputCapacityEntryV2Variant1 PickOutputCapacityEntryV2Variant1() => OutputCapacityEntryV2Variant1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'OutputCapacityEntryV2Variant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.OutputCapacityEntryV2Variant2? OutputCapacityEntryV2Variant2 { get; init; } +#else + public global::OpenRouter.OutputCapacityEntryV2Variant2? OutputCapacityEntryV2Variant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(OutputCapacityEntryV2Variant2))] +#endif + public bool IsOutputCapacityEntryV2Variant2 => OutputCapacityEntryV2Variant2 != null; + + /// + /// + /// + public bool TryPickOutputCapacityEntryV2Variant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.OutputCapacityEntryV2Variant2? value) + { + value = OutputCapacityEntryV2Variant2; + return IsOutputCapacityEntryV2Variant2; + } + + /// + /// + /// + public global::OpenRouter.OutputCapacityEntryV2Variant2 PickOutputCapacityEntryV2Variant2() => OutputCapacityEntryV2Variant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'OutputCapacityEntryV2Variant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator OutputCapacityEntryV2(global::OpenRouter.OutputCapacityEntryV2Variant1 value) => new OutputCapacityEntryV2((global::OpenRouter.OutputCapacityEntryV2Variant1?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.OutputCapacityEntryV2Variant1?(OutputCapacityEntryV2 @this) => @this.OutputCapacityEntryV2Variant1; + + /// + /// + /// + public OutputCapacityEntryV2(global::OpenRouter.OutputCapacityEntryV2Variant1? value) + { + OutputCapacityEntryV2Variant1 = value; + } + + /// + /// + /// + public static OutputCapacityEntryV2 FromOutputCapacityEntryV2Variant1(global::OpenRouter.OutputCapacityEntryV2Variant1? value) => new OutputCapacityEntryV2(value); + + /// + /// + /// + public static implicit operator OutputCapacityEntryV2(global::OpenRouter.OutputCapacityEntryV2Variant2 value) => new OutputCapacityEntryV2((global::OpenRouter.OutputCapacityEntryV2Variant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.OutputCapacityEntryV2Variant2?(OutputCapacityEntryV2 @this) => @this.OutputCapacityEntryV2Variant2; + + /// + /// + /// + public OutputCapacityEntryV2(global::OpenRouter.OutputCapacityEntryV2Variant2? value) + { + OutputCapacityEntryV2Variant2 = value; + } + + /// + /// + /// + public static OutputCapacityEntryV2 FromOutputCapacityEntryV2Variant2(global::OpenRouter.OutputCapacityEntryV2Variant2? value) => new OutputCapacityEntryV2(value); + + /// + /// + /// + public OutputCapacityEntryV2( + global::OpenRouter.OutputCapacityEntryV2Variant1? outputCapacityEntryV2Variant1, + global::OpenRouter.OutputCapacityEntryV2Variant2? outputCapacityEntryV2Variant2 + ) + { + OutputCapacityEntryV2Variant1 = outputCapacityEntryV2Variant1; + OutputCapacityEntryV2Variant2 = outputCapacityEntryV2Variant2; + } + + /// + /// + /// + public object? Object => + OutputCapacityEntryV2Variant2 as object ?? + OutputCapacityEntryV2Variant1 as object + ; + + /// + /// + /// + public override string? ToString() => + OutputCapacityEntryV2Variant1?.ToString() ?? + OutputCapacityEntryV2Variant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsOutputCapacityEntryV2Variant1 || IsOutputCapacityEntryV2Variant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? outputCapacityEntryV2Variant1 = null, + global::System.Func? outputCapacityEntryV2Variant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (OutputCapacityEntryV2Variant1 is { } __value0 && outputCapacityEntryV2Variant1 != null) + { + return outputCapacityEntryV2Variant1(__value0); + } + else if (OutputCapacityEntryV2Variant2 is { } __value1 && outputCapacityEntryV2Variant2 != null) + { + return outputCapacityEntryV2Variant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? outputCapacityEntryV2Variant1 = null, + + global::System.Action? outputCapacityEntryV2Variant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (OutputCapacityEntryV2Variant1 is { } __value0) + { + outputCapacityEntryV2Variant1?.Invoke(__value0); + } + else if (OutputCapacityEntryV2Variant2 is { } __value1) + { + outputCapacityEntryV2Variant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? outputCapacityEntryV2Variant1 = null, + global::System.Action? outputCapacityEntryV2Variant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (OutputCapacityEntryV2Variant1 is { } __value0) + { + outputCapacityEntryV2Variant1?.Invoke(__value0); + } + else if (OutputCapacityEntryV2Variant2 is { } __value1) + { + outputCapacityEntryV2Variant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + OutputCapacityEntryV2Variant1, + typeof(global::OpenRouter.OutputCapacityEntryV2Variant1), + OutputCapacityEntryV2Variant2, + typeof(global::OpenRouter.OutputCapacityEntryV2Variant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(OutputCapacityEntryV2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(OutputCapacityEntryV2Variant1, other.OutputCapacityEntryV2Variant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(OutputCapacityEntryV2Variant2, other.OutputCapacityEntryV2Variant2) + ; + } + + /// + /// + /// + public static bool operator ==(OutputCapacityEntryV2 obj1, OutputCapacityEntryV2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(OutputCapacityEntryV2 obj1, OutputCapacityEntryV2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is OutputCapacityEntryV2 o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.Json.g.cs new file mode 100644 index 00000000..ef4c1484 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputCapacityEntryV2Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.OutputCapacityEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputCapacityEntryV2Variant1), + jsonSerializerContext) as global::OpenRouter.OutputCapacityEntryV2Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputCapacityEntryV2Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.OutputCapacityEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.OutputCapacityEntryV2Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputCapacityEntryV2Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.g.cs new file mode 100644 index 00000000..51b2c10f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1.g.cs @@ -0,0 +1,80 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class OutputCapacityEntryV2Variant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("per")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1PerJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.OutputCapacityEntryV2Variant1Per Per { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant1TypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.OutputCapacityEntryV2Variant1Type Type { get; set; } + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputPricingUnitV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.OutputPricingUnitV2 Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OutputCapacityEntryV2Variant1( + global::OpenRouter.OutputCapacityEntryV2Variant1Per per, + global::OpenRouter.OutputCapacityEntryV2Variant1Type type, + global::OpenRouter.OutputPricingUnitV2 unit, + int value) + { + this.Per = per; + this.Type = type; + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public OutputCapacityEntryV2Variant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequestProviderDataCollection.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1Per.g.cs similarity index 54% rename from src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequestProviderDataCollection.g.cs rename to src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1Per.g.cs index 674f9659..798d6885 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequestProviderDataCollection.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1Per.g.cs @@ -5,17 +5,14 @@ namespace OpenRouter { /// - /// Data collection setting. If no available model provider meets the requirement, your request will return an error.
- /// - allow: (default) allow providers which store user data non-transiently and may train on it
- /// - deny: use only providers which do not collect user data.
- /// Example: allow + /// ///
- public readonly partial struct STTRequestProviderDataCollection : global::System.IEquatable + public readonly partial struct OutputCapacityEntryV2Variant1Per : global::System.IEquatable { /// /// /// - public STTRequestProviderDataCollection(string value) + public OutputCapacityEntryV2Variant1Per(string value) { Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); } @@ -25,26 +22,32 @@ public STTRequestProviderDataCollection(string value) ///
public string Value { get; } /// - /// (default) allow providers which store user data non-transiently and may train on it + /// + /// + public static OutputCapacityEntryV2Variant1Per Day { get; } = new("day"); + + /// + /// /// - public static STTRequestProviderDataCollection Allow { get; } = new("allow"); + public static OutputCapacityEntryV2Variant1Per Hour { get; } = new("hour"); /// - /// use only providers which do not collect user data. + /// /// - public static STTRequestProviderDataCollection Deny { get; } = new("deny"); + public static OutputCapacityEntryV2Variant1Per Minute { get; } = new("minute"); /// /// /// - public static STTRequestProviderDataCollection FromValue(string value) + public static OutputCapacityEntryV2Variant1Per FromValue(string value) { value = value ?? throw new global::System.ArgumentNullException(nameof(value)); return value switch { - "allow" => Allow, - "deny" => Deny, - _ => new STTRequestProviderDataCollection(value), + "day" => Day, + "hour" => Hour, + "minute" => Minute, + _ => new OutputCapacityEntryV2Variant1Per(value), }; } @@ -53,8 +56,9 @@ public static STTRequestProviderDataCollection FromValue(string value) /// public bool IsKnown => Value switch { - "allow" => true, - "deny" => true, + "day" => true, + "hour" => true, + "minute" => true, _ => false, }; @@ -66,7 +70,7 @@ public static STTRequestProviderDataCollection FromValue(string value) /// /// /// - public bool Equals(STTRequestProviderDataCollection other) + public bool Equals(OutputCapacityEntryV2Variant1Per other) { return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); } @@ -76,7 +80,7 @@ public bool Equals(STTRequestProviderDataCollection other) /// public override bool Equals(object? obj) { - return obj is STTRequestProviderDataCollection other && Equals(other); + return obj is OutputCapacityEntryV2Variant1Per other && Equals(other); } /// @@ -90,24 +94,24 @@ public override int GetHashCode() /// /// /// - public static bool operator ==(STTRequestProviderDataCollection left, STTRequestProviderDataCollection right) => left.Equals(right); + public static bool operator ==(OutputCapacityEntryV2Variant1Per left, OutputCapacityEntryV2Variant1Per right) => left.Equals(right); /// /// /// - public static bool operator !=(STTRequestProviderDataCollection left, STTRequestProviderDataCollection right) => !left.Equals(right); + public static bool operator !=(OutputCapacityEntryV2Variant1Per left, OutputCapacityEntryV2Variant1Per right) => !left.Equals(right); } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class STTRequestProviderDataCollectionExtensions + public static class OutputCapacityEntryV2Variant1PerExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this STTRequestProviderDataCollection value) + public static string ToValueString(this OutputCapacityEntryV2Variant1Per value) { return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); } @@ -115,9 +119,9 @@ public static string ToValueString(this STTRequestProviderDataCollection value) /// /// Converts an string to a enum. /// - public static STTRequestProviderDataCollection? ToEnum(string value) + public static OutputCapacityEntryV2Variant1Per? ToEnum(string value) { - return STTRequestProviderDataCollection.FromValue(value); + return OutputCapacityEntryV2Variant1Per.FromValue(value); } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..f696350c --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant1Type.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct OutputCapacityEntryV2Variant1Type : global::System.IEquatable + { + /// + /// + /// + public OutputCapacityEntryV2Variant1Type(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static OutputCapacityEntryV2Variant1Type Completion { get; } = new("completion"); + + /// + /// + /// + public static OutputCapacityEntryV2Variant1Type InternalReasoning { get; } = new("internal_reasoning"); + /// + /// + /// + public static OutputCapacityEntryV2Variant1Type FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "completion" => Completion, + "internal_reasoning" => InternalReasoning, + _ => new OutputCapacityEntryV2Variant1Type(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "completion" => true, + "internal_reasoning" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(OutputCapacityEntryV2Variant1Type other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is OutputCapacityEntryV2Variant1Type other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(OutputCapacityEntryV2Variant1Type left, OutputCapacityEntryV2Variant1Type right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(OutputCapacityEntryV2Variant1Type left, OutputCapacityEntryV2Variant1Type right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OutputCapacityEntryV2Variant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OutputCapacityEntryV2Variant1Type value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static OutputCapacityEntryV2Variant1Type? ToEnum(string value) + { + return OutputCapacityEntryV2Variant1Type.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.Json.g.cs new file mode 100644 index 00000000..f41a7fdc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputCapacityEntryV2Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.OutputCapacityEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputCapacityEntryV2Variant2), + jsonSerializerContext) as global::OpenRouter.OutputCapacityEntryV2Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputCapacityEntryV2Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.OutputCapacityEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.OutputCapacityEntryV2Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputCapacityEntryV2Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.g.cs new file mode 100644 index 00000000..cdb0cfe6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class OutputCapacityEntryV2Variant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputCapacityEntryV2Variant2TypeJsonConverter))] + public global::OpenRouter.OutputCapacityEntryV2Variant2Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestUnitV2JsonConverter))] + public global::OpenRouter.RequestUnitV2 Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OutputCapacityEntryV2Variant2( + int value, + global::OpenRouter.OutputCapacityEntryV2Variant2Type type, + global::OpenRouter.RequestUnitV2 unit) + { + this.Type = type; + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public OutputCapacityEntryV2Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..0e33610a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputCapacityEntryV2Variant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum OutputCapacityEntryV2Variant2Type + { + /// + /// + /// + Concurrency, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OutputCapacityEntryV2Variant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OutputCapacityEntryV2Variant2Type value) + { + return value switch + { + OutputCapacityEntryV2Variant2Type.Concurrency => "concurrency", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OutputCapacityEntryV2Variant2Type? ToEnum(string value) + { + return value switch + { + "concurrency" => OutputCapacityEntryV2Variant2Type.Concurrency, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.Json.g.cs new file mode 100644 index 00000000..84eba043 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class OutputPricingEntryV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.OutputPricingEntryV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.OutputPricingEntryV2), + jsonSerializerContext) as global::OpenRouter.OutputPricingEntryV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.OutputPricingEntryV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.OutputPricingEntryV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.OutputPricingEntryV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.OutputPricingEntryV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.g.cs new file mode 100644 index 00000000..b78eac82 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2.g.cs @@ -0,0 +1,113 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class OutputPricingEntryV2 + { + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cost_usd")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CostUsd { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overrides")] + public global::System.Collections.Generic.IList? Overrides { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputPricingEntryV2TypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.OutputPricingEntryV2Type Type { get; set; } + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OutputPricingUnitV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.OutputPricingUnitV2 Unit { get; set; } + + /// + /// UTC weekdays the entry applies on; absent means every day + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_days")] + public global::System.Collections.Generic.IList? UtcDays { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_end")] + public int? UtcEnd { get; set; } + + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("utc_start")] + public int? UtcStart { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + /// + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + /// + /// + /// UTC weekdays the entry applies on; absent means every day + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// + /// + /// HHMM UTC clock time; the minute component must be 00-59 + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public OutputPricingEntryV2( + string costUsd, + global::OpenRouter.OutputPricingEntryV2Type type, + global::OpenRouter.OutputPricingUnitV2 unit, + global::System.Collections.Generic.IList? overrides, + global::System.Collections.Generic.IList? utcDays, + int? utcEnd, + int? utcStart) + { + this.CostUsd = costUsd ?? throw new global::System.ArgumentNullException(nameof(costUsd)); + this.Overrides = overrides; + this.Type = type; + this.Unit = unit; + this.UtcDays = utcDays; + this.UtcEnd = utcEnd; + this.UtcStart = utcStart; + } + + /// + /// Initializes a new instance of the class. + /// + public OutputPricingEntryV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2Type.g.cs new file mode 100644 index 00000000..d77e7568 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingEntryV2Type.g.cs @@ -0,0 +1,120 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct OutputPricingEntryV2Type : global::System.IEquatable + { + /// + /// + /// + public OutputPricingEntryV2Type(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static OutputPricingEntryV2Type Completion { get; } = new("completion"); + + /// + /// + /// + public static OutputPricingEntryV2Type InternalReasoning { get; } = new("internal_reasoning"); + /// + /// + /// + public static OutputPricingEntryV2Type FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "completion" => Completion, + "internal_reasoning" => InternalReasoning, + _ => new OutputPricingEntryV2Type(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "completion" => true, + "internal_reasoning" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(OutputPricingEntryV2Type other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is OutputPricingEntryV2Type other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(OutputPricingEntryV2Type left, OutputPricingEntryV2Type right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(OutputPricingEntryV2Type left, OutputPricingEntryV2Type right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OutputPricingEntryV2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OutputPricingEntryV2Type value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static OutputPricingEntryV2Type? ToEnum(string value) + { + return OutputPricingEntryV2Type.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingUnitV2.g.cs new file mode 100644 index 00000000..6ebd5666 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.OutputPricingUnitV2.g.cs @@ -0,0 +1,148 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// `megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + public readonly partial struct OutputPricingUnitV2 : global::System.IEquatable + { + /// + /// + /// + public OutputPricingUnitV2(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static OutputPricingUnitV2 Character { get; } = new("character"); + + /// + /// + /// + public static OutputPricingUnitV2 Image { get; } = new("image"); + + /// + /// `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated. + /// + public static OutputPricingUnitV2 Megapixel { get; } = new("megapixel"); + + /// + /// + /// + public static OutputPricingUnitV2 Request { get; } = new("request"); + + /// + /// + /// + public static OutputPricingUnitV2 Second { get; } = new("second"); + + /// + /// + /// + public static OutputPricingUnitV2 Token { get; } = new("token"); + /// + /// + /// + public static OutputPricingUnitV2 FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "character" => Character, + "image" => Image, + "megapixel" => Megapixel, + "request" => Request, + "second" => Second, + "token" => Token, + _ => new OutputPricingUnitV2(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "character" => true, + "image" => true, + "megapixel" => true, + "request" => true, + "second" => true, + "token" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(OutputPricingUnitV2 other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is OutputPricingUnitV2 other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(OutputPricingUnitV2 left, OutputPricingUnitV2 right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(OutputPricingUnitV2 left, OutputPricingUnitV2 right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OutputPricingUnitV2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OutputPricingUnitV2 value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static OutputPricingUnitV2? ToEnum(string value) + { + return OutputPricingUnitV2.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.Json.g.cs new file mode 100644 index 00000000..dead3403 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ParameterDescriptorV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ParameterDescriptorV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ParameterDescriptorV2), + jsonSerializerContext) as global::OpenRouter.ParameterDescriptorV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ParameterDescriptorV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ParameterDescriptorV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ParameterDescriptorV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ParameterDescriptorV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.g.cs new file mode 100644 index 00000000..0844e074 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2.g.cs @@ -0,0 +1,122 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Descriptor for one request parameter: `type` plus the optional `min`, `max`, `default`, `values`, `unit`, `max_items`, `properties` and `items` constraints. Recursive through `properties` and `items`; the full JSON Schema is in the Models API V2 schema asset. + /// + public sealed partial class ParameterDescriptorV2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter))] + public global::OpenRouter.OneOf? Default { get; set; } + + /// + /// Descriptor for one request parameter: `type` plus the optional `min`, `max`, `default`, `values`, `unit`, `max_items`, `properties` and `items` constraints. Recursive through `properties` and `items`; the full JSON Schema is in the Models API V2 schema asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("items")] + public global::OpenRouter.ParameterDescriptorV2? Items { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max")] + public double? Max { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_items")] + public int? MaxItems { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min")] + public double? Min { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("properties")] + public global::System.Collections.Generic.Dictionary? Properties { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.ParameterDescriptorV2TypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.ParameterDescriptorV2Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.DescriptorUnitV2JsonConverter))] + public global::OpenRouter.DescriptorUnitV2? Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("values")] + public global::System.Collections.Generic.IList>? Values { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// Descriptor for one request parameter: `type` plus the optional `min`, `max`, `default`, `values`, `unit`, `max_items`, `properties` and `items` constraints. Recursive through `properties` and `items`; the full JSON Schema is in the Models API V2 schema asset. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ParameterDescriptorV2( + global::OpenRouter.ParameterDescriptorV2Type type, + global::OpenRouter.OneOf? @default, + global::OpenRouter.ParameterDescriptorV2? items, + double? max, + int? maxItems, + double? min, + global::System.Collections.Generic.Dictionary? properties, + global::OpenRouter.DescriptorUnitV2? unit, + global::System.Collections.Generic.IList>? values) + { + this.Default = @default; + this.Items = items; + this.Max = max; + this.MaxItems = maxItems; + this.Min = min; + this.Properties = properties; + this.Type = type; + this.Unit = unit; + this.Values = values; + } + + /// + /// Initializes a new instance of the class. + /// + public ParameterDescriptorV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.Json.g.cs new file mode 100644 index 00000000..a8cacf9d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class ParameterDescriptorV2Properties + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.ParameterDescriptorV2Properties? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.ParameterDescriptorV2Properties), + jsonSerializerContext) as global::OpenRouter.ParameterDescriptorV2Properties; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.ParameterDescriptorV2Properties? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.ParameterDescriptorV2Properties? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.ParameterDescriptorV2Properties), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.ParameterDescriptorV2Properties; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.g.cs new file mode 100644 index 00000000..cd648c4a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Properties.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class ParameterDescriptorV2Properties + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Type.g.cs new file mode 100644 index 00000000..1fb05766 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.ParameterDescriptorV2Type.g.cs @@ -0,0 +1,155 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct ParameterDescriptorV2Type : global::System.IEquatable + { + /// + /// + /// + public ParameterDescriptorV2Type(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static ParameterDescriptorV2Type Array { get; } = new("array"); + + /// + /// + /// + public static ParameterDescriptorV2Type Boolean { get; } = new("boolean"); + + /// + /// + /// + public static ParameterDescriptorV2Type Enum { get; } = new("enum"); + + /// + /// + /// + public static ParameterDescriptorV2Type Integer { get; } = new("integer"); + + /// + /// + /// + public static ParameterDescriptorV2Type Object { get; } = new("object"); + + /// + /// + /// + public static ParameterDescriptorV2Type Range { get; } = new("range"); + + /// + /// + /// + public static ParameterDescriptorV2Type Unknown { get; } = new("unknown"); + /// + /// + /// + public static ParameterDescriptorV2Type FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "array" => Array, + "boolean" => Boolean, + "enum" => Enum, + "integer" => Integer, + "object" => Object, + "range" => Range, + "unknown" => Unknown, + _ => new ParameterDescriptorV2Type(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "array" => true, + "boolean" => true, + "enum" => true, + "integer" => true, + "object" => true, + "range" => true, + "unknown" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(ParameterDescriptorV2Type other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is ParameterDescriptorV2Type other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(ParameterDescriptorV2Type left, ParameterDescriptorV2Type right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(ParameterDescriptorV2Type left, ParameterDescriptorV2Type right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ParameterDescriptorV2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ParameterDescriptorV2Type value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static ParameterDescriptorV2Type? ToEnum(string value) + { + return ParameterDescriptorV2Type.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.Json.g.cs new file mode 100644 index 00000000..d4faf0a7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingOverrideV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingOverrideV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingOverrideV2), + jsonSerializerContext) as global::OpenRouter.PricingOverrideV2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingOverrideV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingOverrideV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingOverrideV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingOverrideV2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.g.cs new file mode 100644 index 00000000..0a5d3221 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingOverrideV2.g.cs @@ -0,0 +1,60 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingOverrideV2 + { + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cost_usd")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CostUsd { get; set; } + + /// + /// Either a parameter predicate (a map of request parameter name to pricing condition) or a composition predicate (`allOf`, `anyOf`, `not`). Recursive; the full JSON Schema is in the Models API V2 schema asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("when")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.PricingPredicateV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PricingPredicateV2 When { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + /// + /// Either a parameter predicate (a map of request parameter name to pricing condition) or a composition predicate (`allOf`, `anyOf`, `not`). Recursive; the full JSON Schema is in the Models API V2 schema asset. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingOverrideV2( + string costUsd, + global::OpenRouter.PricingPredicateV2 when) + { + this.CostUsd = costUsd ?? throw new global::System.ArgumentNullException(nameof(costUsd)); + this.When = when; + } + + /// + /// Initializes a new instance of the class. + /// + public PricingOverrideV2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.Json.g.cs new file mode 100644 index 00000000..e369c5ac --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct PricingPredicateV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.g.cs new file mode 100644 index 00000000..0ab1b76f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2.g.cs @@ -0,0 +1,438 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// Either a parameter predicate (a map of request parameter name to pricing condition) or a composition predicate (`allOf`, `anyOf`, `not`). Recursive; the full JSON Schema is in the Models API V2 schema asset. + /// + public readonly partial struct PricingPredicateV2 : global::System.IEquatable + { + /// + /// Parameter predicate: request parameter name to pricing condition + /// +#if NET6_0_OR_GREATER + public object? PricingPredicateV2Variant1 { get; init; } +#else + public object? PricingPredicateV2Variant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PricingPredicateV2Variant1))] +#endif + public bool IsPricingPredicateV2Variant1 => PricingPredicateV2Variant1 != null; + + /// + /// + /// + public bool TryPickPricingPredicateV2Variant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out object? value) + { + value = PricingPredicateV2Variant1; + return IsPricingPredicateV2Variant1; + } + + /// + /// + /// + public object PickPricingPredicateV2Variant1() => PricingPredicateV2Variant1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PricingPredicateV2Variant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.PricingPredicateV2Variant2? PricingPredicateV2Variant2 { get; init; } +#else + public global::OpenRouter.PricingPredicateV2Variant2? PricingPredicateV2Variant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PricingPredicateV2Variant2))] +#endif + public bool IsPricingPredicateV2Variant2 => PricingPredicateV2Variant2 != null; + + /// + /// + /// + public bool TryPickPricingPredicateV2Variant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.PricingPredicateV2Variant2? value) + { + value = PricingPredicateV2Variant2; + return IsPricingPredicateV2Variant2; + } + + /// + /// + /// + public global::OpenRouter.PricingPredicateV2Variant2 PickPricingPredicateV2Variant2() => PricingPredicateV2Variant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PricingPredicateV2Variant2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.PricingPredicateV2Variant3? PricingPredicateV2Variant3 { get; init; } +#else + public global::OpenRouter.PricingPredicateV2Variant3? PricingPredicateV2Variant3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PricingPredicateV2Variant3))] +#endif + public bool IsPricingPredicateV2Variant3 => PricingPredicateV2Variant3 != null; + + /// + /// + /// + public bool TryPickPricingPredicateV2Variant3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.PricingPredicateV2Variant3? value) + { + value = PricingPredicateV2Variant3; + return IsPricingPredicateV2Variant3; + } + + /// + /// + /// + public global::OpenRouter.PricingPredicateV2Variant3 PickPricingPredicateV2Variant3() => PricingPredicateV2Variant3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PricingPredicateV2Variant3' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.PricingPredicateV2Variant4? PricingPredicateV2Variant4 { get; init; } +#else + public global::OpenRouter.PricingPredicateV2Variant4? PricingPredicateV2Variant4 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(PricingPredicateV2Variant4))] +#endif + public bool IsPricingPredicateV2Variant4 => PricingPredicateV2Variant4 != null; + + /// + /// + /// + public bool TryPickPricingPredicateV2Variant4( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.PricingPredicateV2Variant4? value) + { + value = PricingPredicateV2Variant4; + return IsPricingPredicateV2Variant4; + } + + /// + /// + /// + public global::OpenRouter.PricingPredicateV2Variant4 PickPricingPredicateV2Variant4() => PricingPredicateV2Variant4 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'PricingPredicateV2Variant4' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator PricingPredicateV2(global::OpenRouter.PricingPredicateV2Variant2 value) => new PricingPredicateV2((global::OpenRouter.PricingPredicateV2Variant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.PricingPredicateV2Variant2?(PricingPredicateV2 @this) => @this.PricingPredicateV2Variant2; + + /// + /// + /// + public PricingPredicateV2(global::OpenRouter.PricingPredicateV2Variant2? value) + { + PricingPredicateV2Variant2 = value; + } + + /// + /// + /// + public static PricingPredicateV2 FromPricingPredicateV2Variant2(global::OpenRouter.PricingPredicateV2Variant2? value) => new PricingPredicateV2(value); + + /// + /// + /// + public static implicit operator PricingPredicateV2(global::OpenRouter.PricingPredicateV2Variant3 value) => new PricingPredicateV2((global::OpenRouter.PricingPredicateV2Variant3?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.PricingPredicateV2Variant3?(PricingPredicateV2 @this) => @this.PricingPredicateV2Variant3; + + /// + /// + /// + public PricingPredicateV2(global::OpenRouter.PricingPredicateV2Variant3? value) + { + PricingPredicateV2Variant3 = value; + } + + /// + /// + /// + public static PricingPredicateV2 FromPricingPredicateV2Variant3(global::OpenRouter.PricingPredicateV2Variant3? value) => new PricingPredicateV2(value); + + /// + /// + /// + public static implicit operator PricingPredicateV2(global::OpenRouter.PricingPredicateV2Variant4 value) => new PricingPredicateV2((global::OpenRouter.PricingPredicateV2Variant4?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.PricingPredicateV2Variant4?(PricingPredicateV2 @this) => @this.PricingPredicateV2Variant4; + + /// + /// + /// + public PricingPredicateV2(global::OpenRouter.PricingPredicateV2Variant4? value) + { + PricingPredicateV2Variant4 = value; + } + + /// + /// + /// + public static PricingPredicateV2 FromPricingPredicateV2Variant4(global::OpenRouter.PricingPredicateV2Variant4? value) => new PricingPredicateV2(value); + + /// + /// + /// + public PricingPredicateV2( + object? pricingPredicateV2Variant1, + global::OpenRouter.PricingPredicateV2Variant2? pricingPredicateV2Variant2, + global::OpenRouter.PricingPredicateV2Variant3? pricingPredicateV2Variant3, + global::OpenRouter.PricingPredicateV2Variant4? pricingPredicateV2Variant4 + ) + { + PricingPredicateV2Variant1 = pricingPredicateV2Variant1; + PricingPredicateV2Variant2 = pricingPredicateV2Variant2; + PricingPredicateV2Variant3 = pricingPredicateV2Variant3; + PricingPredicateV2Variant4 = pricingPredicateV2Variant4; + } + + /// + /// + /// + public object? Object => + PricingPredicateV2Variant4 as object ?? + PricingPredicateV2Variant3 as object ?? + PricingPredicateV2Variant2 as object ?? + PricingPredicateV2Variant1 as object + ; + + /// + /// + /// + public override string? ToString() => + PricingPredicateV2Variant1?.ToString() ?? + PricingPredicateV2Variant2?.ToString() ?? + PricingPredicateV2Variant3?.ToString() ?? + PricingPredicateV2Variant4?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsPricingPredicateV2Variant1 && !IsPricingPredicateV2Variant2 && !IsPricingPredicateV2Variant3 && !IsPricingPredicateV2Variant4 || !IsPricingPredicateV2Variant1 && IsPricingPredicateV2Variant2 && !IsPricingPredicateV2Variant3 && !IsPricingPredicateV2Variant4 || !IsPricingPredicateV2Variant1 && !IsPricingPredicateV2Variant2 && IsPricingPredicateV2Variant3 && !IsPricingPredicateV2Variant4 || !IsPricingPredicateV2Variant1 && !IsPricingPredicateV2Variant2 && !IsPricingPredicateV2Variant3 && IsPricingPredicateV2Variant4; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? pricingPredicateV2Variant1 = null, + global::System.Func? pricingPredicateV2Variant2 = null, + global::System.Func? pricingPredicateV2Variant3 = null, + global::System.Func? pricingPredicateV2Variant4 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (PricingPredicateV2Variant1 is { } __value0 && pricingPredicateV2Variant1 != null) + { + return pricingPredicateV2Variant1(__value0); + } + else if (PricingPredicateV2Variant2 is { } __value1 && pricingPredicateV2Variant2 != null) + { + return pricingPredicateV2Variant2(__value1); + } + else if (PricingPredicateV2Variant3 is { } __value2 && pricingPredicateV2Variant3 != null) + { + return pricingPredicateV2Variant3(__value2); + } + else if (PricingPredicateV2Variant4 is { } __value3 && pricingPredicateV2Variant4 != null) + { + return pricingPredicateV2Variant4(__value3); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? pricingPredicateV2Variant1 = null, + + global::System.Action? pricingPredicateV2Variant2 = null, + + global::System.Action? pricingPredicateV2Variant3 = null, + + global::System.Action? pricingPredicateV2Variant4 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (PricingPredicateV2Variant1 is { } __value0) + { + pricingPredicateV2Variant1?.Invoke(__value0); + } + else if (PricingPredicateV2Variant2 is { } __value1) + { + pricingPredicateV2Variant2?.Invoke(__value1); + } + else if (PricingPredicateV2Variant3 is { } __value2) + { + pricingPredicateV2Variant3?.Invoke(__value2); + } + else if (PricingPredicateV2Variant4 is { } __value3) + { + pricingPredicateV2Variant4?.Invoke(__value3); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? pricingPredicateV2Variant1 = null, + global::System.Action? pricingPredicateV2Variant2 = null, + global::System.Action? pricingPredicateV2Variant3 = null, + global::System.Action? pricingPredicateV2Variant4 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (PricingPredicateV2Variant1 is { } __value0) + { + pricingPredicateV2Variant1?.Invoke(__value0); + } + else if (PricingPredicateV2Variant2 is { } __value1) + { + pricingPredicateV2Variant2?.Invoke(__value1); + } + else if (PricingPredicateV2Variant3 is { } __value2) + { + pricingPredicateV2Variant3?.Invoke(__value2); + } + else if (PricingPredicateV2Variant4 is { } __value3) + { + pricingPredicateV2Variant4?.Invoke(__value3); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + PricingPredicateV2Variant1, + typeof(object), + PricingPredicateV2Variant2, + typeof(global::OpenRouter.PricingPredicateV2Variant2), + PricingPredicateV2Variant3, + typeof(global::OpenRouter.PricingPredicateV2Variant3), + PricingPredicateV2Variant4, + typeof(global::OpenRouter.PricingPredicateV2Variant4), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(PricingPredicateV2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(PricingPredicateV2Variant1, other.PricingPredicateV2Variant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PricingPredicateV2Variant2, other.PricingPredicateV2Variant2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PricingPredicateV2Variant3, other.PricingPredicateV2Variant3) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(PricingPredicateV2Variant4, other.PricingPredicateV2Variant4) + ; + } + + /// + /// + /// + public static bool operator ==(PricingPredicateV2 obj1, PricingPredicateV2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(PricingPredicateV2 obj1, PricingPredicateV2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is PricingPredicateV2 o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.Json.g.cs new file mode 100644 index 00000000..69752dcb --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant1), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.g.cs new file mode 100644 index 00000000..415e2d13 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// Parameter predicate: request parameter name to pricing condition + /// + public sealed partial class PricingPredicateV2Variant1 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.Json.g.cs new file mode 100644 index 00000000..5e2098f6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant1Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant1), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant1Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant1Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant1Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.g.cs new file mode 100644 index 00000000..dd5cdcef --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant1.g.cs @@ -0,0 +1,46 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingPredicateV2Variant1Variant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("equals")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.OneOfJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.OneOf EqualsValue { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingPredicateV2Variant1Variant1( + global::OpenRouter.OneOf equalsValue) + { + this.EqualsValue = equalsValue; + } + + /// + /// Initializes a new instance of the class. + /// + public PricingPredicateV2Variant1Variant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.Json.g.cs new file mode 100644 index 00000000..8e67d7e7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant1Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant2), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant1Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant1Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant1Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.g.cs new file mode 100644 index 00000000..1c5a6c83 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingPredicateV2Variant1Variant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("gte")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Gte { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingPredicateV2Variant1Variant2( + double gte) + { + this.Gte = gte; + } + + /// + /// Initializes a new instance of the class. + /// + public PricingPredicateV2Variant1Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.Json.g.cs new file mode 100644 index 00000000..f07664b5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant1Variant3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant3), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant1Variant3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant1Variant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant1Variant3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.g.cs new file mode 100644 index 00000000..974a133a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant3.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingPredicateV2Variant1Variant3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lte")] + [global::System.Text.Json.Serialization.JsonRequired] + public required double Lte { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingPredicateV2Variant1Variant3( + double lte) + { + this.Lte = lte; + } + + /// + /// Initializes a new instance of the class. + /// + public PricingPredicateV2Variant1Variant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.Json.g.cs new file mode 100644 index 00000000..4a2c2c7b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant1Variant4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant4), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant1Variant4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant1Variant4? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant1Variant4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant1Variant4), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant1Variant4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.g.cs new file mode 100644 index 00000000..aeb78595 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant1Variant4.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingPredicateV2Variant1Variant4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("min_items")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int MinItems { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingPredicateV2Variant1Variant4( + int minItems) + { + this.MinItems = minItems; + } + + /// + /// Initializes a new instance of the class. + /// + public PricingPredicateV2Variant1Variant4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.Json.g.cs new file mode 100644 index 00000000..33bc78cd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant2), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.g.cs new file mode 100644 index 00000000..bea1aebd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingPredicateV2Variant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("allOf")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList AllOf { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingPredicateV2Variant2( + global::System.Collections.Generic.IList allOf) + { + this.AllOf = allOf ?? throw new global::System.ArgumentNullException(nameof(allOf)); + } + + /// + /// Initializes a new instance of the class. + /// + public PricingPredicateV2Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.Json.g.cs new file mode 100644 index 00000000..f85a8cb6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant3), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.g.cs new file mode 100644 index 00000000..3d80a7ee --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant3.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingPredicateV2Variant3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("anyOf")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList AnyOf { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingPredicateV2Variant3( + global::System.Collections.Generic.IList anyOf) + { + this.AnyOf = anyOf ?? throw new global::System.ArgumentNullException(nameof(anyOf)); + } + + /// + /// Initializes a new instance of the class. + /// + public PricingPredicateV2Variant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.Json.g.cs new file mode 100644 index 00000000..fedf182d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class PricingPredicateV2Variant4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.PricingPredicateV2Variant4), + jsonSerializerContext) as global::OpenRouter.PricingPredicateV2Variant4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.PricingPredicateV2Variant4? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.PricingPredicateV2Variant4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.PricingPredicateV2Variant4), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.PricingPredicateV2Variant4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.g.cs new file mode 100644 index 00000000..cf0fb0ed --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.PricingPredicateV2Variant4.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class PricingPredicateV2Variant4 + { + /// + /// Either a parameter predicate (a map of request parameter name to pricing condition) or a composition predicate (`allOf`, `anyOf`, `not`). Recursive; the full JSON Schema is in the Models API V2 schema asset. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("not")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.PricingPredicateV2JsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.PricingPredicateV2 Not { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Either a parameter predicate (a map of request parameter name to pricing condition) or a composition predicate (`allOf`, `anyOf`, `not`). Recursive; the full JSON Schema is in the Models API V2 schema asset. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PricingPredicateV2Variant4( + global::OpenRouter.PricingPredicateV2 not) + { + this.Not = not; + } + + /// + /// Initializes a new instance of the class. + /// + public PricingPredicateV2Variant4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.Json.g.cs new file mode 100644 index 00000000..6397ae61 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct RequestCapacityEntryV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.RequestCapacityEntryV2), + jsonSerializerContext) as global::OpenRouter.RequestCapacityEntryV2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.RequestCapacityEntryV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.RequestCapacityEntryV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.RequestCapacityEntryV2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.g.cs new file mode 100644 index 00000000..cea8be5a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2.g.cs @@ -0,0 +1,378 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public readonly partial struct RequestCapacityEntryV2 : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.RequestCapacityEntryV2Variant1? RequestCapacityEntryV2Variant1 { get; init; } +#else + public global::OpenRouter.RequestCapacityEntryV2Variant1? RequestCapacityEntryV2Variant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RequestCapacityEntryV2Variant1))] +#endif + public bool IsRequestCapacityEntryV2Variant1 => RequestCapacityEntryV2Variant1 != null; + + /// + /// + /// + public bool TryPickRequestCapacityEntryV2Variant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.RequestCapacityEntryV2Variant1? value) + { + value = RequestCapacityEntryV2Variant1; + return IsRequestCapacityEntryV2Variant1; + } + + /// + /// + /// + public global::OpenRouter.RequestCapacityEntryV2Variant1 PickRequestCapacityEntryV2Variant1() => RequestCapacityEntryV2Variant1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'RequestCapacityEntryV2Variant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.RequestCapacityEntryV2Variant2? RequestCapacityEntryV2Variant2 { get; init; } +#else + public global::OpenRouter.RequestCapacityEntryV2Variant2? RequestCapacityEntryV2Variant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RequestCapacityEntryV2Variant2))] +#endif + public bool IsRequestCapacityEntryV2Variant2 => RequestCapacityEntryV2Variant2 != null; + + /// + /// + /// + public bool TryPickRequestCapacityEntryV2Variant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.RequestCapacityEntryV2Variant2? value) + { + value = RequestCapacityEntryV2Variant2; + return IsRequestCapacityEntryV2Variant2; + } + + /// + /// + /// + public global::OpenRouter.RequestCapacityEntryV2Variant2 PickRequestCapacityEntryV2Variant2() => RequestCapacityEntryV2Variant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'RequestCapacityEntryV2Variant2' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.RequestCapacityEntryV2Variant3? RequestCapacityEntryV2Variant3 { get; init; } +#else + public global::OpenRouter.RequestCapacityEntryV2Variant3? RequestCapacityEntryV2Variant3 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RequestCapacityEntryV2Variant3))] +#endif + public bool IsRequestCapacityEntryV2Variant3 => RequestCapacityEntryV2Variant3 != null; + + /// + /// + /// + public bool TryPickRequestCapacityEntryV2Variant3( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.RequestCapacityEntryV2Variant3? value) + { + value = RequestCapacityEntryV2Variant3; + return IsRequestCapacityEntryV2Variant3; + } + + /// + /// + /// + public global::OpenRouter.RequestCapacityEntryV2Variant3 PickRequestCapacityEntryV2Variant3() => RequestCapacityEntryV2Variant3 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'RequestCapacityEntryV2Variant3' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator RequestCapacityEntryV2(global::OpenRouter.RequestCapacityEntryV2Variant1 value) => new RequestCapacityEntryV2((global::OpenRouter.RequestCapacityEntryV2Variant1?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.RequestCapacityEntryV2Variant1?(RequestCapacityEntryV2 @this) => @this.RequestCapacityEntryV2Variant1; + + /// + /// + /// + public RequestCapacityEntryV2(global::OpenRouter.RequestCapacityEntryV2Variant1? value) + { + RequestCapacityEntryV2Variant1 = value; + } + + /// + /// + /// + public static RequestCapacityEntryV2 FromRequestCapacityEntryV2Variant1(global::OpenRouter.RequestCapacityEntryV2Variant1? value) => new RequestCapacityEntryV2(value); + + /// + /// + /// + public static implicit operator RequestCapacityEntryV2(global::OpenRouter.RequestCapacityEntryV2Variant2 value) => new RequestCapacityEntryV2((global::OpenRouter.RequestCapacityEntryV2Variant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.RequestCapacityEntryV2Variant2?(RequestCapacityEntryV2 @this) => @this.RequestCapacityEntryV2Variant2; + + /// + /// + /// + public RequestCapacityEntryV2(global::OpenRouter.RequestCapacityEntryV2Variant2? value) + { + RequestCapacityEntryV2Variant2 = value; + } + + /// + /// + /// + public static RequestCapacityEntryV2 FromRequestCapacityEntryV2Variant2(global::OpenRouter.RequestCapacityEntryV2Variant2? value) => new RequestCapacityEntryV2(value); + + /// + /// + /// + public static implicit operator RequestCapacityEntryV2(global::OpenRouter.RequestCapacityEntryV2Variant3 value) => new RequestCapacityEntryV2((global::OpenRouter.RequestCapacityEntryV2Variant3?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.RequestCapacityEntryV2Variant3?(RequestCapacityEntryV2 @this) => @this.RequestCapacityEntryV2Variant3; + + /// + /// + /// + public RequestCapacityEntryV2(global::OpenRouter.RequestCapacityEntryV2Variant3? value) + { + RequestCapacityEntryV2Variant3 = value; + } + + /// + /// + /// + public static RequestCapacityEntryV2 FromRequestCapacityEntryV2Variant3(global::OpenRouter.RequestCapacityEntryV2Variant3? value) => new RequestCapacityEntryV2(value); + + /// + /// + /// + public RequestCapacityEntryV2( + global::OpenRouter.RequestCapacityEntryV2Variant1? requestCapacityEntryV2Variant1, + global::OpenRouter.RequestCapacityEntryV2Variant2? requestCapacityEntryV2Variant2, + global::OpenRouter.RequestCapacityEntryV2Variant3? requestCapacityEntryV2Variant3 + ) + { + RequestCapacityEntryV2Variant1 = requestCapacityEntryV2Variant1; + RequestCapacityEntryV2Variant2 = requestCapacityEntryV2Variant2; + RequestCapacityEntryV2Variant3 = requestCapacityEntryV2Variant3; + } + + /// + /// + /// + public object? Object => + RequestCapacityEntryV2Variant3 as object ?? + RequestCapacityEntryV2Variant2 as object ?? + RequestCapacityEntryV2Variant1 as object + ; + + /// + /// + /// + public override string? ToString() => + RequestCapacityEntryV2Variant1?.ToString() ?? + RequestCapacityEntryV2Variant2?.ToString() ?? + RequestCapacityEntryV2Variant3?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsRequestCapacityEntryV2Variant1 || IsRequestCapacityEntryV2Variant2 || IsRequestCapacityEntryV2Variant3; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? requestCapacityEntryV2Variant1 = null, + global::System.Func? requestCapacityEntryV2Variant2 = null, + global::System.Func? requestCapacityEntryV2Variant3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (RequestCapacityEntryV2Variant1 is { } __value0 && requestCapacityEntryV2Variant1 != null) + { + return requestCapacityEntryV2Variant1(__value0); + } + else if (RequestCapacityEntryV2Variant2 is { } __value1 && requestCapacityEntryV2Variant2 != null) + { + return requestCapacityEntryV2Variant2(__value1); + } + else if (RequestCapacityEntryV2Variant3 is { } __value2 && requestCapacityEntryV2Variant3 != null) + { + return requestCapacityEntryV2Variant3(__value2); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? requestCapacityEntryV2Variant1 = null, + + global::System.Action? requestCapacityEntryV2Variant2 = null, + + global::System.Action? requestCapacityEntryV2Variant3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (RequestCapacityEntryV2Variant1 is { } __value0) + { + requestCapacityEntryV2Variant1?.Invoke(__value0); + } + else if (RequestCapacityEntryV2Variant2 is { } __value1) + { + requestCapacityEntryV2Variant2?.Invoke(__value1); + } + else if (RequestCapacityEntryV2Variant3 is { } __value2) + { + requestCapacityEntryV2Variant3?.Invoke(__value2); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? requestCapacityEntryV2Variant1 = null, + global::System.Action? requestCapacityEntryV2Variant2 = null, + global::System.Action? requestCapacityEntryV2Variant3 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (RequestCapacityEntryV2Variant1 is { } __value0) + { + requestCapacityEntryV2Variant1?.Invoke(__value0); + } + else if (RequestCapacityEntryV2Variant2 is { } __value1) + { + requestCapacityEntryV2Variant2?.Invoke(__value1); + } + else if (RequestCapacityEntryV2Variant3 is { } __value2) + { + requestCapacityEntryV2Variant3?.Invoke(__value2); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + RequestCapacityEntryV2Variant1, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant1), + RequestCapacityEntryV2Variant2, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant2), + RequestCapacityEntryV2Variant3, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant3), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(RequestCapacityEntryV2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(RequestCapacityEntryV2Variant1, other.RequestCapacityEntryV2Variant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(RequestCapacityEntryV2Variant2, other.RequestCapacityEntryV2Variant2) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(RequestCapacityEntryV2Variant3, other.RequestCapacityEntryV2Variant3) + ; + } + + /// + /// + /// + public static bool operator ==(RequestCapacityEntryV2 obj1, RequestCapacityEntryV2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(RequestCapacityEntryV2 obj1, RequestCapacityEntryV2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is RequestCapacityEntryV2 o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.Json.g.cs new file mode 100644 index 00000000..4007e54a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class RequestCapacityEntryV2Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant1), + jsonSerializerContext) as global::OpenRouter.RequestCapacityEntryV2Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.RequestCapacityEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.RequestCapacityEntryV2Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.g.cs new file mode 100644 index 00000000..4d384e5e --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class RequestCapacityEntryV2Variant1 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("per")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1PerJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.RequestCapacityEntryV2Variant1Per Per { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant1TypeJsonConverter))] + public global::OpenRouter.RequestCapacityEntryV2Variant1Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestUnitV2JsonConverter))] + public global::OpenRouter.RequestUnitV2 Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RequestCapacityEntryV2Variant1( + global::OpenRouter.RequestCapacityEntryV2Variant1Per per, + int value, + global::OpenRouter.RequestCapacityEntryV2Variant1Type type, + global::OpenRouter.RequestUnitV2 unit) + { + this.Per = per; + this.Type = type; + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public RequestCapacityEntryV2Variant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Per.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Per.g.cs new file mode 100644 index 00000000..acfeaa03 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Per.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct RequestCapacityEntryV2Variant1Per : global::System.IEquatable + { + /// + /// + /// + public RequestCapacityEntryV2Variant1Per(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static RequestCapacityEntryV2Variant1Per Day { get; } = new("day"); + + /// + /// + /// + public static RequestCapacityEntryV2Variant1Per Hour { get; } = new("hour"); + + /// + /// + /// + public static RequestCapacityEntryV2Variant1Per Minute { get; } = new("minute"); + /// + /// + /// + public static RequestCapacityEntryV2Variant1Per FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "day" => Day, + "hour" => Hour, + "minute" => Minute, + _ => new RequestCapacityEntryV2Variant1Per(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "day" => true, + "hour" => true, + "minute" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(RequestCapacityEntryV2Variant1Per other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is RequestCapacityEntryV2Variant1Per other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(RequestCapacityEntryV2Variant1Per left, RequestCapacityEntryV2Variant1Per right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(RequestCapacityEntryV2Variant1Per left, RequestCapacityEntryV2Variant1Per right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestCapacityEntryV2Variant1PerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestCapacityEntryV2Variant1Per value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static RequestCapacityEntryV2Variant1Per? ToEnum(string value) + { + return RequestCapacityEntryV2Variant1Per.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..8f414e36 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant1Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum RequestCapacityEntryV2Variant1Type + { + /// + /// + /// + Request, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestCapacityEntryV2Variant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestCapacityEntryV2Variant1Type value) + { + return value switch + { + RequestCapacityEntryV2Variant1Type.Request => "request", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RequestCapacityEntryV2Variant1Type? ToEnum(string value) + { + return value switch + { + "request" => RequestCapacityEntryV2Variant1Type.Request, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.Json.g.cs new file mode 100644 index 00000000..cbdd82cd --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class RequestCapacityEntryV2Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant2), + jsonSerializerContext) as global::OpenRouter.RequestCapacityEntryV2Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.RequestCapacityEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.RequestCapacityEntryV2Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.g.cs new file mode 100644 index 00000000..8b30933d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class RequestCapacityEntryV2Variant2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("per")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2PerJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::OpenRouter.RequestCapacityEntryV2Variant2Per Per { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant2TypeJsonConverter))] + public global::OpenRouter.RequestCapacityEntryV2Variant2Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SearchUnitV2JsonConverter))] + public global::OpenRouter.SearchUnitV2 Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RequestCapacityEntryV2Variant2( + global::OpenRouter.RequestCapacityEntryV2Variant2Per per, + int value, + global::OpenRouter.RequestCapacityEntryV2Variant2Type type, + global::OpenRouter.SearchUnitV2 unit) + { + this.Per = per; + this.Type = type; + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public RequestCapacityEntryV2Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Per.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Per.g.cs new file mode 100644 index 00000000..62fbddab --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Per.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct RequestCapacityEntryV2Variant2Per : global::System.IEquatable + { + /// + /// + /// + public RequestCapacityEntryV2Variant2Per(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static RequestCapacityEntryV2Variant2Per Day { get; } = new("day"); + + /// + /// + /// + public static RequestCapacityEntryV2Variant2Per Hour { get; } = new("hour"); + + /// + /// + /// + public static RequestCapacityEntryV2Variant2Per Minute { get; } = new("minute"); + /// + /// + /// + public static RequestCapacityEntryV2Variant2Per FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "day" => Day, + "hour" => Hour, + "minute" => Minute, + _ => new RequestCapacityEntryV2Variant2Per(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "day" => true, + "hour" => true, + "minute" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(RequestCapacityEntryV2Variant2Per other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is RequestCapacityEntryV2Variant2Per other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(RequestCapacityEntryV2Variant2Per left, RequestCapacityEntryV2Variant2Per right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(RequestCapacityEntryV2Variant2Per left, RequestCapacityEntryV2Variant2Per right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestCapacityEntryV2Variant2PerExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestCapacityEntryV2Variant2Per value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static RequestCapacityEntryV2Variant2Per? ToEnum(string value) + { + return RequestCapacityEntryV2Variant2Per.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..21a5b2b4 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum RequestCapacityEntryV2Variant2Type + { + /// + /// + /// + WebSearch, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestCapacityEntryV2Variant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestCapacityEntryV2Variant2Type value) + { + return value switch + { + RequestCapacityEntryV2Variant2Type.WebSearch => "web_search", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RequestCapacityEntryV2Variant2Type? ToEnum(string value) + { + return value switch + { + "web_search" => RequestCapacityEntryV2Variant2Type.WebSearch, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.Json.g.cs new file mode 100644 index 00000000..350c7e79 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class RequestCapacityEntryV2Variant3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2Variant3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant3), + jsonSerializerContext) as global::OpenRouter.RequestCapacityEntryV2Variant3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.RequestCapacityEntryV2Variant3? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.RequestCapacityEntryV2Variant3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.RequestCapacityEntryV2Variant3), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.RequestCapacityEntryV2Variant3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.g.cs new file mode 100644 index 00000000..e6ffc9b9 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class RequestCapacityEntryV2Variant3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestCapacityEntryV2Variant3TypeJsonConverter))] + public global::OpenRouter.RequestCapacityEntryV2Variant3Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestUnitV2JsonConverter))] + public global::OpenRouter.RequestUnitV2 Unit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("value")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Value { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RequestCapacityEntryV2Variant3( + int value, + global::OpenRouter.RequestCapacityEntryV2Variant3Type type, + global::OpenRouter.RequestUnitV2 unit) + { + this.Type = type; + this.Unit = unit; + this.Value = value; + } + + /// + /// Initializes a new instance of the class. + /// + public RequestCapacityEntryV2Variant3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3Type.g.cs new file mode 100644 index 00000000..2b8313f6 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestCapacityEntryV2Variant3Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum RequestCapacityEntryV2Variant3Type + { + /// + /// + /// + Concurrency, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestCapacityEntryV2Variant3TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestCapacityEntryV2Variant3Type value) + { + return value switch + { + RequestCapacityEntryV2Variant3Type.Concurrency => "concurrency", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RequestCapacityEntryV2Variant3Type? ToEnum(string value) + { + return value switch + { + "concurrency" => RequestCapacityEntryV2Variant3Type.Concurrency, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.Json.g.cs new file mode 100644 index 00000000..63bc617a --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public readonly partial struct RequestPricingEntryV2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.RequestPricingEntryV2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.RequestPricingEntryV2), + jsonSerializerContext) as global::OpenRouter.RequestPricingEntryV2?; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.RequestPricingEntryV2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.RequestPricingEntryV2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.RequestPricingEntryV2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.RequestPricingEntryV2?; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.g.cs new file mode 100644 index 00000000..cf5121fc --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2.g.cs @@ -0,0 +1,295 @@ +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public readonly partial struct RequestPricingEntryV2 : global::System.IEquatable + { + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.RequestPricingEntryV2Variant1? RequestPricingEntryV2Variant1 { get; init; } +#else + public global::OpenRouter.RequestPricingEntryV2Variant1? RequestPricingEntryV2Variant1 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RequestPricingEntryV2Variant1))] +#endif + public bool IsRequestPricingEntryV2Variant1 => RequestPricingEntryV2Variant1 != null; + + /// + /// + /// + public bool TryPickRequestPricingEntryV2Variant1( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.RequestPricingEntryV2Variant1? value) + { + value = RequestPricingEntryV2Variant1; + return IsRequestPricingEntryV2Variant1; + } + + /// + /// + /// + public global::OpenRouter.RequestPricingEntryV2Variant1 PickRequestPricingEntryV2Variant1() => RequestPricingEntryV2Variant1 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'RequestPricingEntryV2Variant1' but the value was {ToString()}."); + + /// + /// + /// +#if NET6_0_OR_GREATER + public global::OpenRouter.RequestPricingEntryV2Variant2? RequestPricingEntryV2Variant2 { get; init; } +#else + public global::OpenRouter.RequestPricingEntryV2Variant2? RequestPricingEntryV2Variant2 { get; } +#endif + + /// + /// + /// +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(RequestPricingEntryV2Variant2))] +#endif + public bool IsRequestPricingEntryV2Variant2 => RequestPricingEntryV2Variant2 != null; + + /// + /// + /// + public bool TryPickRequestPricingEntryV2Variant2( +#if NET6_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] +#endif + out global::OpenRouter.RequestPricingEntryV2Variant2? value) + { + value = RequestPricingEntryV2Variant2; + return IsRequestPricingEntryV2Variant2; + } + + /// + /// + /// + public global::OpenRouter.RequestPricingEntryV2Variant2 PickRequestPricingEntryV2Variant2() => RequestPricingEntryV2Variant2 is { } value + ? value + : throw new global::System.InvalidOperationException($"Expected union variant 'RequestPricingEntryV2Variant2' but the value was {ToString()}."); + /// + /// + /// + public static implicit operator RequestPricingEntryV2(global::OpenRouter.RequestPricingEntryV2Variant1 value) => new RequestPricingEntryV2((global::OpenRouter.RequestPricingEntryV2Variant1?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.RequestPricingEntryV2Variant1?(RequestPricingEntryV2 @this) => @this.RequestPricingEntryV2Variant1; + + /// + /// + /// + public RequestPricingEntryV2(global::OpenRouter.RequestPricingEntryV2Variant1? value) + { + RequestPricingEntryV2Variant1 = value; + } + + /// + /// + /// + public static RequestPricingEntryV2 FromRequestPricingEntryV2Variant1(global::OpenRouter.RequestPricingEntryV2Variant1? value) => new RequestPricingEntryV2(value); + + /// + /// + /// + public static implicit operator RequestPricingEntryV2(global::OpenRouter.RequestPricingEntryV2Variant2 value) => new RequestPricingEntryV2((global::OpenRouter.RequestPricingEntryV2Variant2?)value); + + /// + /// + /// + public static implicit operator global::OpenRouter.RequestPricingEntryV2Variant2?(RequestPricingEntryV2 @this) => @this.RequestPricingEntryV2Variant2; + + /// + /// + /// + public RequestPricingEntryV2(global::OpenRouter.RequestPricingEntryV2Variant2? value) + { + RequestPricingEntryV2Variant2 = value; + } + + /// + /// + /// + public static RequestPricingEntryV2 FromRequestPricingEntryV2Variant2(global::OpenRouter.RequestPricingEntryV2Variant2? value) => new RequestPricingEntryV2(value); + + /// + /// + /// + public RequestPricingEntryV2( + global::OpenRouter.RequestPricingEntryV2Variant1? requestPricingEntryV2Variant1, + global::OpenRouter.RequestPricingEntryV2Variant2? requestPricingEntryV2Variant2 + ) + { + RequestPricingEntryV2Variant1 = requestPricingEntryV2Variant1; + RequestPricingEntryV2Variant2 = requestPricingEntryV2Variant2; + } + + /// + /// + /// + public object? Object => + RequestPricingEntryV2Variant2 as object ?? + RequestPricingEntryV2Variant1 as object + ; + + /// + /// + /// + public override string? ToString() => + RequestPricingEntryV2Variant1?.ToString() ?? + RequestPricingEntryV2Variant2?.ToString() + ; + + /// + /// + /// + public bool Validate() + { + return IsRequestPricingEntryV2Variant1 && !IsRequestPricingEntryV2Variant2 || !IsRequestPricingEntryV2Variant1 && IsRequestPricingEntryV2Variant2; + } + + /// + /// + /// + public TResult? Match( + global::System.Func? requestPricingEntryV2Variant1 = null, + global::System.Func? requestPricingEntryV2Variant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (RequestPricingEntryV2Variant1 is { } __value0 && requestPricingEntryV2Variant1 != null) + { + return requestPricingEntryV2Variant1(__value0); + } + else if (RequestPricingEntryV2Variant2 is { } __value1 && requestPricingEntryV2Variant2 != null) + { + return requestPricingEntryV2Variant2(__value1); + } + + return default(TResult); + } + + /// + /// + /// + public void Match( + global::System.Action? requestPricingEntryV2Variant1 = null, + + global::System.Action? requestPricingEntryV2Variant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (RequestPricingEntryV2Variant1 is { } __value0) + { + requestPricingEntryV2Variant1?.Invoke(__value0); + } + else if (RequestPricingEntryV2Variant2 is { } __value1) + { + requestPricingEntryV2Variant2?.Invoke(__value1); + } + } + + /// + /// + /// + public void Switch( + global::System.Action? requestPricingEntryV2Variant1 = null, + global::System.Action? requestPricingEntryV2Variant2 = null, + bool validate = true) + { + if (validate) + { + Validate(); + } + + if (RequestPricingEntryV2Variant1 is { } __value0) + { + requestPricingEntryV2Variant1?.Invoke(__value0); + } + else if (RequestPricingEntryV2Variant2 is { } __value1) + { + requestPricingEntryV2Variant2?.Invoke(__value1); + } + } + + /// + /// + /// + public override int GetHashCode() + { + var fields = new object?[] + { + RequestPricingEntryV2Variant1, + typeof(global::OpenRouter.RequestPricingEntryV2Variant1), + RequestPricingEntryV2Variant2, + typeof(global::OpenRouter.RequestPricingEntryV2Variant2), + }; + const int offset = unchecked((int)2166136261); + const int prime = 16777619; + static int HashCodeAggregator(int hashCode, object? value) => value == null + ? (hashCode ^ 0) * prime + : (hashCode ^ value.GetHashCode()) * prime; + + return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); + } + + /// + /// + /// + public bool Equals(RequestPricingEntryV2 other) + { + return + global::System.Collections.Generic.EqualityComparer.Default.Equals(RequestPricingEntryV2Variant1, other.RequestPricingEntryV2Variant1) && + global::System.Collections.Generic.EqualityComparer.Default.Equals(RequestPricingEntryV2Variant2, other.RequestPricingEntryV2Variant2) + ; + } + + /// + /// + /// + public static bool operator ==(RequestPricingEntryV2 obj1, RequestPricingEntryV2 obj2) + { + return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); + } + + /// + /// + /// + public static bool operator !=(RequestPricingEntryV2 obj1, RequestPricingEntryV2 obj2) + { + return !(obj1 == obj2); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is RequestPricingEntryV2 o && Equals(o); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.Json.g.cs new file mode 100644 index 00000000..41ab28ac --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class RequestPricingEntryV2Variant1 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.RequestPricingEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.RequestPricingEntryV2Variant1), + jsonSerializerContext) as global::OpenRouter.RequestPricingEntryV2Variant1; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.RequestPricingEntryV2Variant1? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.RequestPricingEntryV2Variant1? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.RequestPricingEntryV2Variant1), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.RequestPricingEntryV2Variant1; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.g.cs new file mode 100644 index 00000000..c58e29da --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class RequestPricingEntryV2Variant1 + { + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cost_usd")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CostUsd { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overrides")] + public global::System.Collections.Generic.IList? Overrides { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestPricingEntryV2Variant1TypeJsonConverter))] + public global::OpenRouter.RequestPricingEntryV2Variant1Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestUnitV2JsonConverter))] + public global::OpenRouter.RequestUnitV2 Unit { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RequestPricingEntryV2Variant1( + string costUsd, + global::System.Collections.Generic.IList? overrides, + global::OpenRouter.RequestPricingEntryV2Variant1Type type, + global::OpenRouter.RequestUnitV2 unit) + { + this.CostUsd = costUsd ?? throw new global::System.ArgumentNullException(nameof(costUsd)); + this.Overrides = overrides; + this.Type = type; + this.Unit = unit; + } + + /// + /// Initializes a new instance of the class. + /// + public RequestPricingEntryV2Variant1() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1Type.g.cs new file mode 100644 index 00000000..fb61506d --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant1Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum RequestPricingEntryV2Variant1Type + { + /// + /// + /// + Request, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestPricingEntryV2Variant1TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestPricingEntryV2Variant1Type value) + { + return value switch + { + RequestPricingEntryV2Variant1Type.Request => "request", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RequestPricingEntryV2Variant1Type? ToEnum(string value) + { + return value switch + { + "request" => RequestPricingEntryV2Variant1Type.Request, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.Json.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.Json.g.cs new file mode 100644 index 00000000..ded34d35 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace OpenRouter +{ + public sealed partial class RequestPricingEntryV2Variant2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::OpenRouter.RequestPricingEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::OpenRouter.RequestPricingEntryV2Variant2), + jsonSerializerContext) as global::OpenRouter.RequestPricingEntryV2Variant2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::OpenRouter.RequestPricingEntryV2Variant2? FromJson( + string json) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::OpenRouter.RequestPricingEntryV2Variant2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::OpenRouter.RequestPricingEntryV2Variant2), + jsonSerializerContext).ConfigureAwait(false)) as global::OpenRouter.RequestPricingEntryV2Variant2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::OpenRouter.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.g.cs new file mode 100644 index 00000000..e60367db --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2.g.cs @@ -0,0 +1,76 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public sealed partial class RequestPricingEntryV2Variant2 + { + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cost_usd")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string CostUsd { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overrides")] + public global::System.Collections.Generic.IList? Overrides { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.RequestPricingEntryV2Variant2TypeJsonConverter))] + public global::OpenRouter.RequestPricingEntryV2Variant2Type Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unit")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SearchUnitV2JsonConverter))] + public global::OpenRouter.SearchUnitV2 Unit { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Non-negative decimal number string, e.g. "0.000008" + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RequestPricingEntryV2Variant2( + string costUsd, + global::System.Collections.Generic.IList? overrides, + global::OpenRouter.RequestPricingEntryV2Variant2Type type, + global::OpenRouter.SearchUnitV2 unit) + { + this.CostUsd = costUsd ?? throw new global::System.ArgumentNullException(nameof(costUsd)); + this.Overrides = overrides; + this.Type = type; + this.Unit = unit; + } + + /// + /// Initializes a new instance of the class. + /// + public RequestPricingEntryV2Variant2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2Type.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2Type.g.cs new file mode 100644 index 00000000..aa97f8e5 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestPricingEntryV2Variant2Type.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum RequestPricingEntryV2Variant2Type + { + /// + /// + /// + WebSearch, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestPricingEntryV2Variant2TypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestPricingEntryV2Variant2Type value) + { + return value switch + { + RequestPricingEntryV2Variant2Type.WebSearch => "web_search", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RequestPricingEntryV2Variant2Type? ToEnum(string value) + { + return value switch + { + "web_search" => RequestPricingEntryV2Variant2Type.WebSearch, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestUnitV2.g.cs new file mode 100644 index 00000000..9e6f75b7 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.RequestUnitV2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum RequestUnitV2 + { + /// + /// + /// + Request, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RequestUnitV2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RequestUnitV2 value) + { + return value switch + { + RequestUnitV2.Request => "request", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RequestUnitV2? ToEnum(string value) + { + return value switch + { + "request" => RequestUnitV2.Request, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequest.g.cs index 5724b3fa..9599aa22 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequest.g.cs @@ -51,7 +51,7 @@ public sealed partial class STTRequest public required string Model { get; set; } /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// [global::System.Text.Json.Serialization.JsonPropertyName("provider")] public global::OpenRouter.STTRequestProvider? Provider { get; set; } @@ -134,7 +134,7 @@ public sealed partial class STTRequest /// Example: en /// /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// /// /// Output format. "json" (default) returns { text, usage }. "verbose_json" additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequestProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequestProvider.g.cs index 43362038..f9e2d687 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequestProvider.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.STTRequestProvider.g.cs @@ -4,21 +4,10 @@ namespace OpenRouter { /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// public sealed partial class STTRequestProvider { - /// - /// Data collection setting. If no available model provider meets the requirement, your request will return an error.
- /// - allow: (default) allow providers which store user data non-transiently and may train on it
- /// - deny: use only providers which do not collect user data.
- /// Example: allow - ///
- /// allow - [global::System.Text.Json.Serialization.JsonPropertyName("data_collection")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.STTRequestProviderDataCollectionJsonConverter))] - public global::OpenRouter.STTRequestProviderDataCollection? DataCollection { get; set; } - /// /// Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped.
/// Example: {"openai":{"max_tokens":1000}} @@ -27,14 +16,6 @@ public sealed partial class STTRequestProvider [global::System.Text.Json.Serialization.JsonPropertyName("options")] public global::OpenRouter.ProviderOptions? Options { get; set; } - /// - /// Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
- /// Example: true - ///
- /// true - [global::System.Text.Json.Serialization.JsonPropertyName("zdr")] - public bool? Zdr { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -44,31 +25,17 @@ public sealed partial class STTRequestProvider /// /// Initializes a new instance of the class. /// - /// - /// Data collection setting. If no available model provider meets the requirement, your request will return an error.
- /// - allow: (default) allow providers which store user data non-transiently and may train on it
- /// - deny: use only providers which do not collect user data.
- /// Example: allow - /// /// /// Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped.
/// Example: {"openai":{"max_tokens":1000}} /// - /// - /// Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
- /// Example: true - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public STTRequestProvider( - global::OpenRouter.STTRequestProviderDataCollection? dataCollection, - global::OpenRouter.ProviderOptions? options, - bool? zdr) + global::OpenRouter.ProviderOptions? options) { - this.DataCollection = dataCollection; this.Options = options; - this.Zdr = zdr; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchUnitV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchUnitV2.g.cs new file mode 100644 index 00000000..204ad7a1 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SearchUnitV2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace OpenRouter +{ + /// + /// + /// + public enum SearchUnitV2 + { + /// + /// + /// + Search, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class SearchUnitV2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this SearchUnitV2 value) + { + return value switch + { + SearchUnitV2.Search => "search", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static SearchUnitV2? ToEnum(string value) + { + return value switch + { + "search" => SearchUnitV2.Search, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.g.cs index 491c38fd..7ba61dfc 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequest.g.cs @@ -36,7 +36,7 @@ public sealed partial class SpeechRequest public required string Model { get; set; } /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// [global::System.Text.Json.Serialization.JsonPropertyName("provider")] public global::OpenRouter.SpeechRequestProvider? Provider { get; set; } @@ -113,7 +113,7 @@ public sealed partial class SpeechRequest /// Example: [{"input_audio":{"data":"data:audio/wav;base64,UklGRuQXDABXQVZF..."},"type":"input_audio"}, {"text":"I used to rule the world.","type":"text"}] /// /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// /// /// Audio output format
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.g.cs index 468a68d4..0bbf1a6b 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.SpeechRequestProvider.g.cs @@ -4,21 +4,10 @@ namespace OpenRouter { /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// public sealed partial class SpeechRequestProvider { - /// - /// Data collection setting. If no available model provider meets the requirement, your request will return an error.
- /// - allow: (default) allow providers which store user data non-transiently and may train on it
- /// - deny: use only providers which do not collect user data.
- /// Example: allow - ///
- /// allow - [global::System.Text.Json.Serialization.JsonPropertyName("data_collection")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenRouter.JsonConverters.SpeechRequestProviderDataCollectionJsonConverter))] - public global::OpenRouter.SpeechRequestProviderDataCollection? DataCollection { get; set; } - /// /// Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped.
/// Example: {"openai":{"max_tokens":1000}} @@ -27,14 +16,6 @@ public sealed partial class SpeechRequestProvider [global::System.Text.Json.Serialization.JsonPropertyName("options")] public global::OpenRouter.ProviderOptions? Options { get; set; } - /// - /// Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
- /// Example: true - ///
- /// true - [global::System.Text.Json.Serialization.JsonPropertyName("zdr")] - public bool? Zdr { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -44,31 +25,17 @@ public sealed partial class SpeechRequestProvider /// /// Initializes a new instance of the class. /// - /// - /// Data collection setting. If no available model provider meets the requirement, your request will return an error.
- /// - allow: (default) allow providers which store user data non-transiently and may train on it
- /// - deny: use only providers which do not collect user data.
- /// Example: allow - /// /// /// Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped.
/// Example: {"openai":{"max_tokens":1000}} /// - /// - /// Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
- /// Example: true - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public SpeechRequestProvider( - global::OpenRouter.SpeechRequestProviderDataCollection? dataCollection, - global::OpenRouter.ProviderOptions? options, - bool? zdr) + global::OpenRouter.ProviderOptions? options) { - this.DataCollection = dataCollection; this.Options = options; - this.Zdr = zdr; } /// diff --git a/src/libs/OpenRouter/Generated/OpenRouter.Models.UtcDayV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.Models.UtcDayV2.g.cs new file mode 100644 index 00000000..c3005f9f --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.Models.UtcDayV2.g.cs @@ -0,0 +1,155 @@ + +#nullable enable + +namespace OpenRouter +{ + + /// + /// + /// + public readonly partial struct UtcDayV2 : global::System.IEquatable + { + /// + /// + /// + public UtcDayV2(string value) + { + Value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + } + + /// + /// + /// + public string Value { get; } + /// + /// + /// + public static UtcDayV2 Friday { get; } = new("friday"); + + /// + /// + /// + public static UtcDayV2 Monday { get; } = new("monday"); + + /// + /// + /// + public static UtcDayV2 Saturday { get; } = new("saturday"); + + /// + /// + /// + public static UtcDayV2 Sunday { get; } = new("sunday"); + + /// + /// + /// + public static UtcDayV2 Thursday { get; } = new("thursday"); + + /// + /// + /// + public static UtcDayV2 Tuesday { get; } = new("tuesday"); + + /// + /// + /// + public static UtcDayV2 Wednesday { get; } = new("wednesday"); + /// + /// + /// + public static UtcDayV2 FromValue(string value) + { + value = value ?? throw new global::System.ArgumentNullException(nameof(value)); + + return value switch + { + "friday" => Friday, + "monday" => Monday, + "saturday" => Saturday, + "sunday" => Sunday, + "thursday" => Thursday, + "tuesday" => Tuesday, + "wednesday" => Wednesday, + _ => new UtcDayV2(value), + }; + } + + /// + /// + /// + public bool IsKnown => Value switch + { + "friday" => true, + "monday" => true, + "saturday" => true, + "sunday" => true, + "thursday" => true, + "tuesday" => true, + "wednesday" => true, + _ => false, + }; + + /// + /// + /// + public override string ToString() => Value ?? string.Empty; + + /// + /// + /// + public bool Equals(UtcDayV2 other) + { + return string.Equals(Value, other.Value, global::System.StringComparison.Ordinal); + } + + /// + /// + /// + public override bool Equals(object? obj) + { + return obj is UtcDayV2 other && Equals(other); + } + + /// + /// + /// + public override int GetHashCode() + { + return global::System.StringComparer.Ordinal.GetHashCode(Value ?? string.Empty); + } + + /// + /// + /// + public static bool operator ==(UtcDayV2 left, UtcDayV2 right) => left.Equals(right); + + /// + /// + /// + public static bool operator !=(UtcDayV2 left, UtcDayV2 right) => !left.Equals(right); + } + + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UtcDayV2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UtcDayV2 value) + { + return value.Value ?? throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null); + } + + /// + /// Converts an string to a enum. + /// + public static UtcDayV2? ToEnum(string value) + { + return UtcDayV2.FromValue(value); + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Count.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Count.g.cs index 3dd4a1dd..5e89adae 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Count.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Count.g.cs @@ -6,6 +6,14 @@ namespace OpenRouter public partial class ModelsClient { + private static readonly global::OpenRouter.AutoSDKServer[] s_CountServers = new global::OpenRouter.AutoSDKServer[] + { new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai-api-v1", + name: "Production server", + url: "https://openrouter.ai/api/v1", + description: "Production server"), + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement s_CountSecurityRequirement0 = new global::OpenRouter.EndPointSecurityRequirement @@ -110,7 +118,9 @@ partial void ProcessCountResponseContent( var __pathBuilder = new global::OpenRouter.PathBuilder( path: "/models/count", - baseUri: HttpClient.BaseAddress); + baseUri: ResolveBaseUri( + servers: s_CountServers, + defaultBaseUrl: "https://openrouter.ai/api/v1")); __pathBuilder .AddOptionalParameter("output_modalities", outputModalities) ; diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Get.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Get.g.cs index 85c1d0cb..94872779 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Get.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.Get.g.cs @@ -6,6 +6,14 @@ namespace OpenRouter public partial class ModelsClient { + private static readonly global::OpenRouter.AutoSDKServer[] s_GetServers = new global::OpenRouter.AutoSDKServer[] + { new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai-api-v1", + name: "Production server", + url: "https://openrouter.ai/api/v1", + description: "Production server"), + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement s_GetSecurityRequirement0 = new global::OpenRouter.EndPointSecurityRequirement @@ -126,7 +134,9 @@ partial void ProcessGetResponseContent( var __pathBuilder = new global::OpenRouter.PathBuilder( path: $"/model/{author}/{slug}", - baseUri: HttpClient.BaseAddress); + baseUri: ResolveBaseUri( + servers: s_GetServers, + defaultBaseUrl: "https://openrouter.ai/api/v1")); var __path = __pathBuilder.ToString(); __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( path: __path, diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetV2.g.cs new file mode 100644 index 00000000..45160113 --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.GetV2.g.cs @@ -0,0 +1,623 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class ModelsClient + { + + private static readonly global::OpenRouter.AutoSDKServer[] s_GetV2Servers = new global::OpenRouter.AutoSDKServer[] + { new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai", + name: "openrouter.ai", + url: "https://openrouter.ai/", + description: ""), + }; + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_GetV2SecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_GetV2SecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_GetV2SecurityRequirement0, + }; + partial void PrepareGetV2Arguments( + global::System.Net.Http.HttpClient httpClient, + ref string author, + ref string slug, + ref global::OpenRouter.GetModelV2Region? region); + partial void PrepareGetV2Request( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string author, + string slug, + global::OpenRouter.GetModelV2Region? region); + partial void ProcessGetV2Response( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetV2ResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get a model with its V2 endpoint documents
+ /// Returns a single model identified by its author and slug (e.g. openai/gpt-4) together with each of its published endpoints in the Models API V2 document format. Known slug aliases are resolved. A variant suffix (e.g. openai/gpt-4:free) selects the record of that variant; a variant no endpoint serves is reported as not found. Routers (openrouter/auto) and `~author/family-latest` aliases are records too. `region` narrows the endpoints the same way it does on the list route; a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found. + ///
+ /// + /// The author/organization of the model
+ /// Example: openai + /// + /// + /// The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)
+ /// Example: gpt-4 + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.
+ /// Example: eu + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetV2Async( + string author, + string slug, + global::OpenRouter.GetModelV2Region? region = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetV2AsResponseAsync( + author: author, + slug: slug, + region: region, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get a model with its V2 endpoint documents
+ /// Returns a single model identified by its author and slug (e.g. openai/gpt-4) together with each of its published endpoints in the Models API V2 document format. Known slug aliases are resolved. A variant suffix (e.g. openai/gpt-4:free) selects the record of that variant; a variant no endpoint serves is reported as not found. Routers (openrouter/auto) and `~author/family-latest` aliases are records too. `region` narrows the endpoints the same way it does on the list route; a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found. + ///
+ /// + /// The author/organization of the model
+ /// Example: openai + /// + /// + /// The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)
+ /// Example: gpt-4 + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.
+ /// Example: eu + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetV2AsResponseAsync( + string author, + string slug, + global::OpenRouter.GetModelV2Region? region = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetV2Arguments( + httpClient: HttpClient, + author: ref author, + slug: ref slug, + region: ref region); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetV2SecurityRequirements, + operationName: "GetV2Async"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: $"/api/v2/models/{author}/{slug}", + baseUri: ResolveBaseUri( + servers: s_GetV2Servers, + defaultBaseUrl: "https://openrouter.ai/")); + __pathBuilder + .AddOptionalParameter("region", region?.ToValueString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetV2Request( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + author: author, + slug: slug, + region: region); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetV2", + methodName: "GetV2Async", + pathTemplate: "$\"/api/v2/models/{author}/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetV2", + methodName: "GetV2Async", + pathTemplate: "$\"/api/v2/models/{author}/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetV2", + methodName: "GetV2Async", + pathTemplate: "$\"/api/v2/models/{author}/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessGetV2Response( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetV2", + methodName: "GetV2Async", + pathTemplate: "$\"/api/v2/models/{author}/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetV2", + methodName: "GetV2Async", + pathTemplate: "$\"/api/v2/models/{author}/{slug}\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request - Invalid request parameters or malformed input + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::OpenRouter.BadRequestResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Not Found - Resource does not exist + if ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + global::OpenRouter.NotFoundResponse? __value_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_404 = global::OpenRouter.NotFoundResponse.FromJson(__content_404, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseObject: __value_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error - Unexpected server error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternalServerResponse? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessGetV2ResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.ModelV2Response.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::OpenRouter.ModelV2Response.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs index 478e89a7..d3cb1160 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.List.g.cs @@ -6,6 +6,14 @@ namespace OpenRouter public partial class ModelsClient { + private static readonly global::OpenRouter.AutoSDKServer[] s_ListServers = new global::OpenRouter.AutoSDKServer[] + { new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai-api-v1", + name: "Production server", + url: "https://openrouter.ai/api/v1", + description: "Production server"), + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement s_ListSecurityRequirement0 = new global::OpenRouter.EndPointSecurityRequirement @@ -506,7 +514,9 @@ partial void ProcessListResponseContent( var __pathBuilder = new global::OpenRouter.PathBuilder( path: "/models", - baseUri: HttpClient.BaseAddress); + baseUri: ResolveBaseUri( + servers: s_ListServers, + defaultBaseUrl: "https://openrouter.ai/api/v1")); __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs index 0fbb5434..f776aeb6 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListForUser.g.cs @@ -6,6 +6,14 @@ namespace OpenRouter public partial class ModelsClient { + private static readonly global::OpenRouter.AutoSDKServer[] s_ListForUserServers = new global::OpenRouter.AutoSDKServer[] + { new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai-api-v1", + name: "Production server", + url: "https://openrouter.ai/api/v1", + description: "Production server"), + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement s_ListForUserSecurityRequirement0 = new global::OpenRouter.EndPointSecurityRequirement @@ -144,7 +152,9 @@ partial void ProcessListForUserResponseContent( var __pathBuilder = new global::OpenRouter.PathBuilder( path: "/models/user", - baseUri: HttpClient.BaseAddress); + baseUri: ResolveBaseUri( + servers: s_ListForUserServers, + defaultBaseUrl: "https://openrouter.ai/api/v1")); __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListV2.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListV2.g.cs new file mode 100644 index 00000000..6ad4582b --- /dev/null +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.ListV2.g.cs @@ -0,0 +1,7542 @@ + +#nullable enable + +namespace OpenRouter +{ + public partial class ModelsClient + { + + private static readonly global::OpenRouter.AutoSDKServer[] s_ListV2Servers = new global::OpenRouter.AutoSDKServer[] + { new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai", + name: "openrouter.ai", + url: "https://openrouter.ai/", + description: ""), + }; + + + private static readonly global::OpenRouter.EndPointSecurityRequirement s_ListV2SecurityRequirement0 = + new global::OpenRouter.EndPointSecurityRequirement + { + Authorizations = new global::OpenRouter.EndPointAuthorizationRequirement[] + { new global::OpenRouter.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Bearer", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::OpenRouter.EndPointSecurityRequirement[] s_ListV2SecurityRequirements = + new global::OpenRouter.EndPointSecurityRequirement[] + { s_ListV2SecurityRequirement0, + }; + partial void PrepareListV2Arguments( + global::System.Net.Http.HttpClient httpClient, + ref int? offset, + ref int? limit, + ref string? cursor, + ref global::OpenRouter.ListModelsV2Region? region, + ref string? sort, + ref string? id, + ref string? canonicalSlug, + ref string? author, + ref string? name, + ref string? variant, + ref string? kind, + ref string? aliasTargetSlug, + ref string? aliasTargetName, + ref string? created, + ref string? description, + ref string? contextLength, + ref string? huggingFaceId, + ref string? inputs, + ref string? outputs, + ref string? endpointsSchemaVersion, + ref string? endpointsId, + ref string? endpointsHuggingFaceId, + ref string? endpointsName, + ref string? endpointsCreated, + ref string? endpointsQuantization, + ref string? endpointsTokenizer, + ref string? endpointsDescription, + ref string? endpointsPricingType, + ref string? endpointsPricingRequestUnit, + ref string? endpointsPricingRequestCostUsd, + ref string? endpointsPricingRequestOverridesCostUsd, + ref string? endpointsPricingWebSearchUnit, + ref string? endpointsPricingWebSearchCostUsd, + ref string? endpointsPricingWebSearchOverridesCostUsd, + ref string? endpointsCapacityType, + ref string? endpointsCapacityRequestUnit, + ref string? endpointsCapacityRequestPer, + ref string? endpointsCapacityRequestValue, + ref string? endpointsCapacityWebSearchUnit, + ref string? endpointsCapacityWebSearchPer, + ref string? endpointsCapacityWebSearchValue, + ref string? endpointsCapacityConcurrencyUnit, + ref string? endpointsCapacityConcurrencyValue, + ref string? endpointsPassthroughParameters, + ref string? endpointsDeprecationDate, + ref string? endpointsIsReady, + ref string? endpointsIsFree, + ref string? endpointsServiceTier, + ref string? endpointsDiscountToUser, + ref string? endpointsOpenrouterSlug, + ref string? endpointsDatacentersCountryCode, + ref string? endpointsDatacentersRegion, + ref string? endpointsDeploymentRegion, + ref string? endpointsInputsType, + ref string? endpointsInputsTextPricingType, + ref string? endpointsInputsTextPricingPromptUnit, + ref string? endpointsInputsTextPricingPromptCostUsd, + ref string? endpointsInputsTextPricingPromptOverridesCostUsd, + ref string? endpointsInputsTextPricingPromptUtcStart, + ref string? endpointsInputsTextPricingPromptUtcEnd, + ref string? endpointsInputsTextPricingPromptUtcDays, + ref string? endpointsInputsTextPricingCachedPromptUnit, + ref string? endpointsInputsTextPricingCachedPromptCostUsd, + ref string? endpointsInputsTextPricingCachedPromptOverridesCostUsd, + ref string? endpointsInputsTextPricingCachedPromptTtlSeconds, + ref string? endpointsInputsTextPricingCachedPromptImplicit, + ref string? endpointsInputsTextPricingCachedPromptUtcStart, + ref string? endpointsInputsTextPricingCachedPromptUtcEnd, + ref string? endpointsInputsTextPricingCachedPromptUtcDays, + ref string? endpointsInputsTextPricingCacheWriteUnit, + ref string? endpointsInputsTextPricingCacheWriteCostUsd, + ref string? endpointsInputsTextPricingCacheWriteOverridesCostUsd, + ref string? endpointsInputsTextPricingCacheWriteTtlSeconds, + ref string? endpointsInputsTextPricingCacheWriteImplicit, + ref string? endpointsInputsTextPricingCacheWriteUtcStart, + ref string? endpointsInputsTextPricingCacheWriteUtcEnd, + ref string? endpointsInputsTextPricingCacheWriteUtcDays, + ref string? endpointsInputsTextCapacityType, + ref string? endpointsInputsTextCapacityPromptUnit, + ref string? endpointsInputsTextCapacityPromptPer, + ref string? endpointsInputsTextCapacityPromptValue, + ref string? endpointsInputsTextCapacityCachedPromptUnit, + ref string? endpointsInputsTextCapacityCachedPromptPer, + ref string? endpointsInputsTextCapacityCachedPromptValue, + ref string? endpointsInputsTextCapacityCacheWriteUnit, + ref string? endpointsInputsTextCapacityCacheWritePer, + ref string? endpointsInputsTextCapacityCacheWriteValue, + ref string? endpointsInputsTextPassthroughParameters, + ref string? endpointsInputsTextParamsMaxPromptLengthValue, + ref string? endpointsInputsTextParamsMaxPromptLengthUnit, + ref string? endpointsInputsTextParamsMaxLengthValue, + ref string? endpointsInputsTextParamsMaxLengthUnit, + ref string? endpointsInputsImagePricingType, + ref string? endpointsInputsImagePricingPromptUnit, + ref string? endpointsInputsImagePricingPromptCostUsd, + ref string? endpointsInputsImagePricingPromptOverridesCostUsd, + ref string? endpointsInputsImagePricingPromptUtcStart, + ref string? endpointsInputsImagePricingPromptUtcEnd, + ref string? endpointsInputsImagePricingPromptUtcDays, + ref string? endpointsInputsImagePricingCachedPromptUnit, + ref string? endpointsInputsImagePricingCachedPromptCostUsd, + ref string? endpointsInputsImagePricingCachedPromptOverridesCostUsd, + ref string? endpointsInputsImagePricingCachedPromptTtlSeconds, + ref string? endpointsInputsImagePricingCachedPromptImplicit, + ref string? endpointsInputsImagePricingCachedPromptUtcStart, + ref string? endpointsInputsImagePricingCachedPromptUtcEnd, + ref string? endpointsInputsImagePricingCachedPromptUtcDays, + ref string? endpointsInputsImagePricingCacheWriteUnit, + ref string? endpointsInputsImagePricingCacheWriteCostUsd, + ref string? endpointsInputsImagePricingCacheWriteOverridesCostUsd, + ref string? endpointsInputsImagePricingCacheWriteTtlSeconds, + ref string? endpointsInputsImagePricingCacheWriteImplicit, + ref string? endpointsInputsImagePricingCacheWriteUtcStart, + ref string? endpointsInputsImagePricingCacheWriteUtcEnd, + ref string? endpointsInputsImagePricingCacheWriteUtcDays, + ref string? endpointsInputsImageCapacityType, + ref string? endpointsInputsImageCapacityPromptUnit, + ref string? endpointsInputsImageCapacityPromptPer, + ref string? endpointsInputsImageCapacityPromptValue, + ref string? endpointsInputsImageCapacityCachedPromptUnit, + ref string? endpointsInputsImageCapacityCachedPromptPer, + ref string? endpointsInputsImageCapacityCachedPromptValue, + ref string? endpointsInputsImageCapacityCacheWriteUnit, + ref string? endpointsInputsImageCapacityCacheWritePer, + ref string? endpointsInputsImageCapacityCacheWriteValue, + ref string? endpointsInputsImagePassthroughParameters, + ref string? endpointsInputsImageParamsSourcesType, + ref string? endpointsInputsImageParamsSourcesValues, + ref string? endpointsInputsImageParamsFormatsType, + ref string? endpointsInputsImageParamsFormatsValues, + ref string? endpointsInputsImageParamsDetailLevelsType, + ref string? endpointsInputsImageParamsDetailLevelsValues, + ref string? endpointsInputsImageParamsReferencesType, + ref string? endpointsInputsImageParamsReferencesMin, + ref string? endpointsInputsImageParamsReferencesMax, + ref string? endpointsInputsImageParamsReferencesUnit, + ref string? endpointsInputsImageParamsRoleType, + ref string? endpointsInputsImageParamsRoleValues, + ref string? endpointsInputsImageParamsMaxContentSizeBytesValue, + ref string? endpointsInputsImageParamsMaxContentSizeBytesUnit, + ref string? endpointsInputsVideoPricingType, + ref string? endpointsInputsVideoPricingPromptUnit, + ref string? endpointsInputsVideoPricingPromptCostUsd, + ref string? endpointsInputsVideoPricingPromptOverridesCostUsd, + ref string? endpointsInputsVideoPricingPromptUtcStart, + ref string? endpointsInputsVideoPricingPromptUtcEnd, + ref string? endpointsInputsVideoPricingPromptUtcDays, + ref string? endpointsInputsVideoPricingCachedPromptUnit, + ref string? endpointsInputsVideoPricingCachedPromptCostUsd, + ref string? endpointsInputsVideoPricingCachedPromptOverridesCostUsd, + ref string? endpointsInputsVideoPricingCachedPromptTtlSeconds, + ref string? endpointsInputsVideoPricingCachedPromptImplicit, + ref string? endpointsInputsVideoPricingCachedPromptUtcStart, + ref string? endpointsInputsVideoPricingCachedPromptUtcEnd, + ref string? endpointsInputsVideoPricingCachedPromptUtcDays, + ref string? endpointsInputsVideoPricingCacheWriteUnit, + ref string? endpointsInputsVideoPricingCacheWriteCostUsd, + ref string? endpointsInputsVideoPricingCacheWriteOverridesCostUsd, + ref string? endpointsInputsVideoPricingCacheWriteTtlSeconds, + ref string? endpointsInputsVideoPricingCacheWriteImplicit, + ref string? endpointsInputsVideoPricingCacheWriteUtcStart, + ref string? endpointsInputsVideoPricingCacheWriteUtcEnd, + ref string? endpointsInputsVideoPricingCacheWriteUtcDays, + ref string? endpointsInputsVideoCapacityType, + ref string? endpointsInputsVideoCapacityPromptUnit, + ref string? endpointsInputsVideoCapacityPromptPer, + ref string? endpointsInputsVideoCapacityPromptValue, + ref string? endpointsInputsVideoCapacityCachedPromptUnit, + ref string? endpointsInputsVideoCapacityCachedPromptPer, + ref string? endpointsInputsVideoCapacityCachedPromptValue, + ref string? endpointsInputsVideoCapacityCacheWriteUnit, + ref string? endpointsInputsVideoCapacityCacheWritePer, + ref string? endpointsInputsVideoCapacityCacheWriteValue, + ref string? endpointsInputsVideoPassthroughParameters, + ref string? endpointsInputsVideoParamsSourcesType, + ref string? endpointsInputsVideoParamsSourcesValues, + ref string? endpointsInputsVideoParamsFormatsType, + ref string? endpointsInputsVideoParamsFormatsValues, + ref string? endpointsInputsVideoParamsMaxDurationSecondsValue, + ref string? endpointsInputsVideoParamsMaxDurationSecondsUnit, + ref string? endpointsInputsVideoParamsMaxContentSizeBytesValue, + ref string? endpointsInputsVideoParamsMaxContentSizeBytesUnit, + ref string? endpointsInputsAudioPricingType, + ref string? endpointsInputsAudioPricingPromptUnit, + ref string? endpointsInputsAudioPricingPromptCostUsd, + ref string? endpointsInputsAudioPricingPromptOverridesCostUsd, + ref string? endpointsInputsAudioPricingPromptUtcStart, + ref string? endpointsInputsAudioPricingPromptUtcEnd, + ref string? endpointsInputsAudioPricingPromptUtcDays, + ref string? endpointsInputsAudioPricingCachedPromptUnit, + ref string? endpointsInputsAudioPricingCachedPromptCostUsd, + ref string? endpointsInputsAudioPricingCachedPromptOverridesCostUsd, + ref string? endpointsInputsAudioPricingCachedPromptTtlSeconds, + ref string? endpointsInputsAudioPricingCachedPromptImplicit, + ref string? endpointsInputsAudioPricingCachedPromptUtcStart, + ref string? endpointsInputsAudioPricingCachedPromptUtcEnd, + ref string? endpointsInputsAudioPricingCachedPromptUtcDays, + ref string? endpointsInputsAudioPricingCacheWriteUnit, + ref string? endpointsInputsAudioPricingCacheWriteCostUsd, + ref string? endpointsInputsAudioPricingCacheWriteOverridesCostUsd, + ref string? endpointsInputsAudioPricingCacheWriteTtlSeconds, + ref string? endpointsInputsAudioPricingCacheWriteImplicit, + ref string? endpointsInputsAudioPricingCacheWriteUtcStart, + ref string? endpointsInputsAudioPricingCacheWriteUtcEnd, + ref string? endpointsInputsAudioPricingCacheWriteUtcDays, + ref string? endpointsInputsAudioCapacityType, + ref string? endpointsInputsAudioCapacityPromptUnit, + ref string? endpointsInputsAudioCapacityPromptPer, + ref string? endpointsInputsAudioCapacityPromptValue, + ref string? endpointsInputsAudioCapacityCachedPromptUnit, + ref string? endpointsInputsAudioCapacityCachedPromptPer, + ref string? endpointsInputsAudioCapacityCachedPromptValue, + ref string? endpointsInputsAudioCapacityCacheWriteUnit, + ref string? endpointsInputsAudioCapacityCacheWritePer, + ref string? endpointsInputsAudioCapacityCacheWriteValue, + ref string? endpointsInputsAudioPassthroughParameters, + ref string? endpointsInputsAudioParamsSourcesType, + ref string? endpointsInputsAudioParamsSourcesValues, + ref string? endpointsInputsAudioParamsFormatsType, + ref string? endpointsInputsAudioParamsFormatsValues, + ref string? endpointsInputsAudioParamsMaxDurationSecondsValue, + ref string? endpointsInputsAudioParamsMaxDurationSecondsUnit, + ref string? endpointsInputsAudioParamsMaxContentSizeBytesValue, + ref string? endpointsInputsAudioParamsMaxContentSizeBytesUnit, + ref string? endpointsInputsFilePricingType, + ref string? endpointsInputsFilePricingPromptUnit, + ref string? endpointsInputsFilePricingPromptCostUsd, + ref string? endpointsInputsFilePricingPromptOverridesCostUsd, + ref string? endpointsInputsFilePricingPromptUtcStart, + ref string? endpointsInputsFilePricingPromptUtcEnd, + ref string? endpointsInputsFilePricingPromptUtcDays, + ref string? endpointsInputsFilePricingCachedPromptUnit, + ref string? endpointsInputsFilePricingCachedPromptCostUsd, + ref string? endpointsInputsFilePricingCachedPromptOverridesCostUsd, + ref string? endpointsInputsFilePricingCachedPromptTtlSeconds, + ref string? endpointsInputsFilePricingCachedPromptImplicit, + ref string? endpointsInputsFilePricingCachedPromptUtcStart, + ref string? endpointsInputsFilePricingCachedPromptUtcEnd, + ref string? endpointsInputsFilePricingCachedPromptUtcDays, + ref string? endpointsInputsFilePricingCacheWriteUnit, + ref string? endpointsInputsFilePricingCacheWriteCostUsd, + ref string? endpointsInputsFilePricingCacheWriteOverridesCostUsd, + ref string? endpointsInputsFilePricingCacheWriteTtlSeconds, + ref string? endpointsInputsFilePricingCacheWriteImplicit, + ref string? endpointsInputsFilePricingCacheWriteUtcStart, + ref string? endpointsInputsFilePricingCacheWriteUtcEnd, + ref string? endpointsInputsFilePricingCacheWriteUtcDays, + ref string? endpointsInputsFileCapacityType, + ref string? endpointsInputsFileCapacityPromptUnit, + ref string? endpointsInputsFileCapacityPromptPer, + ref string? endpointsInputsFileCapacityPromptValue, + ref string? endpointsInputsFileCapacityCachedPromptUnit, + ref string? endpointsInputsFileCapacityCachedPromptPer, + ref string? endpointsInputsFileCapacityCachedPromptValue, + ref string? endpointsInputsFileCapacityCacheWriteUnit, + ref string? endpointsInputsFileCapacityCacheWritePer, + ref string? endpointsInputsFileCapacityCacheWriteValue, + ref string? endpointsInputsFilePassthroughParameters, + ref string? endpointsInputsFileParamsSourcesType, + ref string? endpointsInputsFileParamsSourcesValues, + ref string? endpointsInputsFileParamsFormatsType, + ref string? endpointsInputsFileParamsFormatsValues, + ref string? endpointsInputsFileParamsReferencesType, + ref string? endpointsInputsFileParamsReferencesMin, + ref string? endpointsInputsFileParamsReferencesMax, + ref string? endpointsInputsFileParamsReferencesUnit, + ref string? endpointsInputsFileParamsMaxContentSizeBytesValue, + ref string? endpointsInputsFileParamsMaxContentSizeBytesUnit, + ref string? endpointsOutputsType, + ref string? endpointsOutputsTextMaxLengthValue, + ref string? endpointsOutputsTextMaxLengthUnit, + ref string? endpointsOutputsTextPassthroughParameters, + ref string? endpointsOutputsTextPricingType, + ref string? endpointsOutputsTextPricingCompletionUnit, + ref string? endpointsOutputsTextPricingCompletionCostUsd, + ref string? endpointsOutputsTextPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsTextPricingCompletionUtcStart, + ref string? endpointsOutputsTextPricingCompletionUtcEnd, + ref string? endpointsOutputsTextPricingCompletionUtcDays, + ref string? endpointsOutputsTextPricingInternalReasoningUnit, + ref string? endpointsOutputsTextPricingInternalReasoningCostUsd, + ref string? endpointsOutputsTextPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsTextPricingInternalReasoningUtcStart, + ref string? endpointsOutputsTextPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsTextPricingInternalReasoningUtcDays, + ref string? endpointsOutputsTextCapacityType, + ref string? endpointsOutputsTextCapacityCompletionUnit, + ref string? endpointsOutputsTextCapacityCompletionPer, + ref string? endpointsOutputsTextCapacityCompletionValue, + ref string? endpointsOutputsTextCapacityInternalReasoningUnit, + ref string? endpointsOutputsTextCapacityInternalReasoningPer, + ref string? endpointsOutputsTextCapacityInternalReasoningValue, + ref string? endpointsOutputsTextCapacityConcurrencyUnit, + ref string? endpointsOutputsTextCapacityConcurrencyValue, + ref string? endpointsOutputsTextStreaming, + ref string? endpointsOutputsTextParams, + ref string? endpointsOutputsImagePassthroughParameters, + ref string? endpointsOutputsImagePricingType, + ref string? endpointsOutputsImagePricingCompletionUnit, + ref string? endpointsOutputsImagePricingCompletionCostUsd, + ref string? endpointsOutputsImagePricingCompletionOverridesCostUsd, + ref string? endpointsOutputsImagePricingCompletionUtcStart, + ref string? endpointsOutputsImagePricingCompletionUtcEnd, + ref string? endpointsOutputsImagePricingCompletionUtcDays, + ref string? endpointsOutputsImagePricingInternalReasoningUnit, + ref string? endpointsOutputsImagePricingInternalReasoningCostUsd, + ref string? endpointsOutputsImagePricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsImagePricingInternalReasoningUtcStart, + ref string? endpointsOutputsImagePricingInternalReasoningUtcEnd, + ref string? endpointsOutputsImagePricingInternalReasoningUtcDays, + ref string? endpointsOutputsImageCapacityType, + ref string? endpointsOutputsImageCapacityCompletionUnit, + ref string? endpointsOutputsImageCapacityCompletionPer, + ref string? endpointsOutputsImageCapacityCompletionValue, + ref string? endpointsOutputsImageCapacityInternalReasoningUnit, + ref string? endpointsOutputsImageCapacityInternalReasoningPer, + ref string? endpointsOutputsImageCapacityInternalReasoningValue, + ref string? endpointsOutputsImageCapacityConcurrencyUnit, + ref string? endpointsOutputsImageCapacityConcurrencyValue, + ref string? endpointsOutputsImageStreaming, + ref string? endpointsOutputsImageParams, + ref string? endpointsOutputsVideoPassthroughParameters, + ref string? endpointsOutputsVideoPricingType, + ref string? endpointsOutputsVideoPricingCompletionUnit, + ref string? endpointsOutputsVideoPricingCompletionCostUsd, + ref string? endpointsOutputsVideoPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsVideoPricingCompletionUtcStart, + ref string? endpointsOutputsVideoPricingCompletionUtcEnd, + ref string? endpointsOutputsVideoPricingCompletionUtcDays, + ref string? endpointsOutputsVideoPricingInternalReasoningUnit, + ref string? endpointsOutputsVideoPricingInternalReasoningCostUsd, + ref string? endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsVideoPricingInternalReasoningUtcStart, + ref string? endpointsOutputsVideoPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsVideoPricingInternalReasoningUtcDays, + ref string? endpointsOutputsVideoCapacityType, + ref string? endpointsOutputsVideoCapacityCompletionUnit, + ref string? endpointsOutputsVideoCapacityCompletionPer, + ref string? endpointsOutputsVideoCapacityCompletionValue, + ref string? endpointsOutputsVideoCapacityInternalReasoningUnit, + ref string? endpointsOutputsVideoCapacityInternalReasoningPer, + ref string? endpointsOutputsVideoCapacityInternalReasoningValue, + ref string? endpointsOutputsVideoCapacityConcurrencyUnit, + ref string? endpointsOutputsVideoCapacityConcurrencyValue, + ref string? endpointsOutputsVideoStreaming, + ref string? endpointsOutputsVideoParams, + ref string? endpointsOutputsSpeechPassthroughParameters, + ref string? endpointsOutputsSpeechPricingType, + ref string? endpointsOutputsSpeechPricingCompletionUnit, + ref string? endpointsOutputsSpeechPricingCompletionCostUsd, + ref string? endpointsOutputsSpeechPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsSpeechPricingCompletionUtcStart, + ref string? endpointsOutputsSpeechPricingCompletionUtcEnd, + ref string? endpointsOutputsSpeechPricingCompletionUtcDays, + ref string? endpointsOutputsSpeechPricingInternalReasoningUnit, + ref string? endpointsOutputsSpeechPricingInternalReasoningCostUsd, + ref string? endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsSpeechPricingInternalReasoningUtcStart, + ref string? endpointsOutputsSpeechPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsSpeechPricingInternalReasoningUtcDays, + ref string? endpointsOutputsSpeechCapacityType, + ref string? endpointsOutputsSpeechCapacityCompletionUnit, + ref string? endpointsOutputsSpeechCapacityCompletionPer, + ref string? endpointsOutputsSpeechCapacityCompletionValue, + ref string? endpointsOutputsSpeechCapacityInternalReasoningUnit, + ref string? endpointsOutputsSpeechCapacityInternalReasoningPer, + ref string? endpointsOutputsSpeechCapacityInternalReasoningValue, + ref string? endpointsOutputsSpeechCapacityConcurrencyUnit, + ref string? endpointsOutputsSpeechCapacityConcurrencyValue, + ref string? endpointsOutputsSpeechStreaming, + ref string? endpointsOutputsSpeechParams, + ref string? endpointsOutputsTranscriptionPassthroughParameters, + ref string? endpointsOutputsTranscriptionPricingType, + ref string? endpointsOutputsTranscriptionPricingCompletionUnit, + ref string? endpointsOutputsTranscriptionPricingCompletionCostUsd, + ref string? endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsTranscriptionPricingCompletionUtcStart, + ref string? endpointsOutputsTranscriptionPricingCompletionUtcEnd, + ref string? endpointsOutputsTranscriptionPricingCompletionUtcDays, + ref string? endpointsOutputsTranscriptionPricingInternalReasoningUnit, + ref string? endpointsOutputsTranscriptionPricingInternalReasoningCostUsd, + ref string? endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsTranscriptionPricingInternalReasoningUtcStart, + ref string? endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsTranscriptionPricingInternalReasoningUtcDays, + ref string? endpointsOutputsTranscriptionCapacityType, + ref string? endpointsOutputsTranscriptionCapacityCompletionUnit, + ref string? endpointsOutputsTranscriptionCapacityCompletionPer, + ref string? endpointsOutputsTranscriptionCapacityCompletionValue, + ref string? endpointsOutputsTranscriptionCapacityInternalReasoningUnit, + ref string? endpointsOutputsTranscriptionCapacityInternalReasoningPer, + ref string? endpointsOutputsTranscriptionCapacityInternalReasoningValue, + ref string? endpointsOutputsTranscriptionCapacityConcurrencyUnit, + ref string? endpointsOutputsTranscriptionCapacityConcurrencyValue, + ref string? endpointsOutputsTranscriptionStreaming, + ref string? endpointsOutputsTranscriptionParams, + ref string? endpointsOutputsEmbeddingsPassthroughParameters, + ref string? endpointsOutputsEmbeddingsPricingType, + ref string? endpointsOutputsEmbeddingsPricingCompletionUnit, + ref string? endpointsOutputsEmbeddingsPricingCompletionCostUsd, + ref string? endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsEmbeddingsPricingCompletionUtcStart, + ref string? endpointsOutputsEmbeddingsPricingCompletionUtcEnd, + ref string? endpointsOutputsEmbeddingsPricingCompletionUtcDays, + ref string? endpointsOutputsEmbeddingsPricingInternalReasoningUnit, + ref string? endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd, + ref string? endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart, + ref string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays, + ref string? endpointsOutputsEmbeddingsCapacityType, + ref string? endpointsOutputsEmbeddingsCapacityCompletionUnit, + ref string? endpointsOutputsEmbeddingsCapacityCompletionPer, + ref string? endpointsOutputsEmbeddingsCapacityCompletionValue, + ref string? endpointsOutputsEmbeddingsCapacityInternalReasoningUnit, + ref string? endpointsOutputsEmbeddingsCapacityInternalReasoningPer, + ref string? endpointsOutputsEmbeddingsCapacityInternalReasoningValue, + ref string? endpointsOutputsEmbeddingsCapacityConcurrencyUnit, + ref string? endpointsOutputsEmbeddingsCapacityConcurrencyValue, + ref string? endpointsOutputsEmbeddingsParams, + ref string? endpointsOutputsRerankPassthroughParameters, + ref string? endpointsOutputsRerankPricingType, + ref string? endpointsOutputsRerankPricingCompletionUnit, + ref string? endpointsOutputsRerankPricingCompletionCostUsd, + ref string? endpointsOutputsRerankPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsRerankPricingCompletionUtcStart, + ref string? endpointsOutputsRerankPricingCompletionUtcEnd, + ref string? endpointsOutputsRerankPricingCompletionUtcDays, + ref string? endpointsOutputsRerankPricingInternalReasoningUnit, + ref string? endpointsOutputsRerankPricingInternalReasoningCostUsd, + ref string? endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsRerankPricingInternalReasoningUtcStart, + ref string? endpointsOutputsRerankPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsRerankPricingInternalReasoningUtcDays, + ref string? endpointsOutputsRerankCapacityType, + ref string? endpointsOutputsRerankCapacityCompletionUnit, + ref string? endpointsOutputsRerankCapacityCompletionPer, + ref string? endpointsOutputsRerankCapacityCompletionValue, + ref string? endpointsOutputsRerankCapacityInternalReasoningUnit, + ref string? endpointsOutputsRerankCapacityInternalReasoningPer, + ref string? endpointsOutputsRerankCapacityInternalReasoningValue, + ref string? endpointsOutputsRerankCapacityConcurrencyUnit, + ref string? endpointsOutputsRerankCapacityConcurrencyValue, + ref string? endpointsOutputsRerankParams, + ref string? endpointsOutputsDecisionsPassthroughParameters, + ref string? endpointsOutputsDecisionsPricingType, + ref string? endpointsOutputsDecisionsPricingCompletionUnit, + ref string? endpointsOutputsDecisionsPricingCompletionCostUsd, + ref string? endpointsOutputsDecisionsPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsDecisionsPricingCompletionUtcStart, + ref string? endpointsOutputsDecisionsPricingCompletionUtcEnd, + ref string? endpointsOutputsDecisionsPricingCompletionUtcDays, + ref string? endpointsOutputsDecisionsPricingInternalReasoningUnit, + ref string? endpointsOutputsDecisionsPricingInternalReasoningCostUsd, + ref string? endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsDecisionsPricingInternalReasoningUtcStart, + ref string? endpointsOutputsDecisionsPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsDecisionsPricingInternalReasoningUtcDays, + ref string? endpointsOutputsDecisionsCapacityType, + ref string? endpointsOutputsDecisionsCapacityCompletionUnit, + ref string? endpointsOutputsDecisionsCapacityCompletionPer, + ref string? endpointsOutputsDecisionsCapacityCompletionValue, + ref string? endpointsOutputsDecisionsCapacityInternalReasoningUnit, + ref string? endpointsOutputsDecisionsCapacityInternalReasoningPer, + ref string? endpointsOutputsDecisionsCapacityInternalReasoningValue, + ref string? endpointsOutputsDecisionsCapacityConcurrencyUnit, + ref string? endpointsOutputsDecisionsCapacityConcurrencyValue, + ref string? endpointsOutputsDecisionsParams, + ref string? endpointsOutputsAudioPassthroughParameters, + ref string? endpointsOutputsAudioPricingType, + ref string? endpointsOutputsAudioPricingCompletionUnit, + ref string? endpointsOutputsAudioPricingCompletionCostUsd, + ref string? endpointsOutputsAudioPricingCompletionOverridesCostUsd, + ref string? endpointsOutputsAudioPricingCompletionUtcStart, + ref string? endpointsOutputsAudioPricingCompletionUtcEnd, + ref string? endpointsOutputsAudioPricingCompletionUtcDays, + ref string? endpointsOutputsAudioPricingInternalReasoningUnit, + ref string? endpointsOutputsAudioPricingInternalReasoningCostUsd, + ref string? endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd, + ref string? endpointsOutputsAudioPricingInternalReasoningUtcStart, + ref string? endpointsOutputsAudioPricingInternalReasoningUtcEnd, + ref string? endpointsOutputsAudioPricingInternalReasoningUtcDays, + ref string? endpointsOutputsAudioCapacityType, + ref string? endpointsOutputsAudioCapacityCompletionUnit, + ref string? endpointsOutputsAudioCapacityCompletionPer, + ref string? endpointsOutputsAudioCapacityCompletionValue, + ref string? endpointsOutputsAudioCapacityInternalReasoningUnit, + ref string? endpointsOutputsAudioCapacityInternalReasoningPer, + ref string? endpointsOutputsAudioCapacityInternalReasoningValue, + ref string? endpointsOutputsAudioCapacityConcurrencyUnit, + ref string? endpointsOutputsAudioCapacityConcurrencyValue, + ref string? endpointsOutputsAudioStreaming, + ref string? endpointsOutputsAudioParams, + ref string? endpointsProviderSlug, + ref string? endpointsProviderTag, + ref string? endpointsProviderName, + ref string? endpointsDataPolicyTraining, + ref string? endpointsDataPolicyRetainsPrompts, + ref string? endpointsDataPolicyRetentionDays); + partial void PrepareListV2Request( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int? offset, + int? limit, + string? cursor, + global::OpenRouter.ListModelsV2Region? region, + string? sort, + string? id, + string? canonicalSlug, + string? author, + string? name, + string? variant, + string? kind, + string? aliasTargetSlug, + string? aliasTargetName, + string? created, + string? description, + string? contextLength, + string? huggingFaceId, + string? inputs, + string? outputs, + string? endpointsSchemaVersion, + string? endpointsId, + string? endpointsHuggingFaceId, + string? endpointsName, + string? endpointsCreated, + string? endpointsQuantization, + string? endpointsTokenizer, + string? endpointsDescription, + string? endpointsPricingType, + string? endpointsPricingRequestUnit, + string? endpointsPricingRequestCostUsd, + string? endpointsPricingRequestOverridesCostUsd, + string? endpointsPricingWebSearchUnit, + string? endpointsPricingWebSearchCostUsd, + string? endpointsPricingWebSearchOverridesCostUsd, + string? endpointsCapacityType, + string? endpointsCapacityRequestUnit, + string? endpointsCapacityRequestPer, + string? endpointsCapacityRequestValue, + string? endpointsCapacityWebSearchUnit, + string? endpointsCapacityWebSearchPer, + string? endpointsCapacityWebSearchValue, + string? endpointsCapacityConcurrencyUnit, + string? endpointsCapacityConcurrencyValue, + string? endpointsPassthroughParameters, + string? endpointsDeprecationDate, + string? endpointsIsReady, + string? endpointsIsFree, + string? endpointsServiceTier, + string? endpointsDiscountToUser, + string? endpointsOpenrouterSlug, + string? endpointsDatacentersCountryCode, + string? endpointsDatacentersRegion, + string? endpointsDeploymentRegion, + string? endpointsInputsType, + string? endpointsInputsTextPricingType, + string? endpointsInputsTextPricingPromptUnit, + string? endpointsInputsTextPricingPromptCostUsd, + string? endpointsInputsTextPricingPromptOverridesCostUsd, + string? endpointsInputsTextPricingPromptUtcStart, + string? endpointsInputsTextPricingPromptUtcEnd, + string? endpointsInputsTextPricingPromptUtcDays, + string? endpointsInputsTextPricingCachedPromptUnit, + string? endpointsInputsTextPricingCachedPromptCostUsd, + string? endpointsInputsTextPricingCachedPromptOverridesCostUsd, + string? endpointsInputsTextPricingCachedPromptTtlSeconds, + string? endpointsInputsTextPricingCachedPromptImplicit, + string? endpointsInputsTextPricingCachedPromptUtcStart, + string? endpointsInputsTextPricingCachedPromptUtcEnd, + string? endpointsInputsTextPricingCachedPromptUtcDays, + string? endpointsInputsTextPricingCacheWriteUnit, + string? endpointsInputsTextPricingCacheWriteCostUsd, + string? endpointsInputsTextPricingCacheWriteOverridesCostUsd, + string? endpointsInputsTextPricingCacheWriteTtlSeconds, + string? endpointsInputsTextPricingCacheWriteImplicit, + string? endpointsInputsTextPricingCacheWriteUtcStart, + string? endpointsInputsTextPricingCacheWriteUtcEnd, + string? endpointsInputsTextPricingCacheWriteUtcDays, + string? endpointsInputsTextCapacityType, + string? endpointsInputsTextCapacityPromptUnit, + string? endpointsInputsTextCapacityPromptPer, + string? endpointsInputsTextCapacityPromptValue, + string? endpointsInputsTextCapacityCachedPromptUnit, + string? endpointsInputsTextCapacityCachedPromptPer, + string? endpointsInputsTextCapacityCachedPromptValue, + string? endpointsInputsTextCapacityCacheWriteUnit, + string? endpointsInputsTextCapacityCacheWritePer, + string? endpointsInputsTextCapacityCacheWriteValue, + string? endpointsInputsTextPassthroughParameters, + string? endpointsInputsTextParamsMaxPromptLengthValue, + string? endpointsInputsTextParamsMaxPromptLengthUnit, + string? endpointsInputsTextParamsMaxLengthValue, + string? endpointsInputsTextParamsMaxLengthUnit, + string? endpointsInputsImagePricingType, + string? endpointsInputsImagePricingPromptUnit, + string? endpointsInputsImagePricingPromptCostUsd, + string? endpointsInputsImagePricingPromptOverridesCostUsd, + string? endpointsInputsImagePricingPromptUtcStart, + string? endpointsInputsImagePricingPromptUtcEnd, + string? endpointsInputsImagePricingPromptUtcDays, + string? endpointsInputsImagePricingCachedPromptUnit, + string? endpointsInputsImagePricingCachedPromptCostUsd, + string? endpointsInputsImagePricingCachedPromptOverridesCostUsd, + string? endpointsInputsImagePricingCachedPromptTtlSeconds, + string? endpointsInputsImagePricingCachedPromptImplicit, + string? endpointsInputsImagePricingCachedPromptUtcStart, + string? endpointsInputsImagePricingCachedPromptUtcEnd, + string? endpointsInputsImagePricingCachedPromptUtcDays, + string? endpointsInputsImagePricingCacheWriteUnit, + string? endpointsInputsImagePricingCacheWriteCostUsd, + string? endpointsInputsImagePricingCacheWriteOverridesCostUsd, + string? endpointsInputsImagePricingCacheWriteTtlSeconds, + string? endpointsInputsImagePricingCacheWriteImplicit, + string? endpointsInputsImagePricingCacheWriteUtcStart, + string? endpointsInputsImagePricingCacheWriteUtcEnd, + string? endpointsInputsImagePricingCacheWriteUtcDays, + string? endpointsInputsImageCapacityType, + string? endpointsInputsImageCapacityPromptUnit, + string? endpointsInputsImageCapacityPromptPer, + string? endpointsInputsImageCapacityPromptValue, + string? endpointsInputsImageCapacityCachedPromptUnit, + string? endpointsInputsImageCapacityCachedPromptPer, + string? endpointsInputsImageCapacityCachedPromptValue, + string? endpointsInputsImageCapacityCacheWriteUnit, + string? endpointsInputsImageCapacityCacheWritePer, + string? endpointsInputsImageCapacityCacheWriteValue, + string? endpointsInputsImagePassthroughParameters, + string? endpointsInputsImageParamsSourcesType, + string? endpointsInputsImageParamsSourcesValues, + string? endpointsInputsImageParamsFormatsType, + string? endpointsInputsImageParamsFormatsValues, + string? endpointsInputsImageParamsDetailLevelsType, + string? endpointsInputsImageParamsDetailLevelsValues, + string? endpointsInputsImageParamsReferencesType, + string? endpointsInputsImageParamsReferencesMin, + string? endpointsInputsImageParamsReferencesMax, + string? endpointsInputsImageParamsReferencesUnit, + string? endpointsInputsImageParamsRoleType, + string? endpointsInputsImageParamsRoleValues, + string? endpointsInputsImageParamsMaxContentSizeBytesValue, + string? endpointsInputsImageParamsMaxContentSizeBytesUnit, + string? endpointsInputsVideoPricingType, + string? endpointsInputsVideoPricingPromptUnit, + string? endpointsInputsVideoPricingPromptCostUsd, + string? endpointsInputsVideoPricingPromptOverridesCostUsd, + string? endpointsInputsVideoPricingPromptUtcStart, + string? endpointsInputsVideoPricingPromptUtcEnd, + string? endpointsInputsVideoPricingPromptUtcDays, + string? endpointsInputsVideoPricingCachedPromptUnit, + string? endpointsInputsVideoPricingCachedPromptCostUsd, + string? endpointsInputsVideoPricingCachedPromptOverridesCostUsd, + string? endpointsInputsVideoPricingCachedPromptTtlSeconds, + string? endpointsInputsVideoPricingCachedPromptImplicit, + string? endpointsInputsVideoPricingCachedPromptUtcStart, + string? endpointsInputsVideoPricingCachedPromptUtcEnd, + string? endpointsInputsVideoPricingCachedPromptUtcDays, + string? endpointsInputsVideoPricingCacheWriteUnit, + string? endpointsInputsVideoPricingCacheWriteCostUsd, + string? endpointsInputsVideoPricingCacheWriteOverridesCostUsd, + string? endpointsInputsVideoPricingCacheWriteTtlSeconds, + string? endpointsInputsVideoPricingCacheWriteImplicit, + string? endpointsInputsVideoPricingCacheWriteUtcStart, + string? endpointsInputsVideoPricingCacheWriteUtcEnd, + string? endpointsInputsVideoPricingCacheWriteUtcDays, + string? endpointsInputsVideoCapacityType, + string? endpointsInputsVideoCapacityPromptUnit, + string? endpointsInputsVideoCapacityPromptPer, + string? endpointsInputsVideoCapacityPromptValue, + string? endpointsInputsVideoCapacityCachedPromptUnit, + string? endpointsInputsVideoCapacityCachedPromptPer, + string? endpointsInputsVideoCapacityCachedPromptValue, + string? endpointsInputsVideoCapacityCacheWriteUnit, + string? endpointsInputsVideoCapacityCacheWritePer, + string? endpointsInputsVideoCapacityCacheWriteValue, + string? endpointsInputsVideoPassthroughParameters, + string? endpointsInputsVideoParamsSourcesType, + string? endpointsInputsVideoParamsSourcesValues, + string? endpointsInputsVideoParamsFormatsType, + string? endpointsInputsVideoParamsFormatsValues, + string? endpointsInputsVideoParamsMaxDurationSecondsValue, + string? endpointsInputsVideoParamsMaxDurationSecondsUnit, + string? endpointsInputsVideoParamsMaxContentSizeBytesValue, + string? endpointsInputsVideoParamsMaxContentSizeBytesUnit, + string? endpointsInputsAudioPricingType, + string? endpointsInputsAudioPricingPromptUnit, + string? endpointsInputsAudioPricingPromptCostUsd, + string? endpointsInputsAudioPricingPromptOverridesCostUsd, + string? endpointsInputsAudioPricingPromptUtcStart, + string? endpointsInputsAudioPricingPromptUtcEnd, + string? endpointsInputsAudioPricingPromptUtcDays, + string? endpointsInputsAudioPricingCachedPromptUnit, + string? endpointsInputsAudioPricingCachedPromptCostUsd, + string? endpointsInputsAudioPricingCachedPromptOverridesCostUsd, + string? endpointsInputsAudioPricingCachedPromptTtlSeconds, + string? endpointsInputsAudioPricingCachedPromptImplicit, + string? endpointsInputsAudioPricingCachedPromptUtcStart, + string? endpointsInputsAudioPricingCachedPromptUtcEnd, + string? endpointsInputsAudioPricingCachedPromptUtcDays, + string? endpointsInputsAudioPricingCacheWriteUnit, + string? endpointsInputsAudioPricingCacheWriteCostUsd, + string? endpointsInputsAudioPricingCacheWriteOverridesCostUsd, + string? endpointsInputsAudioPricingCacheWriteTtlSeconds, + string? endpointsInputsAudioPricingCacheWriteImplicit, + string? endpointsInputsAudioPricingCacheWriteUtcStart, + string? endpointsInputsAudioPricingCacheWriteUtcEnd, + string? endpointsInputsAudioPricingCacheWriteUtcDays, + string? endpointsInputsAudioCapacityType, + string? endpointsInputsAudioCapacityPromptUnit, + string? endpointsInputsAudioCapacityPromptPer, + string? endpointsInputsAudioCapacityPromptValue, + string? endpointsInputsAudioCapacityCachedPromptUnit, + string? endpointsInputsAudioCapacityCachedPromptPer, + string? endpointsInputsAudioCapacityCachedPromptValue, + string? endpointsInputsAudioCapacityCacheWriteUnit, + string? endpointsInputsAudioCapacityCacheWritePer, + string? endpointsInputsAudioCapacityCacheWriteValue, + string? endpointsInputsAudioPassthroughParameters, + string? endpointsInputsAudioParamsSourcesType, + string? endpointsInputsAudioParamsSourcesValues, + string? endpointsInputsAudioParamsFormatsType, + string? endpointsInputsAudioParamsFormatsValues, + string? endpointsInputsAudioParamsMaxDurationSecondsValue, + string? endpointsInputsAudioParamsMaxDurationSecondsUnit, + string? endpointsInputsAudioParamsMaxContentSizeBytesValue, + string? endpointsInputsAudioParamsMaxContentSizeBytesUnit, + string? endpointsInputsFilePricingType, + string? endpointsInputsFilePricingPromptUnit, + string? endpointsInputsFilePricingPromptCostUsd, + string? endpointsInputsFilePricingPromptOverridesCostUsd, + string? endpointsInputsFilePricingPromptUtcStart, + string? endpointsInputsFilePricingPromptUtcEnd, + string? endpointsInputsFilePricingPromptUtcDays, + string? endpointsInputsFilePricingCachedPromptUnit, + string? endpointsInputsFilePricingCachedPromptCostUsd, + string? endpointsInputsFilePricingCachedPromptOverridesCostUsd, + string? endpointsInputsFilePricingCachedPromptTtlSeconds, + string? endpointsInputsFilePricingCachedPromptImplicit, + string? endpointsInputsFilePricingCachedPromptUtcStart, + string? endpointsInputsFilePricingCachedPromptUtcEnd, + string? endpointsInputsFilePricingCachedPromptUtcDays, + string? endpointsInputsFilePricingCacheWriteUnit, + string? endpointsInputsFilePricingCacheWriteCostUsd, + string? endpointsInputsFilePricingCacheWriteOverridesCostUsd, + string? endpointsInputsFilePricingCacheWriteTtlSeconds, + string? endpointsInputsFilePricingCacheWriteImplicit, + string? endpointsInputsFilePricingCacheWriteUtcStart, + string? endpointsInputsFilePricingCacheWriteUtcEnd, + string? endpointsInputsFilePricingCacheWriteUtcDays, + string? endpointsInputsFileCapacityType, + string? endpointsInputsFileCapacityPromptUnit, + string? endpointsInputsFileCapacityPromptPer, + string? endpointsInputsFileCapacityPromptValue, + string? endpointsInputsFileCapacityCachedPromptUnit, + string? endpointsInputsFileCapacityCachedPromptPer, + string? endpointsInputsFileCapacityCachedPromptValue, + string? endpointsInputsFileCapacityCacheWriteUnit, + string? endpointsInputsFileCapacityCacheWritePer, + string? endpointsInputsFileCapacityCacheWriteValue, + string? endpointsInputsFilePassthroughParameters, + string? endpointsInputsFileParamsSourcesType, + string? endpointsInputsFileParamsSourcesValues, + string? endpointsInputsFileParamsFormatsType, + string? endpointsInputsFileParamsFormatsValues, + string? endpointsInputsFileParamsReferencesType, + string? endpointsInputsFileParamsReferencesMin, + string? endpointsInputsFileParamsReferencesMax, + string? endpointsInputsFileParamsReferencesUnit, + string? endpointsInputsFileParamsMaxContentSizeBytesValue, + string? endpointsInputsFileParamsMaxContentSizeBytesUnit, + string? endpointsOutputsType, + string? endpointsOutputsTextMaxLengthValue, + string? endpointsOutputsTextMaxLengthUnit, + string? endpointsOutputsTextPassthroughParameters, + string? endpointsOutputsTextPricingType, + string? endpointsOutputsTextPricingCompletionUnit, + string? endpointsOutputsTextPricingCompletionCostUsd, + string? endpointsOutputsTextPricingCompletionOverridesCostUsd, + string? endpointsOutputsTextPricingCompletionUtcStart, + string? endpointsOutputsTextPricingCompletionUtcEnd, + string? endpointsOutputsTextPricingCompletionUtcDays, + string? endpointsOutputsTextPricingInternalReasoningUnit, + string? endpointsOutputsTextPricingInternalReasoningCostUsd, + string? endpointsOutputsTextPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsTextPricingInternalReasoningUtcStart, + string? endpointsOutputsTextPricingInternalReasoningUtcEnd, + string? endpointsOutputsTextPricingInternalReasoningUtcDays, + string? endpointsOutputsTextCapacityType, + string? endpointsOutputsTextCapacityCompletionUnit, + string? endpointsOutputsTextCapacityCompletionPer, + string? endpointsOutputsTextCapacityCompletionValue, + string? endpointsOutputsTextCapacityInternalReasoningUnit, + string? endpointsOutputsTextCapacityInternalReasoningPer, + string? endpointsOutputsTextCapacityInternalReasoningValue, + string? endpointsOutputsTextCapacityConcurrencyUnit, + string? endpointsOutputsTextCapacityConcurrencyValue, + string? endpointsOutputsTextStreaming, + string? endpointsOutputsTextParams, + string? endpointsOutputsImagePassthroughParameters, + string? endpointsOutputsImagePricingType, + string? endpointsOutputsImagePricingCompletionUnit, + string? endpointsOutputsImagePricingCompletionCostUsd, + string? endpointsOutputsImagePricingCompletionOverridesCostUsd, + string? endpointsOutputsImagePricingCompletionUtcStart, + string? endpointsOutputsImagePricingCompletionUtcEnd, + string? endpointsOutputsImagePricingCompletionUtcDays, + string? endpointsOutputsImagePricingInternalReasoningUnit, + string? endpointsOutputsImagePricingInternalReasoningCostUsd, + string? endpointsOutputsImagePricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsImagePricingInternalReasoningUtcStart, + string? endpointsOutputsImagePricingInternalReasoningUtcEnd, + string? endpointsOutputsImagePricingInternalReasoningUtcDays, + string? endpointsOutputsImageCapacityType, + string? endpointsOutputsImageCapacityCompletionUnit, + string? endpointsOutputsImageCapacityCompletionPer, + string? endpointsOutputsImageCapacityCompletionValue, + string? endpointsOutputsImageCapacityInternalReasoningUnit, + string? endpointsOutputsImageCapacityInternalReasoningPer, + string? endpointsOutputsImageCapacityInternalReasoningValue, + string? endpointsOutputsImageCapacityConcurrencyUnit, + string? endpointsOutputsImageCapacityConcurrencyValue, + string? endpointsOutputsImageStreaming, + string? endpointsOutputsImageParams, + string? endpointsOutputsVideoPassthroughParameters, + string? endpointsOutputsVideoPricingType, + string? endpointsOutputsVideoPricingCompletionUnit, + string? endpointsOutputsVideoPricingCompletionCostUsd, + string? endpointsOutputsVideoPricingCompletionOverridesCostUsd, + string? endpointsOutputsVideoPricingCompletionUtcStart, + string? endpointsOutputsVideoPricingCompletionUtcEnd, + string? endpointsOutputsVideoPricingCompletionUtcDays, + string? endpointsOutputsVideoPricingInternalReasoningUnit, + string? endpointsOutputsVideoPricingInternalReasoningCostUsd, + string? endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsVideoPricingInternalReasoningUtcStart, + string? endpointsOutputsVideoPricingInternalReasoningUtcEnd, + string? endpointsOutputsVideoPricingInternalReasoningUtcDays, + string? endpointsOutputsVideoCapacityType, + string? endpointsOutputsVideoCapacityCompletionUnit, + string? endpointsOutputsVideoCapacityCompletionPer, + string? endpointsOutputsVideoCapacityCompletionValue, + string? endpointsOutputsVideoCapacityInternalReasoningUnit, + string? endpointsOutputsVideoCapacityInternalReasoningPer, + string? endpointsOutputsVideoCapacityInternalReasoningValue, + string? endpointsOutputsVideoCapacityConcurrencyUnit, + string? endpointsOutputsVideoCapacityConcurrencyValue, + string? endpointsOutputsVideoStreaming, + string? endpointsOutputsVideoParams, + string? endpointsOutputsSpeechPassthroughParameters, + string? endpointsOutputsSpeechPricingType, + string? endpointsOutputsSpeechPricingCompletionUnit, + string? endpointsOutputsSpeechPricingCompletionCostUsd, + string? endpointsOutputsSpeechPricingCompletionOverridesCostUsd, + string? endpointsOutputsSpeechPricingCompletionUtcStart, + string? endpointsOutputsSpeechPricingCompletionUtcEnd, + string? endpointsOutputsSpeechPricingCompletionUtcDays, + string? endpointsOutputsSpeechPricingInternalReasoningUnit, + string? endpointsOutputsSpeechPricingInternalReasoningCostUsd, + string? endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsSpeechPricingInternalReasoningUtcStart, + string? endpointsOutputsSpeechPricingInternalReasoningUtcEnd, + string? endpointsOutputsSpeechPricingInternalReasoningUtcDays, + string? endpointsOutputsSpeechCapacityType, + string? endpointsOutputsSpeechCapacityCompletionUnit, + string? endpointsOutputsSpeechCapacityCompletionPer, + string? endpointsOutputsSpeechCapacityCompletionValue, + string? endpointsOutputsSpeechCapacityInternalReasoningUnit, + string? endpointsOutputsSpeechCapacityInternalReasoningPer, + string? endpointsOutputsSpeechCapacityInternalReasoningValue, + string? endpointsOutputsSpeechCapacityConcurrencyUnit, + string? endpointsOutputsSpeechCapacityConcurrencyValue, + string? endpointsOutputsSpeechStreaming, + string? endpointsOutputsSpeechParams, + string? endpointsOutputsTranscriptionPassthroughParameters, + string? endpointsOutputsTranscriptionPricingType, + string? endpointsOutputsTranscriptionPricingCompletionUnit, + string? endpointsOutputsTranscriptionPricingCompletionCostUsd, + string? endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd, + string? endpointsOutputsTranscriptionPricingCompletionUtcStart, + string? endpointsOutputsTranscriptionPricingCompletionUtcEnd, + string? endpointsOutputsTranscriptionPricingCompletionUtcDays, + string? endpointsOutputsTranscriptionPricingInternalReasoningUnit, + string? endpointsOutputsTranscriptionPricingInternalReasoningCostUsd, + string? endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcStart, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcDays, + string? endpointsOutputsTranscriptionCapacityType, + string? endpointsOutputsTranscriptionCapacityCompletionUnit, + string? endpointsOutputsTranscriptionCapacityCompletionPer, + string? endpointsOutputsTranscriptionCapacityCompletionValue, + string? endpointsOutputsTranscriptionCapacityInternalReasoningUnit, + string? endpointsOutputsTranscriptionCapacityInternalReasoningPer, + string? endpointsOutputsTranscriptionCapacityInternalReasoningValue, + string? endpointsOutputsTranscriptionCapacityConcurrencyUnit, + string? endpointsOutputsTranscriptionCapacityConcurrencyValue, + string? endpointsOutputsTranscriptionStreaming, + string? endpointsOutputsTranscriptionParams, + string? endpointsOutputsEmbeddingsPassthroughParameters, + string? endpointsOutputsEmbeddingsPricingType, + string? endpointsOutputsEmbeddingsPricingCompletionUnit, + string? endpointsOutputsEmbeddingsPricingCompletionCostUsd, + string? endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd, + string? endpointsOutputsEmbeddingsPricingCompletionUtcStart, + string? endpointsOutputsEmbeddingsPricingCompletionUtcEnd, + string? endpointsOutputsEmbeddingsPricingCompletionUtcDays, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUnit, + string? endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd, + string? endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays, + string? endpointsOutputsEmbeddingsCapacityType, + string? endpointsOutputsEmbeddingsCapacityCompletionUnit, + string? endpointsOutputsEmbeddingsCapacityCompletionPer, + string? endpointsOutputsEmbeddingsCapacityCompletionValue, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningUnit, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningPer, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningValue, + string? endpointsOutputsEmbeddingsCapacityConcurrencyUnit, + string? endpointsOutputsEmbeddingsCapacityConcurrencyValue, + string? endpointsOutputsEmbeddingsParams, + string? endpointsOutputsRerankPassthroughParameters, + string? endpointsOutputsRerankPricingType, + string? endpointsOutputsRerankPricingCompletionUnit, + string? endpointsOutputsRerankPricingCompletionCostUsd, + string? endpointsOutputsRerankPricingCompletionOverridesCostUsd, + string? endpointsOutputsRerankPricingCompletionUtcStart, + string? endpointsOutputsRerankPricingCompletionUtcEnd, + string? endpointsOutputsRerankPricingCompletionUtcDays, + string? endpointsOutputsRerankPricingInternalReasoningUnit, + string? endpointsOutputsRerankPricingInternalReasoningCostUsd, + string? endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsRerankPricingInternalReasoningUtcStart, + string? endpointsOutputsRerankPricingInternalReasoningUtcEnd, + string? endpointsOutputsRerankPricingInternalReasoningUtcDays, + string? endpointsOutputsRerankCapacityType, + string? endpointsOutputsRerankCapacityCompletionUnit, + string? endpointsOutputsRerankCapacityCompletionPer, + string? endpointsOutputsRerankCapacityCompletionValue, + string? endpointsOutputsRerankCapacityInternalReasoningUnit, + string? endpointsOutputsRerankCapacityInternalReasoningPer, + string? endpointsOutputsRerankCapacityInternalReasoningValue, + string? endpointsOutputsRerankCapacityConcurrencyUnit, + string? endpointsOutputsRerankCapacityConcurrencyValue, + string? endpointsOutputsRerankParams, + string? endpointsOutputsDecisionsPassthroughParameters, + string? endpointsOutputsDecisionsPricingType, + string? endpointsOutputsDecisionsPricingCompletionUnit, + string? endpointsOutputsDecisionsPricingCompletionCostUsd, + string? endpointsOutputsDecisionsPricingCompletionOverridesCostUsd, + string? endpointsOutputsDecisionsPricingCompletionUtcStart, + string? endpointsOutputsDecisionsPricingCompletionUtcEnd, + string? endpointsOutputsDecisionsPricingCompletionUtcDays, + string? endpointsOutputsDecisionsPricingInternalReasoningUnit, + string? endpointsOutputsDecisionsPricingInternalReasoningCostUsd, + string? endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcStart, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcEnd, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcDays, + string? endpointsOutputsDecisionsCapacityType, + string? endpointsOutputsDecisionsCapacityCompletionUnit, + string? endpointsOutputsDecisionsCapacityCompletionPer, + string? endpointsOutputsDecisionsCapacityCompletionValue, + string? endpointsOutputsDecisionsCapacityInternalReasoningUnit, + string? endpointsOutputsDecisionsCapacityInternalReasoningPer, + string? endpointsOutputsDecisionsCapacityInternalReasoningValue, + string? endpointsOutputsDecisionsCapacityConcurrencyUnit, + string? endpointsOutputsDecisionsCapacityConcurrencyValue, + string? endpointsOutputsDecisionsParams, + string? endpointsOutputsAudioPassthroughParameters, + string? endpointsOutputsAudioPricingType, + string? endpointsOutputsAudioPricingCompletionUnit, + string? endpointsOutputsAudioPricingCompletionCostUsd, + string? endpointsOutputsAudioPricingCompletionOverridesCostUsd, + string? endpointsOutputsAudioPricingCompletionUtcStart, + string? endpointsOutputsAudioPricingCompletionUtcEnd, + string? endpointsOutputsAudioPricingCompletionUtcDays, + string? endpointsOutputsAudioPricingInternalReasoningUnit, + string? endpointsOutputsAudioPricingInternalReasoningCostUsd, + string? endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd, + string? endpointsOutputsAudioPricingInternalReasoningUtcStart, + string? endpointsOutputsAudioPricingInternalReasoningUtcEnd, + string? endpointsOutputsAudioPricingInternalReasoningUtcDays, + string? endpointsOutputsAudioCapacityType, + string? endpointsOutputsAudioCapacityCompletionUnit, + string? endpointsOutputsAudioCapacityCompletionPer, + string? endpointsOutputsAudioCapacityCompletionValue, + string? endpointsOutputsAudioCapacityInternalReasoningUnit, + string? endpointsOutputsAudioCapacityInternalReasoningPer, + string? endpointsOutputsAudioCapacityInternalReasoningValue, + string? endpointsOutputsAudioCapacityConcurrencyUnit, + string? endpointsOutputsAudioCapacityConcurrencyValue, + string? endpointsOutputsAudioStreaming, + string? endpointsOutputsAudioParams, + string? endpointsProviderSlug, + string? endpointsProviderTag, + string? endpointsProviderName, + string? endpointsDataPolicyTraining, + string? endpointsDataPolicyRetainsPrompts, + string? endpointsDataPolicyRetentionDays); + partial void ProcessListV2Response( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessListV2ResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List models with V2 endpoint documents
+ /// Returns every publicly served model together with each of its endpoints in the Models API V2 document format. The V2 document is the schema providers publish to OpenRouter, so each endpoint is reported in the shape it was declared, with pricing attached to the modality it applies to (`inputs`/`outputs`, each with its `params`). Operator-only fields such as capacity and `discount_to_user` are not part of the public document.
+ /// Without credentials the response is the public catalog. With an API key it is the catalog that key can route to, the same one `GET /api/v1/models/user` serves: models and endpoints the account was granted private access to are included, and endpoints the account or key guardrails, provider preferences, BYOK and privacy settings exclude are omitted, along with routers and aliases left with nothing to route to. A key that does not resolve is rejected with 401.
+ /// Every field of the response document is a filter, named by its dotted JSON path: `<path>=<value>` tests equality and `<path>.<operator>=<value>` applies `gt`, `gte`, `lt`, `lte`, `between`, `in`, `exists`, `contains`, `starts_with` or `ends_with` as the field type allows; `<path>.not.<operator>=<value>` (or `<path>.not=<value>` for not-equal) keeps the records where no value matches. Suffixes, arithmetic operators, parentheses and the list comma are read before percent-decoding, so an encoded character is always literal: a map key spelled like an operator or `not` is reached by encoding one of its characters (`params.n%6Ft.exists=true`), a `/` or `+` inside a literal is `%2F` or `%2B`, and arithmetic is spelled with the bare characters (`created/10`, `context_length+1`). `in` takes a comma-separated list and `between` the inclusive lower and upper bound (a literal comma is `%2C`); strings compare trimmed and lower-cased on both sides, so `author=Anthropic` and `name.contains=claude` match. A filter under `endpoints.` keeps only the endpoints that satisfy every such filter and omits models left with none. A path through a repeated object is existential (`endpoints.pricing.type=request` matches an endpoint with some request-priced entry); the members of a typed collection are addressed by their type (`endpoints.inputs.text.params.max_length.value.gte=1000000`, `endpoints.inputs.text.pricing.prompt.cost_usd.lte=0.000001`), and a dynamic key is written in the path (`endpoints.outputs.text.params.tools.type=boolean`, `endpoints.outputs.text.params.temperature.range.max.gte=2`). Both sides of an operator are operands of one grammar: a literal, a path, or an arithmetic expression over numeric paths and numbers, so a filter relates any two of them (`endpoints.inputs.text.pricing.prompt.cost_usd.gte=endpoints.outputs.text.pricing.completion.cost_usd*100`, `10000.lte=endpoints.inputs.text.params.max_length.value`, `endpoints.id=id`). Arithmetic requires numeric paths, each operator applies to the type its operands share, and text that names no field path is a literal (`id=openai/gpt-4`), so the field names at the root of the document are reserved words. A parameter that is not a field path is rejected with a 400 whose `error.metadata` names the `code`, `parameter` and `reason`.
+ /// `sort` takes comma-separated paths or expressions, `-` prefixed for descending; a key must be a scalar path or expression (`created`, `endpoints.inputs.text.pricing.prompt.cost_usd`); a model sorts by the best value in the sort direction across its endpoints and across the time windows of a price, missing values sort last and `id` ascending breaks ties, so the order is total even without `sort`. Pagination is opt-in: pass `limit` and follow `links.next`, which carries an opaque `cursor` bound to the filters and sort; `offset` remains supported. `total_count` is the number of models matching the filters. + ///
+ /// + /// Number of records to skip (0 when omitted); kept for compatibility, prefer `cursor`. Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 0 + /// + /// + /// Maximum number of records to return (500 when omitted, max 1000). Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 500 + /// + /// + /// Opaque keyset cursor from the previous page's `links.next`. Bound to the filters and sort it was issued for; a cursor sent with different filters or sort is rejected.
+ /// Example: eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); models left without an endpoint are omitted.
+ /// Example: eu + /// + /// + /// Comma-separated sort keys, each a path below or an arithmetic expression over numeric paths; prefix with `-` for descending. A key under `endpoints.` ranks each model by its best endpoint value in the sort direction. Missing values sort last and `id` ascending breaks ties. Keys: `id`, `canonical_slug`, `author`, `name`, `variant`, `kind`, `alias_target.slug`, `alias_target.name`, `created`, `description`, `context_length`, `hugging_face_id`, `endpoints.schema_version`, `endpoints.id`, `endpoints.hugging_face_id`, `endpoints.name`, `endpoints.created`, `endpoints.quantization`, `endpoints.tokenizer`, `endpoints.description`, `endpoints.pricing.request.unit`, `endpoints.pricing.request.cost_usd`, `endpoints.pricing.web_search.unit`, `endpoints.pricing.web_search.cost_usd`, `endpoints.capacity.request.unit`, `endpoints.capacity.request.per`, `endpoints.capacity.request.value`, `endpoints.capacity.web_search.unit`, `endpoints.capacity.web_search.per`, `endpoints.capacity.web_search.value`, `endpoints.capacity.concurrency.unit`, `endpoints.capacity.concurrency.value`, `endpoints.deprecation_date`, `endpoints.is_ready`, `endpoints.is_free`, `endpoints.service_tier`, `endpoints.discount_to_user`, `endpoints.openrouter.slug`, `endpoints.deployment_region`, `endpoints.inputs.text.pricing.prompt.unit`, `endpoints.inputs.text.pricing.prompt.cost_usd`, `endpoints.inputs.text.pricing.prompt.utc_start`, `endpoints.inputs.text.pricing.prompt.utc_end`, `endpoints.inputs.text.pricing.cached_prompt.unit`, `endpoints.inputs.text.pricing.cached_prompt.cost_usd`, `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.text.pricing.cached_prompt.implicit`, `endpoints.inputs.text.pricing.cached_prompt.utc_start`, `endpoints.inputs.text.pricing.cached_prompt.utc_end`, `endpoints.inputs.text.pricing.cache_write.unit`, `endpoints.inputs.text.pricing.cache_write.cost_usd`, `endpoints.inputs.text.pricing.cache_write.ttl_seconds`, `endpoints.inputs.text.pricing.cache_write.implicit`, `endpoints.inputs.text.pricing.cache_write.utc_start`, `endpoints.inputs.text.pricing.cache_write.utc_end`, `endpoints.inputs.text.capacity.prompt.unit`, `endpoints.inputs.text.capacity.prompt.per`, `endpoints.inputs.text.capacity.prompt.value`, `endpoints.inputs.text.capacity.cached_prompt.unit`, `endpoints.inputs.text.capacity.cached_prompt.per`, `endpoints.inputs.text.capacity.cached_prompt.value`, `endpoints.inputs.text.capacity.cache_write.unit`, `endpoints.inputs.text.capacity.cache_write.per`, `endpoints.inputs.text.capacity.cache_write.value`, `endpoints.inputs.text.params.max_prompt_length.value`, `endpoints.inputs.text.params.max_prompt_length.unit`, `endpoints.inputs.text.params.max_length.value`, `endpoints.inputs.text.params.max_length.unit`, `endpoints.inputs.image.pricing.prompt.unit`, `endpoints.inputs.image.pricing.prompt.cost_usd`, `endpoints.inputs.image.pricing.prompt.utc_start`, `endpoints.inputs.image.pricing.prompt.utc_end`, `endpoints.inputs.image.pricing.cached_prompt.unit`, `endpoints.inputs.image.pricing.cached_prompt.cost_usd`, `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.image.pricing.cached_prompt.implicit`, `endpoints.inputs.image.pricing.cached_prompt.utc_start`, `endpoints.inputs.image.pricing.cached_prompt.utc_end`, `endpoints.inputs.image.pricing.cache_write.unit`, `endpoints.inputs.image.pricing.cache_write.cost_usd`, `endpoints.inputs.image.pricing.cache_write.ttl_seconds`, `endpoints.inputs.image.pricing.cache_write.implicit`, `endpoints.inputs.image.pricing.cache_write.utc_start`, `endpoints.inputs.image.pricing.cache_write.utc_end`, `endpoints.inputs.image.capacity.prompt.unit`, `endpoints.inputs.image.capacity.prompt.per`, `endpoints.inputs.image.capacity.prompt.value`, `endpoints.inputs.image.capacity.cached_prompt.unit`, `endpoints.inputs.image.capacity.cached_prompt.per`, `endpoints.inputs.image.capacity.cached_prompt.value`, `endpoints.inputs.image.capacity.cache_write.unit`, `endpoints.inputs.image.capacity.cache_write.per`, `endpoints.inputs.image.capacity.cache_write.value`, `endpoints.inputs.image.params.sources.type`, `endpoints.inputs.image.params.formats.type`, `endpoints.inputs.image.params.detail_levels.type`, `endpoints.inputs.image.params.references.type`, `endpoints.inputs.image.params.references.min`, `endpoints.inputs.image.params.references.max`, `endpoints.inputs.image.params.references.unit`, `endpoints.inputs.image.params.role.type`, `endpoints.inputs.image.params.max_content_size_bytes.value`, `endpoints.inputs.image.params.max_content_size_bytes.unit`, `endpoints.inputs.video.pricing.prompt.unit`, `endpoints.inputs.video.pricing.prompt.cost_usd`, `endpoints.inputs.video.pricing.prompt.utc_start`, `endpoints.inputs.video.pricing.prompt.utc_end`, `endpoints.inputs.video.pricing.cached_prompt.unit`, `endpoints.inputs.video.pricing.cached_prompt.cost_usd`, `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.video.pricing.cached_prompt.implicit`, `endpoints.inputs.video.pricing.cached_prompt.utc_start`, `endpoints.inputs.video.pricing.cached_prompt.utc_end`, `endpoints.inputs.video.pricing.cache_write.unit`, `endpoints.inputs.video.pricing.cache_write.cost_usd`, `endpoints.inputs.video.pricing.cache_write.ttl_seconds`, `endpoints.inputs.video.pricing.cache_write.implicit`, `endpoints.inputs.video.pricing.cache_write.utc_start`, `endpoints.inputs.video.pricing.cache_write.utc_end`, `endpoints.inputs.video.capacity.prompt.unit`, `endpoints.inputs.video.capacity.prompt.per`, `endpoints.inputs.video.capacity.prompt.value`, `endpoints.inputs.video.capacity.cached_prompt.unit`, `endpoints.inputs.video.capacity.cached_prompt.per`, `endpoints.inputs.video.capacity.cached_prompt.value`, `endpoints.inputs.video.capacity.cache_write.unit`, `endpoints.inputs.video.capacity.cache_write.per`, `endpoints.inputs.video.capacity.cache_write.value`, `endpoints.inputs.video.params.sources.type`, `endpoints.inputs.video.params.formats.type`, `endpoints.inputs.video.params.max_duration_seconds.value`, `endpoints.inputs.video.params.max_duration_seconds.unit`, `endpoints.inputs.video.params.max_content_size_bytes.value`, `endpoints.inputs.video.params.max_content_size_bytes.unit`, `endpoints.inputs.audio.pricing.prompt.unit`, `endpoints.inputs.audio.pricing.prompt.cost_usd`, `endpoints.inputs.audio.pricing.prompt.utc_start`, `endpoints.inputs.audio.pricing.prompt.utc_end`, `endpoints.inputs.audio.pricing.cached_prompt.unit`, `endpoints.inputs.audio.pricing.cached_prompt.cost_usd`, `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.audio.pricing.cached_prompt.implicit`, `endpoints.inputs.audio.pricing.cached_prompt.utc_start`, `endpoints.inputs.audio.pricing.cached_prompt.utc_end`, `endpoints.inputs.audio.pricing.cache_write.unit`, `endpoints.inputs.audio.pricing.cache_write.cost_usd`, `endpoints.inputs.audio.pricing.cache_write.ttl_seconds`, `endpoints.inputs.audio.pricing.cache_write.implicit`, `endpoints.inputs.audio.pricing.cache_write.utc_start`, `endpoints.inputs.audio.pricing.cache_write.utc_end`, `endpoints.inputs.audio.capacity.prompt.unit`, `endpoints.inputs.audio.capacity.prompt.per`, `endpoints.inputs.audio.capacity.prompt.value`, `endpoints.inputs.audio.capacity.cached_prompt.unit`, `endpoints.inputs.audio.capacity.cached_prompt.per`, `endpoints.inputs.audio.capacity.cached_prompt.value`, `endpoints.inputs.audio.capacity.cache_write.unit`, `endpoints.inputs.audio.capacity.cache_write.per`, `endpoints.inputs.audio.capacity.cache_write.value`, `endpoints.inputs.audio.params.sources.type`, `endpoints.inputs.audio.params.formats.type`, `endpoints.inputs.audio.params.max_duration_seconds.value`, `endpoints.inputs.audio.params.max_duration_seconds.unit`, `endpoints.inputs.audio.params.max_content_size_bytes.value`, `endpoints.inputs.audio.params.max_content_size_bytes.unit`, `endpoints.inputs.file.pricing.prompt.unit`, `endpoints.inputs.file.pricing.prompt.cost_usd`, `endpoints.inputs.file.pricing.prompt.utc_start`, `endpoints.inputs.file.pricing.prompt.utc_end`, `endpoints.inputs.file.pricing.cached_prompt.unit`, `endpoints.inputs.file.pricing.cached_prompt.cost_usd`, `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.file.pricing.cached_prompt.implicit`, `endpoints.inputs.file.pricing.cached_prompt.utc_start`, `endpoints.inputs.file.pricing.cached_prompt.utc_end`, `endpoints.inputs.file.pricing.cache_write.unit`, `endpoints.inputs.file.pricing.cache_write.cost_usd`, `endpoints.inputs.file.pricing.cache_write.ttl_seconds`, `endpoints.inputs.file.pricing.cache_write.implicit`, `endpoints.inputs.file.pricing.cache_write.utc_start`, `endpoints.inputs.file.pricing.cache_write.utc_end`, `endpoints.inputs.file.capacity.prompt.unit`, `endpoints.inputs.file.capacity.prompt.per`, `endpoints.inputs.file.capacity.prompt.value`, `endpoints.inputs.file.capacity.cached_prompt.unit`, `endpoints.inputs.file.capacity.cached_prompt.per`, `endpoints.inputs.file.capacity.cached_prompt.value`, `endpoints.inputs.file.capacity.cache_write.unit`, `endpoints.inputs.file.capacity.cache_write.per`, `endpoints.inputs.file.capacity.cache_write.value`, `endpoints.inputs.file.params.sources.type`, `endpoints.inputs.file.params.formats.type`, `endpoints.inputs.file.params.references.type`, `endpoints.inputs.file.params.references.min`, `endpoints.inputs.file.params.references.max`, `endpoints.inputs.file.params.references.unit`, `endpoints.inputs.file.params.max_content_size_bytes.value`, `endpoints.inputs.file.params.max_content_size_bytes.unit`, `endpoints.outputs.text.max_length.value`, `endpoints.outputs.text.max_length.unit`, `endpoints.outputs.text.pricing.completion.unit`, `endpoints.outputs.text.pricing.completion.cost_usd`, `endpoints.outputs.text.pricing.completion.utc_start`, `endpoints.outputs.text.pricing.completion.utc_end`, `endpoints.outputs.text.pricing.internal_reasoning.unit`, `endpoints.outputs.text.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.text.pricing.internal_reasoning.utc_start`, `endpoints.outputs.text.pricing.internal_reasoning.utc_end`, `endpoints.outputs.text.capacity.completion.unit`, `endpoints.outputs.text.capacity.completion.per`, `endpoints.outputs.text.capacity.completion.value`, `endpoints.outputs.text.capacity.internal_reasoning.unit`, `endpoints.outputs.text.capacity.internal_reasoning.per`, `endpoints.outputs.text.capacity.internal_reasoning.value`, `endpoints.outputs.text.capacity.concurrency.unit`, `endpoints.outputs.text.capacity.concurrency.value`, `endpoints.outputs.text.streaming`, `endpoints.outputs.image.pricing.completion.unit`, `endpoints.outputs.image.pricing.completion.cost_usd`, `endpoints.outputs.image.pricing.completion.utc_start`, `endpoints.outputs.image.pricing.completion.utc_end`, `endpoints.outputs.image.pricing.internal_reasoning.unit`, `endpoints.outputs.image.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.image.pricing.internal_reasoning.utc_start`, `endpoints.outputs.image.pricing.internal_reasoning.utc_end`, `endpoints.outputs.image.capacity.completion.unit`, `endpoints.outputs.image.capacity.completion.per`, `endpoints.outputs.image.capacity.completion.value`, `endpoints.outputs.image.capacity.internal_reasoning.unit`, `endpoints.outputs.image.capacity.internal_reasoning.per`, `endpoints.outputs.image.capacity.internal_reasoning.value`, `endpoints.outputs.image.capacity.concurrency.unit`, `endpoints.outputs.image.capacity.concurrency.value`, `endpoints.outputs.image.streaming`, `endpoints.outputs.video.pricing.completion.unit`, `endpoints.outputs.video.pricing.completion.cost_usd`, `endpoints.outputs.video.pricing.completion.utc_start`, `endpoints.outputs.video.pricing.completion.utc_end`, `endpoints.outputs.video.pricing.internal_reasoning.unit`, `endpoints.outputs.video.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.video.pricing.internal_reasoning.utc_start`, `endpoints.outputs.video.pricing.internal_reasoning.utc_end`, `endpoints.outputs.video.capacity.completion.unit`, `endpoints.outputs.video.capacity.completion.per`, `endpoints.outputs.video.capacity.completion.value`, `endpoints.outputs.video.capacity.internal_reasoning.unit`, `endpoints.outputs.video.capacity.internal_reasoning.per`, `endpoints.outputs.video.capacity.internal_reasoning.value`, `endpoints.outputs.video.capacity.concurrency.unit`, `endpoints.outputs.video.capacity.concurrency.value`, `endpoints.outputs.video.streaming`, `endpoints.outputs.speech.pricing.completion.unit`, `endpoints.outputs.speech.pricing.completion.cost_usd`, `endpoints.outputs.speech.pricing.completion.utc_start`, `endpoints.outputs.speech.pricing.completion.utc_end`, `endpoints.outputs.speech.pricing.internal_reasoning.unit`, `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_start`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_end`, `endpoints.outputs.speech.capacity.completion.unit`, `endpoints.outputs.speech.capacity.completion.per`, `endpoints.outputs.speech.capacity.completion.value`, `endpoints.outputs.speech.capacity.internal_reasoning.unit`, `endpoints.outputs.speech.capacity.internal_reasoning.per`, `endpoints.outputs.speech.capacity.internal_reasoning.value`, `endpoints.outputs.speech.capacity.concurrency.unit`, `endpoints.outputs.speech.capacity.concurrency.value`, `endpoints.outputs.speech.streaming`, `endpoints.outputs.transcription.pricing.completion.unit`, `endpoints.outputs.transcription.pricing.completion.cost_usd`, `endpoints.outputs.transcription.pricing.completion.utc_start`, `endpoints.outputs.transcription.pricing.completion.utc_end`, `endpoints.outputs.transcription.pricing.internal_reasoning.unit`, `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end`, `endpoints.outputs.transcription.capacity.completion.unit`, `endpoints.outputs.transcription.capacity.completion.per`, `endpoints.outputs.transcription.capacity.completion.value`, `endpoints.outputs.transcription.capacity.internal_reasoning.unit`, `endpoints.outputs.transcription.capacity.internal_reasoning.per`, `endpoints.outputs.transcription.capacity.internal_reasoning.value`, `endpoints.outputs.transcription.capacity.concurrency.unit`, `endpoints.outputs.transcription.capacity.concurrency.value`, `endpoints.outputs.transcription.streaming`, `endpoints.outputs.embeddings.pricing.completion.unit`, `endpoints.outputs.embeddings.pricing.completion.cost_usd`, `endpoints.outputs.embeddings.pricing.completion.utc_start`, `endpoints.outputs.embeddings.pricing.completion.utc_end`, `endpoints.outputs.embeddings.pricing.internal_reasoning.unit`, `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end`, `endpoints.outputs.embeddings.capacity.completion.unit`, `endpoints.outputs.embeddings.capacity.completion.per`, `endpoints.outputs.embeddings.capacity.completion.value`, `endpoints.outputs.embeddings.capacity.internal_reasoning.unit`, `endpoints.outputs.embeddings.capacity.internal_reasoning.per`, `endpoints.outputs.embeddings.capacity.internal_reasoning.value`, `endpoints.outputs.embeddings.capacity.concurrency.unit`, `endpoints.outputs.embeddings.capacity.concurrency.value`, `endpoints.outputs.rerank.pricing.completion.unit`, `endpoints.outputs.rerank.pricing.completion.cost_usd`, `endpoints.outputs.rerank.pricing.completion.utc_start`, `endpoints.outputs.rerank.pricing.completion.utc_end`, `endpoints.outputs.rerank.pricing.internal_reasoning.unit`, `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end`, `endpoints.outputs.rerank.capacity.completion.unit`, `endpoints.outputs.rerank.capacity.completion.per`, `endpoints.outputs.rerank.capacity.completion.value`, `endpoints.outputs.rerank.capacity.internal_reasoning.unit`, `endpoints.outputs.rerank.capacity.internal_reasoning.per`, `endpoints.outputs.rerank.capacity.internal_reasoning.value`, `endpoints.outputs.rerank.capacity.concurrency.unit`, `endpoints.outputs.rerank.capacity.concurrency.value`, `endpoints.outputs.decisions.pricing.completion.unit`, `endpoints.outputs.decisions.pricing.completion.cost_usd`, `endpoints.outputs.decisions.pricing.completion.utc_start`, `endpoints.outputs.decisions.pricing.completion.utc_end`, `endpoints.outputs.decisions.pricing.internal_reasoning.unit`, `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end`, `endpoints.outputs.decisions.capacity.completion.unit`, `endpoints.outputs.decisions.capacity.completion.per`, `endpoints.outputs.decisions.capacity.completion.value`, `endpoints.outputs.decisions.capacity.internal_reasoning.unit`, `endpoints.outputs.decisions.capacity.internal_reasoning.per`, `endpoints.outputs.decisions.capacity.internal_reasoning.value`, `endpoints.outputs.decisions.capacity.concurrency.unit`, `endpoints.outputs.decisions.capacity.concurrency.value`, `endpoints.outputs.audio.pricing.completion.unit`, `endpoints.outputs.audio.pricing.completion.cost_usd`, `endpoints.outputs.audio.pricing.completion.utc_start`, `endpoints.outputs.audio.pricing.completion.utc_end`, `endpoints.outputs.audio.pricing.internal_reasoning.unit`, `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_start`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_end`, `endpoints.outputs.audio.capacity.completion.unit`, `endpoints.outputs.audio.capacity.completion.per`, `endpoints.outputs.audio.capacity.completion.value`, `endpoints.outputs.audio.capacity.internal_reasoning.unit`, `endpoints.outputs.audio.capacity.internal_reasoning.per`, `endpoints.outputs.audio.capacity.internal_reasoning.value`, `endpoints.outputs.audio.capacity.concurrency.unit`, `endpoints.outputs.audio.capacity.concurrency.value`, `endpoints.outputs.audio.streaming`, `endpoints.provider.slug`, `endpoints.provider.tag`, `endpoints.provider.name`, `endpoints.data_policy.training`, `endpoints.data_policy.retains_prompts`, `endpoints.data_policy.retention_days`.
+ /// Example: -created,endpoints.inputs.text.pricing.prompt.cost_usd + /// + /// + /// Filter where the value at `id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `canonical_slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `author` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `variant` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `free`, `extended`, `standard`, `thinking`, `batch`. + /// + /// + /// Filter where the value at `kind` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `model`, `router`, `alias`. + /// + /// + /// Filter where the value at `alias_target.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `alias_target.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `context_length` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `inputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `file`, `audio`, `video`. + /// + /// + /// Filter where any element at `outputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `embeddings`, `audio`, `video`, `rerank`, `decisions`, `speech`, `transcription`. + /// + /// + /// Filter where the value at `endpoints.schema_version` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.quantization` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `int4`, `int8`, `fp4`, `mxfp4`, `nvfp4`, `fp6`, `fp8`, `mxfp8`, `fp16`, `bf16`, `fp32`. + /// + /// + /// Filter where the value at `endpoints.tokenizer` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.request.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.web_search.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.passthrough_parameters`: `endpoints.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.passthrough_parameters.<key>.type`, `endpoints.passthrough_parameters.<key>.range.min`, `endpoints.passthrough_parameters.<key>.range.max`, `endpoints.passthrough_parameters.<key>.range.default`, `endpoints.passthrough_parameters.<key>.range.values`, `endpoints.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.deprecation_date` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_ready` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_free` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.service_tier` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `flex`, `priority`, `ultrafast`, `fast`. + /// + /// + /// Filter where the value at `endpoints.discount_to_user` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.openrouter.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.country_code` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.deployment_region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `audio`, `file`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.text.passthrough_parameters`: `endpoints.inputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.text.passthrough_parameters.<key>.type`, `endpoints.inputs.text.passthrough_parameters.<key>.range.min`, `endpoints.inputs.text.passthrough_parameters.<key>.range.max`, `endpoints.inputs.text.passthrough_parameters.<key>.range.default`, `endpoints.inputs.text.passthrough_parameters.<key>.range.values`, `endpoints.inputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.image.passthrough_parameters`: `endpoints.inputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.image.passthrough_parameters.<key>.type`, `endpoints.inputs.image.passthrough_parameters.<key>.range.min`, `endpoints.inputs.image.passthrough_parameters.<key>.range.max`, `endpoints.inputs.image.passthrough_parameters.<key>.range.default`, `endpoints.inputs.image.passthrough_parameters.<key>.range.values`, `endpoints.inputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `image/png`, `image/jpeg`, `image/webp`, `image/gif`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.detail_levels.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.detail_levels.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `auto`, `low`, `high`, `original`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.role.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.role.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `reference`, `first_frame`, `last_frame`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.video.passthrough_parameters`: `endpoints.inputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.video.passthrough_parameters.<key>.type`, `endpoints.inputs.video.passthrough_parameters.<key>.range.min`, `endpoints.inputs.video.passthrough_parameters.<key>.range.max`, `endpoints.inputs.video.passthrough_parameters.<key>.range.default`, `endpoints.inputs.video.passthrough_parameters.<key>.range.values`, `endpoints.inputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `video/mp4`, `video/webm`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.audio.passthrough_parameters`: `endpoints.inputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.audio.passthrough_parameters.<key>.type`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `audio/wav`, `audio/mpeg`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.file.passthrough_parameters`: `endpoints.inputs.file.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.file.passthrough_parameters.<key>.type`, `endpoints.inputs.file.passthrough_parameters.<key>.range.min`, `endpoints.inputs.file.passthrough_parameters.<key>.range.max`, `endpoints.inputs.file.passthrough_parameters.<key>.range.default`, `endpoints.inputs.file.passthrough_parameters.<key>.range.values`, `endpoints.inputs.file.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `application/pdf`, `text/plain`, `text/markdown`, `text/html`, `text/csv`, `application/json`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.outputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `speech`, `transcription`, `embeddings`, `rerank`, `decisions`, `audio`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.passthrough_parameters`: `endpoints.outputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.passthrough_parameters.<key>.type`, `endpoints.outputs.text.passthrough_parameters.<key>.range.min`, `endpoints.outputs.text.passthrough_parameters.<key>.range.max`, `endpoints.outputs.text.passthrough_parameters.<key>.range.default`, `endpoints.outputs.text.passthrough_parameters.<key>.range.values`, `endpoints.outputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.params`: `endpoints.outputs.text.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.params.<key>.type`, `endpoints.outputs.text.params.<key>.range.min`, `endpoints.outputs.text.params.<key>.range.max`, `endpoints.outputs.text.params.<key>.range.default`, `endpoints.outputs.text.params.<key>.range.values`, `endpoints.outputs.text.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.passthrough_parameters`: `endpoints.outputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.passthrough_parameters.<key>.type`, `endpoints.outputs.image.passthrough_parameters.<key>.range.min`, `endpoints.outputs.image.passthrough_parameters.<key>.range.max`, `endpoints.outputs.image.passthrough_parameters.<key>.range.default`, `endpoints.outputs.image.passthrough_parameters.<key>.range.values`, `endpoints.outputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.params`: `endpoints.outputs.image.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.params.<key>.type`, `endpoints.outputs.image.params.<key>.range.min`, `endpoints.outputs.image.params.<key>.range.max`, `endpoints.outputs.image.params.<key>.range.default`, `endpoints.outputs.image.params.<key>.range.values`, `endpoints.outputs.image.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.passthrough_parameters`: `endpoints.outputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.passthrough_parameters.<key>.type`, `endpoints.outputs.video.passthrough_parameters.<key>.range.min`, `endpoints.outputs.video.passthrough_parameters.<key>.range.max`, `endpoints.outputs.video.passthrough_parameters.<key>.range.default`, `endpoints.outputs.video.passthrough_parameters.<key>.range.values`, `endpoints.outputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.params`: `endpoints.outputs.video.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.params.<key>.type`, `endpoints.outputs.video.params.<key>.range.min`, `endpoints.outputs.video.params.<key>.range.max`, `endpoints.outputs.video.params.<key>.range.default`, `endpoints.outputs.video.params.<key>.range.values`, `endpoints.outputs.video.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.passthrough_parameters`: `endpoints.outputs.speech.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.passthrough_parameters.<key>.type`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.min`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.max`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.default`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.values`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.params`: `endpoints.outputs.speech.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.params.<key>.type`, `endpoints.outputs.speech.params.<key>.range.min`, `endpoints.outputs.speech.params.<key>.range.max`, `endpoints.outputs.speech.params.<key>.range.default`, `endpoints.outputs.speech.params.<key>.range.values`, `endpoints.outputs.speech.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.passthrough_parameters`: `endpoints.outputs.transcription.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.passthrough_parameters.<key>.type`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.min`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.max`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.default`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.values`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.params`: `endpoints.outputs.transcription.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.params.<key>.type`, `endpoints.outputs.transcription.params.<key>.range.min`, `endpoints.outputs.transcription.params.<key>.range.max`, `endpoints.outputs.transcription.params.<key>.range.default`, `endpoints.outputs.transcription.params.<key>.range.values`, `endpoints.outputs.transcription.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.passthrough_parameters`: `endpoints.outputs.embeddings.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.passthrough_parameters.<key>.type`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.min`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.max`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.default`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.values`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.params`: `endpoints.outputs.embeddings.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.params.<key>.type`, `endpoints.outputs.embeddings.params.<key>.range.min`, `endpoints.outputs.embeddings.params.<key>.range.max`, `endpoints.outputs.embeddings.params.<key>.range.default`, `endpoints.outputs.embeddings.params.<key>.range.values`, `endpoints.outputs.embeddings.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.passthrough_parameters`: `endpoints.outputs.rerank.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.passthrough_parameters.<key>.type`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.min`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.max`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.default`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.values`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.params`: `endpoints.outputs.rerank.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.params.<key>.type`, `endpoints.outputs.rerank.params.<key>.range.min`, `endpoints.outputs.rerank.params.<key>.range.max`, `endpoints.outputs.rerank.params.<key>.range.default`, `endpoints.outputs.rerank.params.<key>.range.values`, `endpoints.outputs.rerank.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.passthrough_parameters`: `endpoints.outputs.decisions.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.passthrough_parameters.<key>.type`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.min`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.max`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.default`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.values`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.params`: `endpoints.outputs.decisions.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.params.<key>.type`, `endpoints.outputs.decisions.params.<key>.range.min`, `endpoints.outputs.decisions.params.<key>.range.max`, `endpoints.outputs.decisions.params.<key>.range.default`, `endpoints.outputs.decisions.params.<key>.range.values`, `endpoints.outputs.decisions.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.passthrough_parameters`: `endpoints.outputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.passthrough_parameters.<key>.type`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.params`: `endpoints.outputs.audio.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.params.<key>.type`, `endpoints.outputs.audio.params.<key>.range.min`, `endpoints.outputs.audio.params.<key>.range.max`, `endpoints.outputs.audio.params.<key>.range.default`, `endpoints.outputs.audio.params.<key>.range.values`, `endpoints.outputs.audio.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.provider.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.tag` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.training` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retains_prompts` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retention_days` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ListV2Async( + int? offset = default, + int? limit = default, + string? cursor = default, + global::OpenRouter.ListModelsV2Region? region = default, + string? sort = default, + string? id = default, + string? canonicalSlug = default, + string? author = default, + string? name = default, + string? variant = default, + string? kind = default, + string? aliasTargetSlug = default, + string? aliasTargetName = default, + string? created = default, + string? description = default, + string? contextLength = default, + string? huggingFaceId = default, + string? inputs = default, + string? outputs = default, + string? endpointsSchemaVersion = default, + string? endpointsId = default, + string? endpointsHuggingFaceId = default, + string? endpointsName = default, + string? endpointsCreated = default, + string? endpointsQuantization = default, + string? endpointsTokenizer = default, + string? endpointsDescription = default, + string? endpointsPricingType = default, + string? endpointsPricingRequestUnit = default, + string? endpointsPricingRequestCostUsd = default, + string? endpointsPricingRequestOverridesCostUsd = default, + string? endpointsPricingWebSearchUnit = default, + string? endpointsPricingWebSearchCostUsd = default, + string? endpointsPricingWebSearchOverridesCostUsd = default, + string? endpointsCapacityType = default, + string? endpointsCapacityRequestUnit = default, + string? endpointsCapacityRequestPer = default, + string? endpointsCapacityRequestValue = default, + string? endpointsCapacityWebSearchUnit = default, + string? endpointsCapacityWebSearchPer = default, + string? endpointsCapacityWebSearchValue = default, + string? endpointsCapacityConcurrencyUnit = default, + string? endpointsCapacityConcurrencyValue = default, + string? endpointsPassthroughParameters = default, + string? endpointsDeprecationDate = default, + string? endpointsIsReady = default, + string? endpointsIsFree = default, + string? endpointsServiceTier = default, + string? endpointsDiscountToUser = default, + string? endpointsOpenrouterSlug = default, + string? endpointsDatacentersCountryCode = default, + string? endpointsDatacentersRegion = default, + string? endpointsDeploymentRegion = default, + string? endpointsInputsType = default, + string? endpointsInputsTextPricingType = default, + string? endpointsInputsTextPricingPromptUnit = default, + string? endpointsInputsTextPricingPromptCostUsd = default, + string? endpointsInputsTextPricingPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingPromptUtcStart = default, + string? endpointsInputsTextPricingPromptUtcEnd = default, + string? endpointsInputsTextPricingPromptUtcDays = default, + string? endpointsInputsTextPricingCachedPromptUnit = default, + string? endpointsInputsTextPricingCachedPromptCostUsd = default, + string? endpointsInputsTextPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingCachedPromptTtlSeconds = default, + string? endpointsInputsTextPricingCachedPromptImplicit = default, + string? endpointsInputsTextPricingCachedPromptUtcStart = default, + string? endpointsInputsTextPricingCachedPromptUtcEnd = default, + string? endpointsInputsTextPricingCachedPromptUtcDays = default, + string? endpointsInputsTextPricingCacheWriteUnit = default, + string? endpointsInputsTextPricingCacheWriteCostUsd = default, + string? endpointsInputsTextPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsTextPricingCacheWriteTtlSeconds = default, + string? endpointsInputsTextPricingCacheWriteImplicit = default, + string? endpointsInputsTextPricingCacheWriteUtcStart = default, + string? endpointsInputsTextPricingCacheWriteUtcEnd = default, + string? endpointsInputsTextPricingCacheWriteUtcDays = default, + string? endpointsInputsTextCapacityType = default, + string? endpointsInputsTextCapacityPromptUnit = default, + string? endpointsInputsTextCapacityPromptPer = default, + string? endpointsInputsTextCapacityPromptValue = default, + string? endpointsInputsTextCapacityCachedPromptUnit = default, + string? endpointsInputsTextCapacityCachedPromptPer = default, + string? endpointsInputsTextCapacityCachedPromptValue = default, + string? endpointsInputsTextCapacityCacheWriteUnit = default, + string? endpointsInputsTextCapacityCacheWritePer = default, + string? endpointsInputsTextCapacityCacheWriteValue = default, + string? endpointsInputsTextPassthroughParameters = default, + string? endpointsInputsTextParamsMaxPromptLengthValue = default, + string? endpointsInputsTextParamsMaxPromptLengthUnit = default, + string? endpointsInputsTextParamsMaxLengthValue = default, + string? endpointsInputsTextParamsMaxLengthUnit = default, + string? endpointsInputsImagePricingType = default, + string? endpointsInputsImagePricingPromptUnit = default, + string? endpointsInputsImagePricingPromptCostUsd = default, + string? endpointsInputsImagePricingPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingPromptUtcStart = default, + string? endpointsInputsImagePricingPromptUtcEnd = default, + string? endpointsInputsImagePricingPromptUtcDays = default, + string? endpointsInputsImagePricingCachedPromptUnit = default, + string? endpointsInputsImagePricingCachedPromptCostUsd = default, + string? endpointsInputsImagePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingCachedPromptTtlSeconds = default, + string? endpointsInputsImagePricingCachedPromptImplicit = default, + string? endpointsInputsImagePricingCachedPromptUtcStart = default, + string? endpointsInputsImagePricingCachedPromptUtcEnd = default, + string? endpointsInputsImagePricingCachedPromptUtcDays = default, + string? endpointsInputsImagePricingCacheWriteUnit = default, + string? endpointsInputsImagePricingCacheWriteCostUsd = default, + string? endpointsInputsImagePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsImagePricingCacheWriteTtlSeconds = default, + string? endpointsInputsImagePricingCacheWriteImplicit = default, + string? endpointsInputsImagePricingCacheWriteUtcStart = default, + string? endpointsInputsImagePricingCacheWriteUtcEnd = default, + string? endpointsInputsImagePricingCacheWriteUtcDays = default, + string? endpointsInputsImageCapacityType = default, + string? endpointsInputsImageCapacityPromptUnit = default, + string? endpointsInputsImageCapacityPromptPer = default, + string? endpointsInputsImageCapacityPromptValue = default, + string? endpointsInputsImageCapacityCachedPromptUnit = default, + string? endpointsInputsImageCapacityCachedPromptPer = default, + string? endpointsInputsImageCapacityCachedPromptValue = default, + string? endpointsInputsImageCapacityCacheWriteUnit = default, + string? endpointsInputsImageCapacityCacheWritePer = default, + string? endpointsInputsImageCapacityCacheWriteValue = default, + string? endpointsInputsImagePassthroughParameters = default, + string? endpointsInputsImageParamsSourcesType = default, + string? endpointsInputsImageParamsSourcesValues = default, + string? endpointsInputsImageParamsFormatsType = default, + string? endpointsInputsImageParamsFormatsValues = default, + string? endpointsInputsImageParamsDetailLevelsType = default, + string? endpointsInputsImageParamsDetailLevelsValues = default, + string? endpointsInputsImageParamsReferencesType = default, + string? endpointsInputsImageParamsReferencesMin = default, + string? endpointsInputsImageParamsReferencesMax = default, + string? endpointsInputsImageParamsReferencesUnit = default, + string? endpointsInputsImageParamsRoleType = default, + string? endpointsInputsImageParamsRoleValues = default, + string? endpointsInputsImageParamsMaxContentSizeBytesValue = default, + string? endpointsInputsImageParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsVideoPricingType = default, + string? endpointsInputsVideoPricingPromptUnit = default, + string? endpointsInputsVideoPricingPromptCostUsd = default, + string? endpointsInputsVideoPricingPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingPromptUtcStart = default, + string? endpointsInputsVideoPricingPromptUtcEnd = default, + string? endpointsInputsVideoPricingPromptUtcDays = default, + string? endpointsInputsVideoPricingCachedPromptUnit = default, + string? endpointsInputsVideoPricingCachedPromptCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptTtlSeconds = default, + string? endpointsInputsVideoPricingCachedPromptImplicit = default, + string? endpointsInputsVideoPricingCachedPromptUtcStart = default, + string? endpointsInputsVideoPricingCachedPromptUtcEnd = default, + string? endpointsInputsVideoPricingCachedPromptUtcDays = default, + string? endpointsInputsVideoPricingCacheWriteUnit = default, + string? endpointsInputsVideoPricingCacheWriteCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteTtlSeconds = default, + string? endpointsInputsVideoPricingCacheWriteImplicit = default, + string? endpointsInputsVideoPricingCacheWriteUtcStart = default, + string? endpointsInputsVideoPricingCacheWriteUtcEnd = default, + string? endpointsInputsVideoPricingCacheWriteUtcDays = default, + string? endpointsInputsVideoCapacityType = default, + string? endpointsInputsVideoCapacityPromptUnit = default, + string? endpointsInputsVideoCapacityPromptPer = default, + string? endpointsInputsVideoCapacityPromptValue = default, + string? endpointsInputsVideoCapacityCachedPromptUnit = default, + string? endpointsInputsVideoCapacityCachedPromptPer = default, + string? endpointsInputsVideoCapacityCachedPromptValue = default, + string? endpointsInputsVideoCapacityCacheWriteUnit = default, + string? endpointsInputsVideoCapacityCacheWritePer = default, + string? endpointsInputsVideoCapacityCacheWriteValue = default, + string? endpointsInputsVideoPassthroughParameters = default, + string? endpointsInputsVideoParamsSourcesType = default, + string? endpointsInputsVideoParamsSourcesValues = default, + string? endpointsInputsVideoParamsFormatsType = default, + string? endpointsInputsVideoParamsFormatsValues = default, + string? endpointsInputsVideoParamsMaxDurationSecondsValue = default, + string? endpointsInputsVideoParamsMaxDurationSecondsUnit = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesValue = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsAudioPricingType = default, + string? endpointsInputsAudioPricingPromptUnit = default, + string? endpointsInputsAudioPricingPromptCostUsd = default, + string? endpointsInputsAudioPricingPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingPromptUtcStart = default, + string? endpointsInputsAudioPricingPromptUtcEnd = default, + string? endpointsInputsAudioPricingPromptUtcDays = default, + string? endpointsInputsAudioPricingCachedPromptUnit = default, + string? endpointsInputsAudioPricingCachedPromptCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptTtlSeconds = default, + string? endpointsInputsAudioPricingCachedPromptImplicit = default, + string? endpointsInputsAudioPricingCachedPromptUtcStart = default, + string? endpointsInputsAudioPricingCachedPromptUtcEnd = default, + string? endpointsInputsAudioPricingCachedPromptUtcDays = default, + string? endpointsInputsAudioPricingCacheWriteUnit = default, + string? endpointsInputsAudioPricingCacheWriteCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteTtlSeconds = default, + string? endpointsInputsAudioPricingCacheWriteImplicit = default, + string? endpointsInputsAudioPricingCacheWriteUtcStart = default, + string? endpointsInputsAudioPricingCacheWriteUtcEnd = default, + string? endpointsInputsAudioPricingCacheWriteUtcDays = default, + string? endpointsInputsAudioCapacityType = default, + string? endpointsInputsAudioCapacityPromptUnit = default, + string? endpointsInputsAudioCapacityPromptPer = default, + string? endpointsInputsAudioCapacityPromptValue = default, + string? endpointsInputsAudioCapacityCachedPromptUnit = default, + string? endpointsInputsAudioCapacityCachedPromptPer = default, + string? endpointsInputsAudioCapacityCachedPromptValue = default, + string? endpointsInputsAudioCapacityCacheWriteUnit = default, + string? endpointsInputsAudioCapacityCacheWritePer = default, + string? endpointsInputsAudioCapacityCacheWriteValue = default, + string? endpointsInputsAudioPassthroughParameters = default, + string? endpointsInputsAudioParamsSourcesType = default, + string? endpointsInputsAudioParamsSourcesValues = default, + string? endpointsInputsAudioParamsFormatsType = default, + string? endpointsInputsAudioParamsFormatsValues = default, + string? endpointsInputsAudioParamsMaxDurationSecondsValue = default, + string? endpointsInputsAudioParamsMaxDurationSecondsUnit = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesValue = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsFilePricingType = default, + string? endpointsInputsFilePricingPromptUnit = default, + string? endpointsInputsFilePricingPromptCostUsd = default, + string? endpointsInputsFilePricingPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingPromptUtcStart = default, + string? endpointsInputsFilePricingPromptUtcEnd = default, + string? endpointsInputsFilePricingPromptUtcDays = default, + string? endpointsInputsFilePricingCachedPromptUnit = default, + string? endpointsInputsFilePricingCachedPromptCostUsd = default, + string? endpointsInputsFilePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingCachedPromptTtlSeconds = default, + string? endpointsInputsFilePricingCachedPromptImplicit = default, + string? endpointsInputsFilePricingCachedPromptUtcStart = default, + string? endpointsInputsFilePricingCachedPromptUtcEnd = default, + string? endpointsInputsFilePricingCachedPromptUtcDays = default, + string? endpointsInputsFilePricingCacheWriteUnit = default, + string? endpointsInputsFilePricingCacheWriteCostUsd = default, + string? endpointsInputsFilePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsFilePricingCacheWriteTtlSeconds = default, + string? endpointsInputsFilePricingCacheWriteImplicit = default, + string? endpointsInputsFilePricingCacheWriteUtcStart = default, + string? endpointsInputsFilePricingCacheWriteUtcEnd = default, + string? endpointsInputsFilePricingCacheWriteUtcDays = default, + string? endpointsInputsFileCapacityType = default, + string? endpointsInputsFileCapacityPromptUnit = default, + string? endpointsInputsFileCapacityPromptPer = default, + string? endpointsInputsFileCapacityPromptValue = default, + string? endpointsInputsFileCapacityCachedPromptUnit = default, + string? endpointsInputsFileCapacityCachedPromptPer = default, + string? endpointsInputsFileCapacityCachedPromptValue = default, + string? endpointsInputsFileCapacityCacheWriteUnit = default, + string? endpointsInputsFileCapacityCacheWritePer = default, + string? endpointsInputsFileCapacityCacheWriteValue = default, + string? endpointsInputsFilePassthroughParameters = default, + string? endpointsInputsFileParamsSourcesType = default, + string? endpointsInputsFileParamsSourcesValues = default, + string? endpointsInputsFileParamsFormatsType = default, + string? endpointsInputsFileParamsFormatsValues = default, + string? endpointsInputsFileParamsReferencesType = default, + string? endpointsInputsFileParamsReferencesMin = default, + string? endpointsInputsFileParamsReferencesMax = default, + string? endpointsInputsFileParamsReferencesUnit = default, + string? endpointsInputsFileParamsMaxContentSizeBytesValue = default, + string? endpointsInputsFileParamsMaxContentSizeBytesUnit = default, + string? endpointsOutputsType = default, + string? endpointsOutputsTextMaxLengthValue = default, + string? endpointsOutputsTextMaxLengthUnit = default, + string? endpointsOutputsTextPassthroughParameters = default, + string? endpointsOutputsTextPricingType = default, + string? endpointsOutputsTextPricingCompletionUnit = default, + string? endpointsOutputsTextPricingCompletionCostUsd = default, + string? endpointsOutputsTextPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTextPricingCompletionUtcStart = default, + string? endpointsOutputsTextPricingCompletionUtcEnd = default, + string? endpointsOutputsTextPricingCompletionUtcDays = default, + string? endpointsOutputsTextPricingInternalReasoningUnit = default, + string? endpointsOutputsTextPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTextPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTextCapacityType = default, + string? endpointsOutputsTextCapacityCompletionUnit = default, + string? endpointsOutputsTextCapacityCompletionPer = default, + string? endpointsOutputsTextCapacityCompletionValue = default, + string? endpointsOutputsTextCapacityInternalReasoningUnit = default, + string? endpointsOutputsTextCapacityInternalReasoningPer = default, + string? endpointsOutputsTextCapacityInternalReasoningValue = default, + string? endpointsOutputsTextCapacityConcurrencyUnit = default, + string? endpointsOutputsTextCapacityConcurrencyValue = default, + string? endpointsOutputsTextStreaming = default, + string? endpointsOutputsTextParams = default, + string? endpointsOutputsImagePassthroughParameters = default, + string? endpointsOutputsImagePricingType = default, + string? endpointsOutputsImagePricingCompletionUnit = default, + string? endpointsOutputsImagePricingCompletionCostUsd = default, + string? endpointsOutputsImagePricingCompletionOverridesCostUsd = default, + string? endpointsOutputsImagePricingCompletionUtcStart = default, + string? endpointsOutputsImagePricingCompletionUtcEnd = default, + string? endpointsOutputsImagePricingCompletionUtcDays = default, + string? endpointsOutputsImagePricingInternalReasoningUnit = default, + string? endpointsOutputsImagePricingInternalReasoningCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcStart = default, + string? endpointsOutputsImagePricingInternalReasoningUtcEnd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcDays = default, + string? endpointsOutputsImageCapacityType = default, + string? endpointsOutputsImageCapacityCompletionUnit = default, + string? endpointsOutputsImageCapacityCompletionPer = default, + string? endpointsOutputsImageCapacityCompletionValue = default, + string? endpointsOutputsImageCapacityInternalReasoningUnit = default, + string? endpointsOutputsImageCapacityInternalReasoningPer = default, + string? endpointsOutputsImageCapacityInternalReasoningValue = default, + string? endpointsOutputsImageCapacityConcurrencyUnit = default, + string? endpointsOutputsImageCapacityConcurrencyValue = default, + string? endpointsOutputsImageStreaming = default, + string? endpointsOutputsImageParams = default, + string? endpointsOutputsVideoPassthroughParameters = default, + string? endpointsOutputsVideoPricingType = default, + string? endpointsOutputsVideoPricingCompletionUnit = default, + string? endpointsOutputsVideoPricingCompletionCostUsd = default, + string? endpointsOutputsVideoPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsVideoPricingCompletionUtcStart = default, + string? endpointsOutputsVideoPricingCompletionUtcEnd = default, + string? endpointsOutputsVideoPricingCompletionUtcDays = default, + string? endpointsOutputsVideoPricingInternalReasoningUnit = default, + string? endpointsOutputsVideoPricingInternalReasoningCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcStart = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcDays = default, + string? endpointsOutputsVideoCapacityType = default, + string? endpointsOutputsVideoCapacityCompletionUnit = default, + string? endpointsOutputsVideoCapacityCompletionPer = default, + string? endpointsOutputsVideoCapacityCompletionValue = default, + string? endpointsOutputsVideoCapacityInternalReasoningUnit = default, + string? endpointsOutputsVideoCapacityInternalReasoningPer = default, + string? endpointsOutputsVideoCapacityInternalReasoningValue = default, + string? endpointsOutputsVideoCapacityConcurrencyUnit = default, + string? endpointsOutputsVideoCapacityConcurrencyValue = default, + string? endpointsOutputsVideoStreaming = default, + string? endpointsOutputsVideoParams = default, + string? endpointsOutputsSpeechPassthroughParameters = default, + string? endpointsOutputsSpeechPricingType = default, + string? endpointsOutputsSpeechPricingCompletionUnit = default, + string? endpointsOutputsSpeechPricingCompletionCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionUtcStart = default, + string? endpointsOutputsSpeechPricingCompletionUtcEnd = default, + string? endpointsOutputsSpeechPricingCompletionUtcDays = default, + string? endpointsOutputsSpeechPricingInternalReasoningUnit = default, + string? endpointsOutputsSpeechPricingInternalReasoningCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcStart = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcDays = default, + string? endpointsOutputsSpeechCapacityType = default, + string? endpointsOutputsSpeechCapacityCompletionUnit = default, + string? endpointsOutputsSpeechCapacityCompletionPer = default, + string? endpointsOutputsSpeechCapacityCompletionValue = default, + string? endpointsOutputsSpeechCapacityInternalReasoningUnit = default, + string? endpointsOutputsSpeechCapacityInternalReasoningPer = default, + string? endpointsOutputsSpeechCapacityInternalReasoningValue = default, + string? endpointsOutputsSpeechCapacityConcurrencyUnit = default, + string? endpointsOutputsSpeechCapacityConcurrencyValue = default, + string? endpointsOutputsSpeechStreaming = default, + string? endpointsOutputsSpeechParams = default, + string? endpointsOutputsTranscriptionPassthroughParameters = default, + string? endpointsOutputsTranscriptionPricingType = default, + string? endpointsOutputsTranscriptionPricingCompletionUnit = default, + string? endpointsOutputsTranscriptionPricingCompletionCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcStart = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcEnd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcDays = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTranscriptionCapacityType = default, + string? endpointsOutputsTranscriptionCapacityCompletionUnit = default, + string? endpointsOutputsTranscriptionCapacityCompletionPer = default, + string? endpointsOutputsTranscriptionCapacityCompletionValue = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningPer = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningValue = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyUnit = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyValue = default, + string? endpointsOutputsTranscriptionStreaming = default, + string? endpointsOutputsTranscriptionParams = default, + string? endpointsOutputsEmbeddingsPassthroughParameters = default, + string? endpointsOutputsEmbeddingsPricingType = default, + string? endpointsOutputsEmbeddingsPricingCompletionUnit = default, + string? endpointsOutputsEmbeddingsPricingCompletionCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcStart = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcDays = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsEmbeddingsCapacityType = default, + string? endpointsOutputsEmbeddingsCapacityCompletionUnit = default, + string? endpointsOutputsEmbeddingsCapacityCompletionPer = default, + string? endpointsOutputsEmbeddingsCapacityCompletionValue = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningPer = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningValue = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyUnit = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyValue = default, + string? endpointsOutputsEmbeddingsParams = default, + string? endpointsOutputsRerankPassthroughParameters = default, + string? endpointsOutputsRerankPricingType = default, + string? endpointsOutputsRerankPricingCompletionUnit = default, + string? endpointsOutputsRerankPricingCompletionCostUsd = default, + string? endpointsOutputsRerankPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsRerankPricingCompletionUtcStart = default, + string? endpointsOutputsRerankPricingCompletionUtcEnd = default, + string? endpointsOutputsRerankPricingCompletionUtcDays = default, + string? endpointsOutputsRerankPricingInternalReasoningUnit = default, + string? endpointsOutputsRerankPricingInternalReasoningCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcStart = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcDays = default, + string? endpointsOutputsRerankCapacityType = default, + string? endpointsOutputsRerankCapacityCompletionUnit = default, + string? endpointsOutputsRerankCapacityCompletionPer = default, + string? endpointsOutputsRerankCapacityCompletionValue = default, + string? endpointsOutputsRerankCapacityInternalReasoningUnit = default, + string? endpointsOutputsRerankCapacityInternalReasoningPer = default, + string? endpointsOutputsRerankCapacityInternalReasoningValue = default, + string? endpointsOutputsRerankCapacityConcurrencyUnit = default, + string? endpointsOutputsRerankCapacityConcurrencyValue = default, + string? endpointsOutputsRerankParams = default, + string? endpointsOutputsDecisionsPassthroughParameters = default, + string? endpointsOutputsDecisionsPricingType = default, + string? endpointsOutputsDecisionsPricingCompletionUnit = default, + string? endpointsOutputsDecisionsPricingCompletionCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcStart = default, + string? endpointsOutputsDecisionsPricingCompletionUtcEnd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcDays = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUnit = default, + string? endpointsOutputsDecisionsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsDecisionsCapacityType = default, + string? endpointsOutputsDecisionsCapacityCompletionUnit = default, + string? endpointsOutputsDecisionsCapacityCompletionPer = default, + string? endpointsOutputsDecisionsCapacityCompletionValue = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningUnit = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningPer = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningValue = default, + string? endpointsOutputsDecisionsCapacityConcurrencyUnit = default, + string? endpointsOutputsDecisionsCapacityConcurrencyValue = default, + string? endpointsOutputsDecisionsParams = default, + string? endpointsOutputsAudioPassthroughParameters = default, + string? endpointsOutputsAudioPricingType = default, + string? endpointsOutputsAudioPricingCompletionUnit = default, + string? endpointsOutputsAudioPricingCompletionCostUsd = default, + string? endpointsOutputsAudioPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsAudioPricingCompletionUtcStart = default, + string? endpointsOutputsAudioPricingCompletionUtcEnd = default, + string? endpointsOutputsAudioPricingCompletionUtcDays = default, + string? endpointsOutputsAudioPricingInternalReasoningUnit = default, + string? endpointsOutputsAudioPricingInternalReasoningCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcStart = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcDays = default, + string? endpointsOutputsAudioCapacityType = default, + string? endpointsOutputsAudioCapacityCompletionUnit = default, + string? endpointsOutputsAudioCapacityCompletionPer = default, + string? endpointsOutputsAudioCapacityCompletionValue = default, + string? endpointsOutputsAudioCapacityInternalReasoningUnit = default, + string? endpointsOutputsAudioCapacityInternalReasoningPer = default, + string? endpointsOutputsAudioCapacityInternalReasoningValue = default, + string? endpointsOutputsAudioCapacityConcurrencyUnit = default, + string? endpointsOutputsAudioCapacityConcurrencyValue = default, + string? endpointsOutputsAudioStreaming = default, + string? endpointsOutputsAudioParams = default, + string? endpointsProviderSlug = default, + string? endpointsProviderTag = default, + string? endpointsProviderName = default, + string? endpointsDataPolicyTraining = default, + string? endpointsDataPolicyRetainsPrompts = default, + string? endpointsDataPolicyRetentionDays = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ListV2AsResponseAsync( + offset: offset, + limit: limit, + cursor: cursor, + region: region, + sort: sort, + id: id, + canonicalSlug: canonicalSlug, + author: author, + name: name, + variant: variant, + kind: kind, + aliasTargetSlug: aliasTargetSlug, + aliasTargetName: aliasTargetName, + created: created, + description: description, + contextLength: contextLength, + huggingFaceId: huggingFaceId, + inputs: inputs, + outputs: outputs, + endpointsSchemaVersion: endpointsSchemaVersion, + endpointsId: endpointsId, + endpointsHuggingFaceId: endpointsHuggingFaceId, + endpointsName: endpointsName, + endpointsCreated: endpointsCreated, + endpointsQuantization: endpointsQuantization, + endpointsTokenizer: endpointsTokenizer, + endpointsDescription: endpointsDescription, + endpointsPricingType: endpointsPricingType, + endpointsPricingRequestUnit: endpointsPricingRequestUnit, + endpointsPricingRequestCostUsd: endpointsPricingRequestCostUsd, + endpointsPricingRequestOverridesCostUsd: endpointsPricingRequestOverridesCostUsd, + endpointsPricingWebSearchUnit: endpointsPricingWebSearchUnit, + endpointsPricingWebSearchCostUsd: endpointsPricingWebSearchCostUsd, + endpointsPricingWebSearchOverridesCostUsd: endpointsPricingWebSearchOverridesCostUsd, + endpointsCapacityType: endpointsCapacityType, + endpointsCapacityRequestUnit: endpointsCapacityRequestUnit, + endpointsCapacityRequestPer: endpointsCapacityRequestPer, + endpointsCapacityRequestValue: endpointsCapacityRequestValue, + endpointsCapacityWebSearchUnit: endpointsCapacityWebSearchUnit, + endpointsCapacityWebSearchPer: endpointsCapacityWebSearchPer, + endpointsCapacityWebSearchValue: endpointsCapacityWebSearchValue, + endpointsCapacityConcurrencyUnit: endpointsCapacityConcurrencyUnit, + endpointsCapacityConcurrencyValue: endpointsCapacityConcurrencyValue, + endpointsPassthroughParameters: endpointsPassthroughParameters, + endpointsDeprecationDate: endpointsDeprecationDate, + endpointsIsReady: endpointsIsReady, + endpointsIsFree: endpointsIsFree, + endpointsServiceTier: endpointsServiceTier, + endpointsDiscountToUser: endpointsDiscountToUser, + endpointsOpenrouterSlug: endpointsOpenrouterSlug, + endpointsDatacentersCountryCode: endpointsDatacentersCountryCode, + endpointsDatacentersRegion: endpointsDatacentersRegion, + endpointsDeploymentRegion: endpointsDeploymentRegion, + endpointsInputsType: endpointsInputsType, + endpointsInputsTextPricingType: endpointsInputsTextPricingType, + endpointsInputsTextPricingPromptUnit: endpointsInputsTextPricingPromptUnit, + endpointsInputsTextPricingPromptCostUsd: endpointsInputsTextPricingPromptCostUsd, + endpointsInputsTextPricingPromptOverridesCostUsd: endpointsInputsTextPricingPromptOverridesCostUsd, + endpointsInputsTextPricingPromptUtcStart: endpointsInputsTextPricingPromptUtcStart, + endpointsInputsTextPricingPromptUtcEnd: endpointsInputsTextPricingPromptUtcEnd, + endpointsInputsTextPricingPromptUtcDays: endpointsInputsTextPricingPromptUtcDays, + endpointsInputsTextPricingCachedPromptUnit: endpointsInputsTextPricingCachedPromptUnit, + endpointsInputsTextPricingCachedPromptCostUsd: endpointsInputsTextPricingCachedPromptCostUsd, + endpointsInputsTextPricingCachedPromptOverridesCostUsd: endpointsInputsTextPricingCachedPromptOverridesCostUsd, + endpointsInputsTextPricingCachedPromptTtlSeconds: endpointsInputsTextPricingCachedPromptTtlSeconds, + endpointsInputsTextPricingCachedPromptImplicit: endpointsInputsTextPricingCachedPromptImplicit, + endpointsInputsTextPricingCachedPromptUtcStart: endpointsInputsTextPricingCachedPromptUtcStart, + endpointsInputsTextPricingCachedPromptUtcEnd: endpointsInputsTextPricingCachedPromptUtcEnd, + endpointsInputsTextPricingCachedPromptUtcDays: endpointsInputsTextPricingCachedPromptUtcDays, + endpointsInputsTextPricingCacheWriteUnit: endpointsInputsTextPricingCacheWriteUnit, + endpointsInputsTextPricingCacheWriteCostUsd: endpointsInputsTextPricingCacheWriteCostUsd, + endpointsInputsTextPricingCacheWriteOverridesCostUsd: endpointsInputsTextPricingCacheWriteOverridesCostUsd, + endpointsInputsTextPricingCacheWriteTtlSeconds: endpointsInputsTextPricingCacheWriteTtlSeconds, + endpointsInputsTextPricingCacheWriteImplicit: endpointsInputsTextPricingCacheWriteImplicit, + endpointsInputsTextPricingCacheWriteUtcStart: endpointsInputsTextPricingCacheWriteUtcStart, + endpointsInputsTextPricingCacheWriteUtcEnd: endpointsInputsTextPricingCacheWriteUtcEnd, + endpointsInputsTextPricingCacheWriteUtcDays: endpointsInputsTextPricingCacheWriteUtcDays, + endpointsInputsTextCapacityType: endpointsInputsTextCapacityType, + endpointsInputsTextCapacityPromptUnit: endpointsInputsTextCapacityPromptUnit, + endpointsInputsTextCapacityPromptPer: endpointsInputsTextCapacityPromptPer, + endpointsInputsTextCapacityPromptValue: endpointsInputsTextCapacityPromptValue, + endpointsInputsTextCapacityCachedPromptUnit: endpointsInputsTextCapacityCachedPromptUnit, + endpointsInputsTextCapacityCachedPromptPer: endpointsInputsTextCapacityCachedPromptPer, + endpointsInputsTextCapacityCachedPromptValue: endpointsInputsTextCapacityCachedPromptValue, + endpointsInputsTextCapacityCacheWriteUnit: endpointsInputsTextCapacityCacheWriteUnit, + endpointsInputsTextCapacityCacheWritePer: endpointsInputsTextCapacityCacheWritePer, + endpointsInputsTextCapacityCacheWriteValue: endpointsInputsTextCapacityCacheWriteValue, + endpointsInputsTextPassthroughParameters: endpointsInputsTextPassthroughParameters, + endpointsInputsTextParamsMaxPromptLengthValue: endpointsInputsTextParamsMaxPromptLengthValue, + endpointsInputsTextParamsMaxPromptLengthUnit: endpointsInputsTextParamsMaxPromptLengthUnit, + endpointsInputsTextParamsMaxLengthValue: endpointsInputsTextParamsMaxLengthValue, + endpointsInputsTextParamsMaxLengthUnit: endpointsInputsTextParamsMaxLengthUnit, + endpointsInputsImagePricingType: endpointsInputsImagePricingType, + endpointsInputsImagePricingPromptUnit: endpointsInputsImagePricingPromptUnit, + endpointsInputsImagePricingPromptCostUsd: endpointsInputsImagePricingPromptCostUsd, + endpointsInputsImagePricingPromptOverridesCostUsd: endpointsInputsImagePricingPromptOverridesCostUsd, + endpointsInputsImagePricingPromptUtcStart: endpointsInputsImagePricingPromptUtcStart, + endpointsInputsImagePricingPromptUtcEnd: endpointsInputsImagePricingPromptUtcEnd, + endpointsInputsImagePricingPromptUtcDays: endpointsInputsImagePricingPromptUtcDays, + endpointsInputsImagePricingCachedPromptUnit: endpointsInputsImagePricingCachedPromptUnit, + endpointsInputsImagePricingCachedPromptCostUsd: endpointsInputsImagePricingCachedPromptCostUsd, + endpointsInputsImagePricingCachedPromptOverridesCostUsd: endpointsInputsImagePricingCachedPromptOverridesCostUsd, + endpointsInputsImagePricingCachedPromptTtlSeconds: endpointsInputsImagePricingCachedPromptTtlSeconds, + endpointsInputsImagePricingCachedPromptImplicit: endpointsInputsImagePricingCachedPromptImplicit, + endpointsInputsImagePricingCachedPromptUtcStart: endpointsInputsImagePricingCachedPromptUtcStart, + endpointsInputsImagePricingCachedPromptUtcEnd: endpointsInputsImagePricingCachedPromptUtcEnd, + endpointsInputsImagePricingCachedPromptUtcDays: endpointsInputsImagePricingCachedPromptUtcDays, + endpointsInputsImagePricingCacheWriteUnit: endpointsInputsImagePricingCacheWriteUnit, + endpointsInputsImagePricingCacheWriteCostUsd: endpointsInputsImagePricingCacheWriteCostUsd, + endpointsInputsImagePricingCacheWriteOverridesCostUsd: endpointsInputsImagePricingCacheWriteOverridesCostUsd, + endpointsInputsImagePricingCacheWriteTtlSeconds: endpointsInputsImagePricingCacheWriteTtlSeconds, + endpointsInputsImagePricingCacheWriteImplicit: endpointsInputsImagePricingCacheWriteImplicit, + endpointsInputsImagePricingCacheWriteUtcStart: endpointsInputsImagePricingCacheWriteUtcStart, + endpointsInputsImagePricingCacheWriteUtcEnd: endpointsInputsImagePricingCacheWriteUtcEnd, + endpointsInputsImagePricingCacheWriteUtcDays: endpointsInputsImagePricingCacheWriteUtcDays, + endpointsInputsImageCapacityType: endpointsInputsImageCapacityType, + endpointsInputsImageCapacityPromptUnit: endpointsInputsImageCapacityPromptUnit, + endpointsInputsImageCapacityPromptPer: endpointsInputsImageCapacityPromptPer, + endpointsInputsImageCapacityPromptValue: endpointsInputsImageCapacityPromptValue, + endpointsInputsImageCapacityCachedPromptUnit: endpointsInputsImageCapacityCachedPromptUnit, + endpointsInputsImageCapacityCachedPromptPer: endpointsInputsImageCapacityCachedPromptPer, + endpointsInputsImageCapacityCachedPromptValue: endpointsInputsImageCapacityCachedPromptValue, + endpointsInputsImageCapacityCacheWriteUnit: endpointsInputsImageCapacityCacheWriteUnit, + endpointsInputsImageCapacityCacheWritePer: endpointsInputsImageCapacityCacheWritePer, + endpointsInputsImageCapacityCacheWriteValue: endpointsInputsImageCapacityCacheWriteValue, + endpointsInputsImagePassthroughParameters: endpointsInputsImagePassthroughParameters, + endpointsInputsImageParamsSourcesType: endpointsInputsImageParamsSourcesType, + endpointsInputsImageParamsSourcesValues: endpointsInputsImageParamsSourcesValues, + endpointsInputsImageParamsFormatsType: endpointsInputsImageParamsFormatsType, + endpointsInputsImageParamsFormatsValues: endpointsInputsImageParamsFormatsValues, + endpointsInputsImageParamsDetailLevelsType: endpointsInputsImageParamsDetailLevelsType, + endpointsInputsImageParamsDetailLevelsValues: endpointsInputsImageParamsDetailLevelsValues, + endpointsInputsImageParamsReferencesType: endpointsInputsImageParamsReferencesType, + endpointsInputsImageParamsReferencesMin: endpointsInputsImageParamsReferencesMin, + endpointsInputsImageParamsReferencesMax: endpointsInputsImageParamsReferencesMax, + endpointsInputsImageParamsReferencesUnit: endpointsInputsImageParamsReferencesUnit, + endpointsInputsImageParamsRoleType: endpointsInputsImageParamsRoleType, + endpointsInputsImageParamsRoleValues: endpointsInputsImageParamsRoleValues, + endpointsInputsImageParamsMaxContentSizeBytesValue: endpointsInputsImageParamsMaxContentSizeBytesValue, + endpointsInputsImageParamsMaxContentSizeBytesUnit: endpointsInputsImageParamsMaxContentSizeBytesUnit, + endpointsInputsVideoPricingType: endpointsInputsVideoPricingType, + endpointsInputsVideoPricingPromptUnit: endpointsInputsVideoPricingPromptUnit, + endpointsInputsVideoPricingPromptCostUsd: endpointsInputsVideoPricingPromptCostUsd, + endpointsInputsVideoPricingPromptOverridesCostUsd: endpointsInputsVideoPricingPromptOverridesCostUsd, + endpointsInputsVideoPricingPromptUtcStart: endpointsInputsVideoPricingPromptUtcStart, + endpointsInputsVideoPricingPromptUtcEnd: endpointsInputsVideoPricingPromptUtcEnd, + endpointsInputsVideoPricingPromptUtcDays: endpointsInputsVideoPricingPromptUtcDays, + endpointsInputsVideoPricingCachedPromptUnit: endpointsInputsVideoPricingCachedPromptUnit, + endpointsInputsVideoPricingCachedPromptCostUsd: endpointsInputsVideoPricingCachedPromptCostUsd, + endpointsInputsVideoPricingCachedPromptOverridesCostUsd: endpointsInputsVideoPricingCachedPromptOverridesCostUsd, + endpointsInputsVideoPricingCachedPromptTtlSeconds: endpointsInputsVideoPricingCachedPromptTtlSeconds, + endpointsInputsVideoPricingCachedPromptImplicit: endpointsInputsVideoPricingCachedPromptImplicit, + endpointsInputsVideoPricingCachedPromptUtcStart: endpointsInputsVideoPricingCachedPromptUtcStart, + endpointsInputsVideoPricingCachedPromptUtcEnd: endpointsInputsVideoPricingCachedPromptUtcEnd, + endpointsInputsVideoPricingCachedPromptUtcDays: endpointsInputsVideoPricingCachedPromptUtcDays, + endpointsInputsVideoPricingCacheWriteUnit: endpointsInputsVideoPricingCacheWriteUnit, + endpointsInputsVideoPricingCacheWriteCostUsd: endpointsInputsVideoPricingCacheWriteCostUsd, + endpointsInputsVideoPricingCacheWriteOverridesCostUsd: endpointsInputsVideoPricingCacheWriteOverridesCostUsd, + endpointsInputsVideoPricingCacheWriteTtlSeconds: endpointsInputsVideoPricingCacheWriteTtlSeconds, + endpointsInputsVideoPricingCacheWriteImplicit: endpointsInputsVideoPricingCacheWriteImplicit, + endpointsInputsVideoPricingCacheWriteUtcStart: endpointsInputsVideoPricingCacheWriteUtcStart, + endpointsInputsVideoPricingCacheWriteUtcEnd: endpointsInputsVideoPricingCacheWriteUtcEnd, + endpointsInputsVideoPricingCacheWriteUtcDays: endpointsInputsVideoPricingCacheWriteUtcDays, + endpointsInputsVideoCapacityType: endpointsInputsVideoCapacityType, + endpointsInputsVideoCapacityPromptUnit: endpointsInputsVideoCapacityPromptUnit, + endpointsInputsVideoCapacityPromptPer: endpointsInputsVideoCapacityPromptPer, + endpointsInputsVideoCapacityPromptValue: endpointsInputsVideoCapacityPromptValue, + endpointsInputsVideoCapacityCachedPromptUnit: endpointsInputsVideoCapacityCachedPromptUnit, + endpointsInputsVideoCapacityCachedPromptPer: endpointsInputsVideoCapacityCachedPromptPer, + endpointsInputsVideoCapacityCachedPromptValue: endpointsInputsVideoCapacityCachedPromptValue, + endpointsInputsVideoCapacityCacheWriteUnit: endpointsInputsVideoCapacityCacheWriteUnit, + endpointsInputsVideoCapacityCacheWritePer: endpointsInputsVideoCapacityCacheWritePer, + endpointsInputsVideoCapacityCacheWriteValue: endpointsInputsVideoCapacityCacheWriteValue, + endpointsInputsVideoPassthroughParameters: endpointsInputsVideoPassthroughParameters, + endpointsInputsVideoParamsSourcesType: endpointsInputsVideoParamsSourcesType, + endpointsInputsVideoParamsSourcesValues: endpointsInputsVideoParamsSourcesValues, + endpointsInputsVideoParamsFormatsType: endpointsInputsVideoParamsFormatsType, + endpointsInputsVideoParamsFormatsValues: endpointsInputsVideoParamsFormatsValues, + endpointsInputsVideoParamsMaxDurationSecondsValue: endpointsInputsVideoParamsMaxDurationSecondsValue, + endpointsInputsVideoParamsMaxDurationSecondsUnit: endpointsInputsVideoParamsMaxDurationSecondsUnit, + endpointsInputsVideoParamsMaxContentSizeBytesValue: endpointsInputsVideoParamsMaxContentSizeBytesValue, + endpointsInputsVideoParamsMaxContentSizeBytesUnit: endpointsInputsVideoParamsMaxContentSizeBytesUnit, + endpointsInputsAudioPricingType: endpointsInputsAudioPricingType, + endpointsInputsAudioPricingPromptUnit: endpointsInputsAudioPricingPromptUnit, + endpointsInputsAudioPricingPromptCostUsd: endpointsInputsAudioPricingPromptCostUsd, + endpointsInputsAudioPricingPromptOverridesCostUsd: endpointsInputsAudioPricingPromptOverridesCostUsd, + endpointsInputsAudioPricingPromptUtcStart: endpointsInputsAudioPricingPromptUtcStart, + endpointsInputsAudioPricingPromptUtcEnd: endpointsInputsAudioPricingPromptUtcEnd, + endpointsInputsAudioPricingPromptUtcDays: endpointsInputsAudioPricingPromptUtcDays, + endpointsInputsAudioPricingCachedPromptUnit: endpointsInputsAudioPricingCachedPromptUnit, + endpointsInputsAudioPricingCachedPromptCostUsd: endpointsInputsAudioPricingCachedPromptCostUsd, + endpointsInputsAudioPricingCachedPromptOverridesCostUsd: endpointsInputsAudioPricingCachedPromptOverridesCostUsd, + endpointsInputsAudioPricingCachedPromptTtlSeconds: endpointsInputsAudioPricingCachedPromptTtlSeconds, + endpointsInputsAudioPricingCachedPromptImplicit: endpointsInputsAudioPricingCachedPromptImplicit, + endpointsInputsAudioPricingCachedPromptUtcStart: endpointsInputsAudioPricingCachedPromptUtcStart, + endpointsInputsAudioPricingCachedPromptUtcEnd: endpointsInputsAudioPricingCachedPromptUtcEnd, + endpointsInputsAudioPricingCachedPromptUtcDays: endpointsInputsAudioPricingCachedPromptUtcDays, + endpointsInputsAudioPricingCacheWriteUnit: endpointsInputsAudioPricingCacheWriteUnit, + endpointsInputsAudioPricingCacheWriteCostUsd: endpointsInputsAudioPricingCacheWriteCostUsd, + endpointsInputsAudioPricingCacheWriteOverridesCostUsd: endpointsInputsAudioPricingCacheWriteOverridesCostUsd, + endpointsInputsAudioPricingCacheWriteTtlSeconds: endpointsInputsAudioPricingCacheWriteTtlSeconds, + endpointsInputsAudioPricingCacheWriteImplicit: endpointsInputsAudioPricingCacheWriteImplicit, + endpointsInputsAudioPricingCacheWriteUtcStart: endpointsInputsAudioPricingCacheWriteUtcStart, + endpointsInputsAudioPricingCacheWriteUtcEnd: endpointsInputsAudioPricingCacheWriteUtcEnd, + endpointsInputsAudioPricingCacheWriteUtcDays: endpointsInputsAudioPricingCacheWriteUtcDays, + endpointsInputsAudioCapacityType: endpointsInputsAudioCapacityType, + endpointsInputsAudioCapacityPromptUnit: endpointsInputsAudioCapacityPromptUnit, + endpointsInputsAudioCapacityPromptPer: endpointsInputsAudioCapacityPromptPer, + endpointsInputsAudioCapacityPromptValue: endpointsInputsAudioCapacityPromptValue, + endpointsInputsAudioCapacityCachedPromptUnit: endpointsInputsAudioCapacityCachedPromptUnit, + endpointsInputsAudioCapacityCachedPromptPer: endpointsInputsAudioCapacityCachedPromptPer, + endpointsInputsAudioCapacityCachedPromptValue: endpointsInputsAudioCapacityCachedPromptValue, + endpointsInputsAudioCapacityCacheWriteUnit: endpointsInputsAudioCapacityCacheWriteUnit, + endpointsInputsAudioCapacityCacheWritePer: endpointsInputsAudioCapacityCacheWritePer, + endpointsInputsAudioCapacityCacheWriteValue: endpointsInputsAudioCapacityCacheWriteValue, + endpointsInputsAudioPassthroughParameters: endpointsInputsAudioPassthroughParameters, + endpointsInputsAudioParamsSourcesType: endpointsInputsAudioParamsSourcesType, + endpointsInputsAudioParamsSourcesValues: endpointsInputsAudioParamsSourcesValues, + endpointsInputsAudioParamsFormatsType: endpointsInputsAudioParamsFormatsType, + endpointsInputsAudioParamsFormatsValues: endpointsInputsAudioParamsFormatsValues, + endpointsInputsAudioParamsMaxDurationSecondsValue: endpointsInputsAudioParamsMaxDurationSecondsValue, + endpointsInputsAudioParamsMaxDurationSecondsUnit: endpointsInputsAudioParamsMaxDurationSecondsUnit, + endpointsInputsAudioParamsMaxContentSizeBytesValue: endpointsInputsAudioParamsMaxContentSizeBytesValue, + endpointsInputsAudioParamsMaxContentSizeBytesUnit: endpointsInputsAudioParamsMaxContentSizeBytesUnit, + endpointsInputsFilePricingType: endpointsInputsFilePricingType, + endpointsInputsFilePricingPromptUnit: endpointsInputsFilePricingPromptUnit, + endpointsInputsFilePricingPromptCostUsd: endpointsInputsFilePricingPromptCostUsd, + endpointsInputsFilePricingPromptOverridesCostUsd: endpointsInputsFilePricingPromptOverridesCostUsd, + endpointsInputsFilePricingPromptUtcStart: endpointsInputsFilePricingPromptUtcStart, + endpointsInputsFilePricingPromptUtcEnd: endpointsInputsFilePricingPromptUtcEnd, + endpointsInputsFilePricingPromptUtcDays: endpointsInputsFilePricingPromptUtcDays, + endpointsInputsFilePricingCachedPromptUnit: endpointsInputsFilePricingCachedPromptUnit, + endpointsInputsFilePricingCachedPromptCostUsd: endpointsInputsFilePricingCachedPromptCostUsd, + endpointsInputsFilePricingCachedPromptOverridesCostUsd: endpointsInputsFilePricingCachedPromptOverridesCostUsd, + endpointsInputsFilePricingCachedPromptTtlSeconds: endpointsInputsFilePricingCachedPromptTtlSeconds, + endpointsInputsFilePricingCachedPromptImplicit: endpointsInputsFilePricingCachedPromptImplicit, + endpointsInputsFilePricingCachedPromptUtcStart: endpointsInputsFilePricingCachedPromptUtcStart, + endpointsInputsFilePricingCachedPromptUtcEnd: endpointsInputsFilePricingCachedPromptUtcEnd, + endpointsInputsFilePricingCachedPromptUtcDays: endpointsInputsFilePricingCachedPromptUtcDays, + endpointsInputsFilePricingCacheWriteUnit: endpointsInputsFilePricingCacheWriteUnit, + endpointsInputsFilePricingCacheWriteCostUsd: endpointsInputsFilePricingCacheWriteCostUsd, + endpointsInputsFilePricingCacheWriteOverridesCostUsd: endpointsInputsFilePricingCacheWriteOverridesCostUsd, + endpointsInputsFilePricingCacheWriteTtlSeconds: endpointsInputsFilePricingCacheWriteTtlSeconds, + endpointsInputsFilePricingCacheWriteImplicit: endpointsInputsFilePricingCacheWriteImplicit, + endpointsInputsFilePricingCacheWriteUtcStart: endpointsInputsFilePricingCacheWriteUtcStart, + endpointsInputsFilePricingCacheWriteUtcEnd: endpointsInputsFilePricingCacheWriteUtcEnd, + endpointsInputsFilePricingCacheWriteUtcDays: endpointsInputsFilePricingCacheWriteUtcDays, + endpointsInputsFileCapacityType: endpointsInputsFileCapacityType, + endpointsInputsFileCapacityPromptUnit: endpointsInputsFileCapacityPromptUnit, + endpointsInputsFileCapacityPromptPer: endpointsInputsFileCapacityPromptPer, + endpointsInputsFileCapacityPromptValue: endpointsInputsFileCapacityPromptValue, + endpointsInputsFileCapacityCachedPromptUnit: endpointsInputsFileCapacityCachedPromptUnit, + endpointsInputsFileCapacityCachedPromptPer: endpointsInputsFileCapacityCachedPromptPer, + endpointsInputsFileCapacityCachedPromptValue: endpointsInputsFileCapacityCachedPromptValue, + endpointsInputsFileCapacityCacheWriteUnit: endpointsInputsFileCapacityCacheWriteUnit, + endpointsInputsFileCapacityCacheWritePer: endpointsInputsFileCapacityCacheWritePer, + endpointsInputsFileCapacityCacheWriteValue: endpointsInputsFileCapacityCacheWriteValue, + endpointsInputsFilePassthroughParameters: endpointsInputsFilePassthroughParameters, + endpointsInputsFileParamsSourcesType: endpointsInputsFileParamsSourcesType, + endpointsInputsFileParamsSourcesValues: endpointsInputsFileParamsSourcesValues, + endpointsInputsFileParamsFormatsType: endpointsInputsFileParamsFormatsType, + endpointsInputsFileParamsFormatsValues: endpointsInputsFileParamsFormatsValues, + endpointsInputsFileParamsReferencesType: endpointsInputsFileParamsReferencesType, + endpointsInputsFileParamsReferencesMin: endpointsInputsFileParamsReferencesMin, + endpointsInputsFileParamsReferencesMax: endpointsInputsFileParamsReferencesMax, + endpointsInputsFileParamsReferencesUnit: endpointsInputsFileParamsReferencesUnit, + endpointsInputsFileParamsMaxContentSizeBytesValue: endpointsInputsFileParamsMaxContentSizeBytesValue, + endpointsInputsFileParamsMaxContentSizeBytesUnit: endpointsInputsFileParamsMaxContentSizeBytesUnit, + endpointsOutputsType: endpointsOutputsType, + endpointsOutputsTextMaxLengthValue: endpointsOutputsTextMaxLengthValue, + endpointsOutputsTextMaxLengthUnit: endpointsOutputsTextMaxLengthUnit, + endpointsOutputsTextPassthroughParameters: endpointsOutputsTextPassthroughParameters, + endpointsOutputsTextPricingType: endpointsOutputsTextPricingType, + endpointsOutputsTextPricingCompletionUnit: endpointsOutputsTextPricingCompletionUnit, + endpointsOutputsTextPricingCompletionCostUsd: endpointsOutputsTextPricingCompletionCostUsd, + endpointsOutputsTextPricingCompletionOverridesCostUsd: endpointsOutputsTextPricingCompletionOverridesCostUsd, + endpointsOutputsTextPricingCompletionUtcStart: endpointsOutputsTextPricingCompletionUtcStart, + endpointsOutputsTextPricingCompletionUtcEnd: endpointsOutputsTextPricingCompletionUtcEnd, + endpointsOutputsTextPricingCompletionUtcDays: endpointsOutputsTextPricingCompletionUtcDays, + endpointsOutputsTextPricingInternalReasoningUnit: endpointsOutputsTextPricingInternalReasoningUnit, + endpointsOutputsTextPricingInternalReasoningCostUsd: endpointsOutputsTextPricingInternalReasoningCostUsd, + endpointsOutputsTextPricingInternalReasoningOverridesCostUsd: endpointsOutputsTextPricingInternalReasoningOverridesCostUsd, + endpointsOutputsTextPricingInternalReasoningUtcStart: endpointsOutputsTextPricingInternalReasoningUtcStart, + endpointsOutputsTextPricingInternalReasoningUtcEnd: endpointsOutputsTextPricingInternalReasoningUtcEnd, + endpointsOutputsTextPricingInternalReasoningUtcDays: endpointsOutputsTextPricingInternalReasoningUtcDays, + endpointsOutputsTextCapacityType: endpointsOutputsTextCapacityType, + endpointsOutputsTextCapacityCompletionUnit: endpointsOutputsTextCapacityCompletionUnit, + endpointsOutputsTextCapacityCompletionPer: endpointsOutputsTextCapacityCompletionPer, + endpointsOutputsTextCapacityCompletionValue: endpointsOutputsTextCapacityCompletionValue, + endpointsOutputsTextCapacityInternalReasoningUnit: endpointsOutputsTextCapacityInternalReasoningUnit, + endpointsOutputsTextCapacityInternalReasoningPer: endpointsOutputsTextCapacityInternalReasoningPer, + endpointsOutputsTextCapacityInternalReasoningValue: endpointsOutputsTextCapacityInternalReasoningValue, + endpointsOutputsTextCapacityConcurrencyUnit: endpointsOutputsTextCapacityConcurrencyUnit, + endpointsOutputsTextCapacityConcurrencyValue: endpointsOutputsTextCapacityConcurrencyValue, + endpointsOutputsTextStreaming: endpointsOutputsTextStreaming, + endpointsOutputsTextParams: endpointsOutputsTextParams, + endpointsOutputsImagePassthroughParameters: endpointsOutputsImagePassthroughParameters, + endpointsOutputsImagePricingType: endpointsOutputsImagePricingType, + endpointsOutputsImagePricingCompletionUnit: endpointsOutputsImagePricingCompletionUnit, + endpointsOutputsImagePricingCompletionCostUsd: endpointsOutputsImagePricingCompletionCostUsd, + endpointsOutputsImagePricingCompletionOverridesCostUsd: endpointsOutputsImagePricingCompletionOverridesCostUsd, + endpointsOutputsImagePricingCompletionUtcStart: endpointsOutputsImagePricingCompletionUtcStart, + endpointsOutputsImagePricingCompletionUtcEnd: endpointsOutputsImagePricingCompletionUtcEnd, + endpointsOutputsImagePricingCompletionUtcDays: endpointsOutputsImagePricingCompletionUtcDays, + endpointsOutputsImagePricingInternalReasoningUnit: endpointsOutputsImagePricingInternalReasoningUnit, + endpointsOutputsImagePricingInternalReasoningCostUsd: endpointsOutputsImagePricingInternalReasoningCostUsd, + endpointsOutputsImagePricingInternalReasoningOverridesCostUsd: endpointsOutputsImagePricingInternalReasoningOverridesCostUsd, + endpointsOutputsImagePricingInternalReasoningUtcStart: endpointsOutputsImagePricingInternalReasoningUtcStart, + endpointsOutputsImagePricingInternalReasoningUtcEnd: endpointsOutputsImagePricingInternalReasoningUtcEnd, + endpointsOutputsImagePricingInternalReasoningUtcDays: endpointsOutputsImagePricingInternalReasoningUtcDays, + endpointsOutputsImageCapacityType: endpointsOutputsImageCapacityType, + endpointsOutputsImageCapacityCompletionUnit: endpointsOutputsImageCapacityCompletionUnit, + endpointsOutputsImageCapacityCompletionPer: endpointsOutputsImageCapacityCompletionPer, + endpointsOutputsImageCapacityCompletionValue: endpointsOutputsImageCapacityCompletionValue, + endpointsOutputsImageCapacityInternalReasoningUnit: endpointsOutputsImageCapacityInternalReasoningUnit, + endpointsOutputsImageCapacityInternalReasoningPer: endpointsOutputsImageCapacityInternalReasoningPer, + endpointsOutputsImageCapacityInternalReasoningValue: endpointsOutputsImageCapacityInternalReasoningValue, + endpointsOutputsImageCapacityConcurrencyUnit: endpointsOutputsImageCapacityConcurrencyUnit, + endpointsOutputsImageCapacityConcurrencyValue: endpointsOutputsImageCapacityConcurrencyValue, + endpointsOutputsImageStreaming: endpointsOutputsImageStreaming, + endpointsOutputsImageParams: endpointsOutputsImageParams, + endpointsOutputsVideoPassthroughParameters: endpointsOutputsVideoPassthroughParameters, + endpointsOutputsVideoPricingType: endpointsOutputsVideoPricingType, + endpointsOutputsVideoPricingCompletionUnit: endpointsOutputsVideoPricingCompletionUnit, + endpointsOutputsVideoPricingCompletionCostUsd: endpointsOutputsVideoPricingCompletionCostUsd, + endpointsOutputsVideoPricingCompletionOverridesCostUsd: endpointsOutputsVideoPricingCompletionOverridesCostUsd, + endpointsOutputsVideoPricingCompletionUtcStart: endpointsOutputsVideoPricingCompletionUtcStart, + endpointsOutputsVideoPricingCompletionUtcEnd: endpointsOutputsVideoPricingCompletionUtcEnd, + endpointsOutputsVideoPricingCompletionUtcDays: endpointsOutputsVideoPricingCompletionUtcDays, + endpointsOutputsVideoPricingInternalReasoningUnit: endpointsOutputsVideoPricingInternalReasoningUnit, + endpointsOutputsVideoPricingInternalReasoningCostUsd: endpointsOutputsVideoPricingInternalReasoningCostUsd, + endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd: endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd, + endpointsOutputsVideoPricingInternalReasoningUtcStart: endpointsOutputsVideoPricingInternalReasoningUtcStart, + endpointsOutputsVideoPricingInternalReasoningUtcEnd: endpointsOutputsVideoPricingInternalReasoningUtcEnd, + endpointsOutputsVideoPricingInternalReasoningUtcDays: endpointsOutputsVideoPricingInternalReasoningUtcDays, + endpointsOutputsVideoCapacityType: endpointsOutputsVideoCapacityType, + endpointsOutputsVideoCapacityCompletionUnit: endpointsOutputsVideoCapacityCompletionUnit, + endpointsOutputsVideoCapacityCompletionPer: endpointsOutputsVideoCapacityCompletionPer, + endpointsOutputsVideoCapacityCompletionValue: endpointsOutputsVideoCapacityCompletionValue, + endpointsOutputsVideoCapacityInternalReasoningUnit: endpointsOutputsVideoCapacityInternalReasoningUnit, + endpointsOutputsVideoCapacityInternalReasoningPer: endpointsOutputsVideoCapacityInternalReasoningPer, + endpointsOutputsVideoCapacityInternalReasoningValue: endpointsOutputsVideoCapacityInternalReasoningValue, + endpointsOutputsVideoCapacityConcurrencyUnit: endpointsOutputsVideoCapacityConcurrencyUnit, + endpointsOutputsVideoCapacityConcurrencyValue: endpointsOutputsVideoCapacityConcurrencyValue, + endpointsOutputsVideoStreaming: endpointsOutputsVideoStreaming, + endpointsOutputsVideoParams: endpointsOutputsVideoParams, + endpointsOutputsSpeechPassthroughParameters: endpointsOutputsSpeechPassthroughParameters, + endpointsOutputsSpeechPricingType: endpointsOutputsSpeechPricingType, + endpointsOutputsSpeechPricingCompletionUnit: endpointsOutputsSpeechPricingCompletionUnit, + endpointsOutputsSpeechPricingCompletionCostUsd: endpointsOutputsSpeechPricingCompletionCostUsd, + endpointsOutputsSpeechPricingCompletionOverridesCostUsd: endpointsOutputsSpeechPricingCompletionOverridesCostUsd, + endpointsOutputsSpeechPricingCompletionUtcStart: endpointsOutputsSpeechPricingCompletionUtcStart, + endpointsOutputsSpeechPricingCompletionUtcEnd: endpointsOutputsSpeechPricingCompletionUtcEnd, + endpointsOutputsSpeechPricingCompletionUtcDays: endpointsOutputsSpeechPricingCompletionUtcDays, + endpointsOutputsSpeechPricingInternalReasoningUnit: endpointsOutputsSpeechPricingInternalReasoningUnit, + endpointsOutputsSpeechPricingInternalReasoningCostUsd: endpointsOutputsSpeechPricingInternalReasoningCostUsd, + endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd: endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd, + endpointsOutputsSpeechPricingInternalReasoningUtcStart: endpointsOutputsSpeechPricingInternalReasoningUtcStart, + endpointsOutputsSpeechPricingInternalReasoningUtcEnd: endpointsOutputsSpeechPricingInternalReasoningUtcEnd, + endpointsOutputsSpeechPricingInternalReasoningUtcDays: endpointsOutputsSpeechPricingInternalReasoningUtcDays, + endpointsOutputsSpeechCapacityType: endpointsOutputsSpeechCapacityType, + endpointsOutputsSpeechCapacityCompletionUnit: endpointsOutputsSpeechCapacityCompletionUnit, + endpointsOutputsSpeechCapacityCompletionPer: endpointsOutputsSpeechCapacityCompletionPer, + endpointsOutputsSpeechCapacityCompletionValue: endpointsOutputsSpeechCapacityCompletionValue, + endpointsOutputsSpeechCapacityInternalReasoningUnit: endpointsOutputsSpeechCapacityInternalReasoningUnit, + endpointsOutputsSpeechCapacityInternalReasoningPer: endpointsOutputsSpeechCapacityInternalReasoningPer, + endpointsOutputsSpeechCapacityInternalReasoningValue: endpointsOutputsSpeechCapacityInternalReasoningValue, + endpointsOutputsSpeechCapacityConcurrencyUnit: endpointsOutputsSpeechCapacityConcurrencyUnit, + endpointsOutputsSpeechCapacityConcurrencyValue: endpointsOutputsSpeechCapacityConcurrencyValue, + endpointsOutputsSpeechStreaming: endpointsOutputsSpeechStreaming, + endpointsOutputsSpeechParams: endpointsOutputsSpeechParams, + endpointsOutputsTranscriptionPassthroughParameters: endpointsOutputsTranscriptionPassthroughParameters, + endpointsOutputsTranscriptionPricingType: endpointsOutputsTranscriptionPricingType, + endpointsOutputsTranscriptionPricingCompletionUnit: endpointsOutputsTranscriptionPricingCompletionUnit, + endpointsOutputsTranscriptionPricingCompletionCostUsd: endpointsOutputsTranscriptionPricingCompletionCostUsd, + endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd: endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd, + endpointsOutputsTranscriptionPricingCompletionUtcStart: endpointsOutputsTranscriptionPricingCompletionUtcStart, + endpointsOutputsTranscriptionPricingCompletionUtcEnd: endpointsOutputsTranscriptionPricingCompletionUtcEnd, + endpointsOutputsTranscriptionPricingCompletionUtcDays: endpointsOutputsTranscriptionPricingCompletionUtcDays, + endpointsOutputsTranscriptionPricingInternalReasoningUnit: endpointsOutputsTranscriptionPricingInternalReasoningUnit, + endpointsOutputsTranscriptionPricingInternalReasoningCostUsd: endpointsOutputsTranscriptionPricingInternalReasoningCostUsd, + endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd: endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd, + endpointsOutputsTranscriptionPricingInternalReasoningUtcStart: endpointsOutputsTranscriptionPricingInternalReasoningUtcStart, + endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd: endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd, + endpointsOutputsTranscriptionPricingInternalReasoningUtcDays: endpointsOutputsTranscriptionPricingInternalReasoningUtcDays, + endpointsOutputsTranscriptionCapacityType: endpointsOutputsTranscriptionCapacityType, + endpointsOutputsTranscriptionCapacityCompletionUnit: endpointsOutputsTranscriptionCapacityCompletionUnit, + endpointsOutputsTranscriptionCapacityCompletionPer: endpointsOutputsTranscriptionCapacityCompletionPer, + endpointsOutputsTranscriptionCapacityCompletionValue: endpointsOutputsTranscriptionCapacityCompletionValue, + endpointsOutputsTranscriptionCapacityInternalReasoningUnit: endpointsOutputsTranscriptionCapacityInternalReasoningUnit, + endpointsOutputsTranscriptionCapacityInternalReasoningPer: endpointsOutputsTranscriptionCapacityInternalReasoningPer, + endpointsOutputsTranscriptionCapacityInternalReasoningValue: endpointsOutputsTranscriptionCapacityInternalReasoningValue, + endpointsOutputsTranscriptionCapacityConcurrencyUnit: endpointsOutputsTranscriptionCapacityConcurrencyUnit, + endpointsOutputsTranscriptionCapacityConcurrencyValue: endpointsOutputsTranscriptionCapacityConcurrencyValue, + endpointsOutputsTranscriptionStreaming: endpointsOutputsTranscriptionStreaming, + endpointsOutputsTranscriptionParams: endpointsOutputsTranscriptionParams, + endpointsOutputsEmbeddingsPassthroughParameters: endpointsOutputsEmbeddingsPassthroughParameters, + endpointsOutputsEmbeddingsPricingType: endpointsOutputsEmbeddingsPricingType, + endpointsOutputsEmbeddingsPricingCompletionUnit: endpointsOutputsEmbeddingsPricingCompletionUnit, + endpointsOutputsEmbeddingsPricingCompletionCostUsd: endpointsOutputsEmbeddingsPricingCompletionCostUsd, + endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd: endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd, + endpointsOutputsEmbeddingsPricingCompletionUtcStart: endpointsOutputsEmbeddingsPricingCompletionUtcStart, + endpointsOutputsEmbeddingsPricingCompletionUtcEnd: endpointsOutputsEmbeddingsPricingCompletionUtcEnd, + endpointsOutputsEmbeddingsPricingCompletionUtcDays: endpointsOutputsEmbeddingsPricingCompletionUtcDays, + endpointsOutputsEmbeddingsPricingInternalReasoningUnit: endpointsOutputsEmbeddingsPricingInternalReasoningUnit, + endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd: endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd, + endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd: endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart: endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd: endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays: endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays, + endpointsOutputsEmbeddingsCapacityType: endpointsOutputsEmbeddingsCapacityType, + endpointsOutputsEmbeddingsCapacityCompletionUnit: endpointsOutputsEmbeddingsCapacityCompletionUnit, + endpointsOutputsEmbeddingsCapacityCompletionPer: endpointsOutputsEmbeddingsCapacityCompletionPer, + endpointsOutputsEmbeddingsCapacityCompletionValue: endpointsOutputsEmbeddingsCapacityCompletionValue, + endpointsOutputsEmbeddingsCapacityInternalReasoningUnit: endpointsOutputsEmbeddingsCapacityInternalReasoningUnit, + endpointsOutputsEmbeddingsCapacityInternalReasoningPer: endpointsOutputsEmbeddingsCapacityInternalReasoningPer, + endpointsOutputsEmbeddingsCapacityInternalReasoningValue: endpointsOutputsEmbeddingsCapacityInternalReasoningValue, + endpointsOutputsEmbeddingsCapacityConcurrencyUnit: endpointsOutputsEmbeddingsCapacityConcurrencyUnit, + endpointsOutputsEmbeddingsCapacityConcurrencyValue: endpointsOutputsEmbeddingsCapacityConcurrencyValue, + endpointsOutputsEmbeddingsParams: endpointsOutputsEmbeddingsParams, + endpointsOutputsRerankPassthroughParameters: endpointsOutputsRerankPassthroughParameters, + endpointsOutputsRerankPricingType: endpointsOutputsRerankPricingType, + endpointsOutputsRerankPricingCompletionUnit: endpointsOutputsRerankPricingCompletionUnit, + endpointsOutputsRerankPricingCompletionCostUsd: endpointsOutputsRerankPricingCompletionCostUsd, + endpointsOutputsRerankPricingCompletionOverridesCostUsd: endpointsOutputsRerankPricingCompletionOverridesCostUsd, + endpointsOutputsRerankPricingCompletionUtcStart: endpointsOutputsRerankPricingCompletionUtcStart, + endpointsOutputsRerankPricingCompletionUtcEnd: endpointsOutputsRerankPricingCompletionUtcEnd, + endpointsOutputsRerankPricingCompletionUtcDays: endpointsOutputsRerankPricingCompletionUtcDays, + endpointsOutputsRerankPricingInternalReasoningUnit: endpointsOutputsRerankPricingInternalReasoningUnit, + endpointsOutputsRerankPricingInternalReasoningCostUsd: endpointsOutputsRerankPricingInternalReasoningCostUsd, + endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd: endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd, + endpointsOutputsRerankPricingInternalReasoningUtcStart: endpointsOutputsRerankPricingInternalReasoningUtcStart, + endpointsOutputsRerankPricingInternalReasoningUtcEnd: endpointsOutputsRerankPricingInternalReasoningUtcEnd, + endpointsOutputsRerankPricingInternalReasoningUtcDays: endpointsOutputsRerankPricingInternalReasoningUtcDays, + endpointsOutputsRerankCapacityType: endpointsOutputsRerankCapacityType, + endpointsOutputsRerankCapacityCompletionUnit: endpointsOutputsRerankCapacityCompletionUnit, + endpointsOutputsRerankCapacityCompletionPer: endpointsOutputsRerankCapacityCompletionPer, + endpointsOutputsRerankCapacityCompletionValue: endpointsOutputsRerankCapacityCompletionValue, + endpointsOutputsRerankCapacityInternalReasoningUnit: endpointsOutputsRerankCapacityInternalReasoningUnit, + endpointsOutputsRerankCapacityInternalReasoningPer: endpointsOutputsRerankCapacityInternalReasoningPer, + endpointsOutputsRerankCapacityInternalReasoningValue: endpointsOutputsRerankCapacityInternalReasoningValue, + endpointsOutputsRerankCapacityConcurrencyUnit: endpointsOutputsRerankCapacityConcurrencyUnit, + endpointsOutputsRerankCapacityConcurrencyValue: endpointsOutputsRerankCapacityConcurrencyValue, + endpointsOutputsRerankParams: endpointsOutputsRerankParams, + endpointsOutputsDecisionsPassthroughParameters: endpointsOutputsDecisionsPassthroughParameters, + endpointsOutputsDecisionsPricingType: endpointsOutputsDecisionsPricingType, + endpointsOutputsDecisionsPricingCompletionUnit: endpointsOutputsDecisionsPricingCompletionUnit, + endpointsOutputsDecisionsPricingCompletionCostUsd: endpointsOutputsDecisionsPricingCompletionCostUsd, + endpointsOutputsDecisionsPricingCompletionOverridesCostUsd: endpointsOutputsDecisionsPricingCompletionOverridesCostUsd, + endpointsOutputsDecisionsPricingCompletionUtcStart: endpointsOutputsDecisionsPricingCompletionUtcStart, + endpointsOutputsDecisionsPricingCompletionUtcEnd: endpointsOutputsDecisionsPricingCompletionUtcEnd, + endpointsOutputsDecisionsPricingCompletionUtcDays: endpointsOutputsDecisionsPricingCompletionUtcDays, + endpointsOutputsDecisionsPricingInternalReasoningUnit: endpointsOutputsDecisionsPricingInternalReasoningUnit, + endpointsOutputsDecisionsPricingInternalReasoningCostUsd: endpointsOutputsDecisionsPricingInternalReasoningCostUsd, + endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd: endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd, + endpointsOutputsDecisionsPricingInternalReasoningUtcStart: endpointsOutputsDecisionsPricingInternalReasoningUtcStart, + endpointsOutputsDecisionsPricingInternalReasoningUtcEnd: endpointsOutputsDecisionsPricingInternalReasoningUtcEnd, + endpointsOutputsDecisionsPricingInternalReasoningUtcDays: endpointsOutputsDecisionsPricingInternalReasoningUtcDays, + endpointsOutputsDecisionsCapacityType: endpointsOutputsDecisionsCapacityType, + endpointsOutputsDecisionsCapacityCompletionUnit: endpointsOutputsDecisionsCapacityCompletionUnit, + endpointsOutputsDecisionsCapacityCompletionPer: endpointsOutputsDecisionsCapacityCompletionPer, + endpointsOutputsDecisionsCapacityCompletionValue: endpointsOutputsDecisionsCapacityCompletionValue, + endpointsOutputsDecisionsCapacityInternalReasoningUnit: endpointsOutputsDecisionsCapacityInternalReasoningUnit, + endpointsOutputsDecisionsCapacityInternalReasoningPer: endpointsOutputsDecisionsCapacityInternalReasoningPer, + endpointsOutputsDecisionsCapacityInternalReasoningValue: endpointsOutputsDecisionsCapacityInternalReasoningValue, + endpointsOutputsDecisionsCapacityConcurrencyUnit: endpointsOutputsDecisionsCapacityConcurrencyUnit, + endpointsOutputsDecisionsCapacityConcurrencyValue: endpointsOutputsDecisionsCapacityConcurrencyValue, + endpointsOutputsDecisionsParams: endpointsOutputsDecisionsParams, + endpointsOutputsAudioPassthroughParameters: endpointsOutputsAudioPassthroughParameters, + endpointsOutputsAudioPricingType: endpointsOutputsAudioPricingType, + endpointsOutputsAudioPricingCompletionUnit: endpointsOutputsAudioPricingCompletionUnit, + endpointsOutputsAudioPricingCompletionCostUsd: endpointsOutputsAudioPricingCompletionCostUsd, + endpointsOutputsAudioPricingCompletionOverridesCostUsd: endpointsOutputsAudioPricingCompletionOverridesCostUsd, + endpointsOutputsAudioPricingCompletionUtcStart: endpointsOutputsAudioPricingCompletionUtcStart, + endpointsOutputsAudioPricingCompletionUtcEnd: endpointsOutputsAudioPricingCompletionUtcEnd, + endpointsOutputsAudioPricingCompletionUtcDays: endpointsOutputsAudioPricingCompletionUtcDays, + endpointsOutputsAudioPricingInternalReasoningUnit: endpointsOutputsAudioPricingInternalReasoningUnit, + endpointsOutputsAudioPricingInternalReasoningCostUsd: endpointsOutputsAudioPricingInternalReasoningCostUsd, + endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd: endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd, + endpointsOutputsAudioPricingInternalReasoningUtcStart: endpointsOutputsAudioPricingInternalReasoningUtcStart, + endpointsOutputsAudioPricingInternalReasoningUtcEnd: endpointsOutputsAudioPricingInternalReasoningUtcEnd, + endpointsOutputsAudioPricingInternalReasoningUtcDays: endpointsOutputsAudioPricingInternalReasoningUtcDays, + endpointsOutputsAudioCapacityType: endpointsOutputsAudioCapacityType, + endpointsOutputsAudioCapacityCompletionUnit: endpointsOutputsAudioCapacityCompletionUnit, + endpointsOutputsAudioCapacityCompletionPer: endpointsOutputsAudioCapacityCompletionPer, + endpointsOutputsAudioCapacityCompletionValue: endpointsOutputsAudioCapacityCompletionValue, + endpointsOutputsAudioCapacityInternalReasoningUnit: endpointsOutputsAudioCapacityInternalReasoningUnit, + endpointsOutputsAudioCapacityInternalReasoningPer: endpointsOutputsAudioCapacityInternalReasoningPer, + endpointsOutputsAudioCapacityInternalReasoningValue: endpointsOutputsAudioCapacityInternalReasoningValue, + endpointsOutputsAudioCapacityConcurrencyUnit: endpointsOutputsAudioCapacityConcurrencyUnit, + endpointsOutputsAudioCapacityConcurrencyValue: endpointsOutputsAudioCapacityConcurrencyValue, + endpointsOutputsAudioStreaming: endpointsOutputsAudioStreaming, + endpointsOutputsAudioParams: endpointsOutputsAudioParams, + endpointsProviderSlug: endpointsProviderSlug, + endpointsProviderTag: endpointsProviderTag, + endpointsProviderName: endpointsProviderName, + endpointsDataPolicyTraining: endpointsDataPolicyTraining, + endpointsDataPolicyRetainsPrompts: endpointsDataPolicyRetainsPrompts, + endpointsDataPolicyRetentionDays: endpointsDataPolicyRetentionDays, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List models with V2 endpoint documents
+ /// Returns every publicly served model together with each of its endpoints in the Models API V2 document format. The V2 document is the schema providers publish to OpenRouter, so each endpoint is reported in the shape it was declared, with pricing attached to the modality it applies to (`inputs`/`outputs`, each with its `params`). Operator-only fields such as capacity and `discount_to_user` are not part of the public document.
+ /// Without credentials the response is the public catalog. With an API key it is the catalog that key can route to, the same one `GET /api/v1/models/user` serves: models and endpoints the account was granted private access to are included, and endpoints the account or key guardrails, provider preferences, BYOK and privacy settings exclude are omitted, along with routers and aliases left with nothing to route to. A key that does not resolve is rejected with 401.
+ /// Every field of the response document is a filter, named by its dotted JSON path: `<path>=<value>` tests equality and `<path>.<operator>=<value>` applies `gt`, `gte`, `lt`, `lte`, `between`, `in`, `exists`, `contains`, `starts_with` or `ends_with` as the field type allows; `<path>.not.<operator>=<value>` (or `<path>.not=<value>` for not-equal) keeps the records where no value matches. Suffixes, arithmetic operators, parentheses and the list comma are read before percent-decoding, so an encoded character is always literal: a map key spelled like an operator or `not` is reached by encoding one of its characters (`params.n%6Ft.exists=true`), a `/` or `+` inside a literal is `%2F` or `%2B`, and arithmetic is spelled with the bare characters (`created/10`, `context_length+1`). `in` takes a comma-separated list and `between` the inclusive lower and upper bound (a literal comma is `%2C`); strings compare trimmed and lower-cased on both sides, so `author=Anthropic` and `name.contains=claude` match. A filter under `endpoints.` keeps only the endpoints that satisfy every such filter and omits models left with none. A path through a repeated object is existential (`endpoints.pricing.type=request` matches an endpoint with some request-priced entry); the members of a typed collection are addressed by their type (`endpoints.inputs.text.params.max_length.value.gte=1000000`, `endpoints.inputs.text.pricing.prompt.cost_usd.lte=0.000001`), and a dynamic key is written in the path (`endpoints.outputs.text.params.tools.type=boolean`, `endpoints.outputs.text.params.temperature.range.max.gte=2`). Both sides of an operator are operands of one grammar: a literal, a path, or an arithmetic expression over numeric paths and numbers, so a filter relates any two of them (`endpoints.inputs.text.pricing.prompt.cost_usd.gte=endpoints.outputs.text.pricing.completion.cost_usd*100`, `10000.lte=endpoints.inputs.text.params.max_length.value`, `endpoints.id=id`). Arithmetic requires numeric paths, each operator applies to the type its operands share, and text that names no field path is a literal (`id=openai/gpt-4`), so the field names at the root of the document are reserved words. A parameter that is not a field path is rejected with a 400 whose `error.metadata` names the `code`, `parameter` and `reason`.
+ /// `sort` takes comma-separated paths or expressions, `-` prefixed for descending; a key must be a scalar path or expression (`created`, `endpoints.inputs.text.pricing.prompt.cost_usd`); a model sorts by the best value in the sort direction across its endpoints and across the time windows of a price, missing values sort last and `id` ascending breaks ties, so the order is total even without `sort`. Pagination is opt-in: pass `limit` and follow `links.next`, which carries an opaque `cursor` bound to the filters and sort; `offset` remains supported. `total_count` is the number of models matching the filters. + ///
+ /// + /// Number of records to skip (0 when omitted); kept for compatibility, prefer `cursor`. Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 0 + /// + /// + /// Maximum number of records to return (500 when omitted, max 1000). Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.
+ /// Example: 500 + /// + /// + /// Opaque keyset cursor from the previous page's `links.next`. Bound to the filters and sort it was issued for; a cursor sent with different filters or sort is rejected.
+ /// Example: eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ + /// + /// + /// Only return endpoints in the given data region ("eu" or "us"); models left without an endpoint are omitted.
+ /// Example: eu + /// + /// + /// Comma-separated sort keys, each a path below or an arithmetic expression over numeric paths; prefix with `-` for descending. A key under `endpoints.` ranks each model by its best endpoint value in the sort direction. Missing values sort last and `id` ascending breaks ties. Keys: `id`, `canonical_slug`, `author`, `name`, `variant`, `kind`, `alias_target.slug`, `alias_target.name`, `created`, `description`, `context_length`, `hugging_face_id`, `endpoints.schema_version`, `endpoints.id`, `endpoints.hugging_face_id`, `endpoints.name`, `endpoints.created`, `endpoints.quantization`, `endpoints.tokenizer`, `endpoints.description`, `endpoints.pricing.request.unit`, `endpoints.pricing.request.cost_usd`, `endpoints.pricing.web_search.unit`, `endpoints.pricing.web_search.cost_usd`, `endpoints.capacity.request.unit`, `endpoints.capacity.request.per`, `endpoints.capacity.request.value`, `endpoints.capacity.web_search.unit`, `endpoints.capacity.web_search.per`, `endpoints.capacity.web_search.value`, `endpoints.capacity.concurrency.unit`, `endpoints.capacity.concurrency.value`, `endpoints.deprecation_date`, `endpoints.is_ready`, `endpoints.is_free`, `endpoints.service_tier`, `endpoints.discount_to_user`, `endpoints.openrouter.slug`, `endpoints.deployment_region`, `endpoints.inputs.text.pricing.prompt.unit`, `endpoints.inputs.text.pricing.prompt.cost_usd`, `endpoints.inputs.text.pricing.prompt.utc_start`, `endpoints.inputs.text.pricing.prompt.utc_end`, `endpoints.inputs.text.pricing.cached_prompt.unit`, `endpoints.inputs.text.pricing.cached_prompt.cost_usd`, `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.text.pricing.cached_prompt.implicit`, `endpoints.inputs.text.pricing.cached_prompt.utc_start`, `endpoints.inputs.text.pricing.cached_prompt.utc_end`, `endpoints.inputs.text.pricing.cache_write.unit`, `endpoints.inputs.text.pricing.cache_write.cost_usd`, `endpoints.inputs.text.pricing.cache_write.ttl_seconds`, `endpoints.inputs.text.pricing.cache_write.implicit`, `endpoints.inputs.text.pricing.cache_write.utc_start`, `endpoints.inputs.text.pricing.cache_write.utc_end`, `endpoints.inputs.text.capacity.prompt.unit`, `endpoints.inputs.text.capacity.prompt.per`, `endpoints.inputs.text.capacity.prompt.value`, `endpoints.inputs.text.capacity.cached_prompt.unit`, `endpoints.inputs.text.capacity.cached_prompt.per`, `endpoints.inputs.text.capacity.cached_prompt.value`, `endpoints.inputs.text.capacity.cache_write.unit`, `endpoints.inputs.text.capacity.cache_write.per`, `endpoints.inputs.text.capacity.cache_write.value`, `endpoints.inputs.text.params.max_prompt_length.value`, `endpoints.inputs.text.params.max_prompt_length.unit`, `endpoints.inputs.text.params.max_length.value`, `endpoints.inputs.text.params.max_length.unit`, `endpoints.inputs.image.pricing.prompt.unit`, `endpoints.inputs.image.pricing.prompt.cost_usd`, `endpoints.inputs.image.pricing.prompt.utc_start`, `endpoints.inputs.image.pricing.prompt.utc_end`, `endpoints.inputs.image.pricing.cached_prompt.unit`, `endpoints.inputs.image.pricing.cached_prompt.cost_usd`, `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.image.pricing.cached_prompt.implicit`, `endpoints.inputs.image.pricing.cached_prompt.utc_start`, `endpoints.inputs.image.pricing.cached_prompt.utc_end`, `endpoints.inputs.image.pricing.cache_write.unit`, `endpoints.inputs.image.pricing.cache_write.cost_usd`, `endpoints.inputs.image.pricing.cache_write.ttl_seconds`, `endpoints.inputs.image.pricing.cache_write.implicit`, `endpoints.inputs.image.pricing.cache_write.utc_start`, `endpoints.inputs.image.pricing.cache_write.utc_end`, `endpoints.inputs.image.capacity.prompt.unit`, `endpoints.inputs.image.capacity.prompt.per`, `endpoints.inputs.image.capacity.prompt.value`, `endpoints.inputs.image.capacity.cached_prompt.unit`, `endpoints.inputs.image.capacity.cached_prompt.per`, `endpoints.inputs.image.capacity.cached_prompt.value`, `endpoints.inputs.image.capacity.cache_write.unit`, `endpoints.inputs.image.capacity.cache_write.per`, `endpoints.inputs.image.capacity.cache_write.value`, `endpoints.inputs.image.params.sources.type`, `endpoints.inputs.image.params.formats.type`, `endpoints.inputs.image.params.detail_levels.type`, `endpoints.inputs.image.params.references.type`, `endpoints.inputs.image.params.references.min`, `endpoints.inputs.image.params.references.max`, `endpoints.inputs.image.params.references.unit`, `endpoints.inputs.image.params.role.type`, `endpoints.inputs.image.params.max_content_size_bytes.value`, `endpoints.inputs.image.params.max_content_size_bytes.unit`, `endpoints.inputs.video.pricing.prompt.unit`, `endpoints.inputs.video.pricing.prompt.cost_usd`, `endpoints.inputs.video.pricing.prompt.utc_start`, `endpoints.inputs.video.pricing.prompt.utc_end`, `endpoints.inputs.video.pricing.cached_prompt.unit`, `endpoints.inputs.video.pricing.cached_prompt.cost_usd`, `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.video.pricing.cached_prompt.implicit`, `endpoints.inputs.video.pricing.cached_prompt.utc_start`, `endpoints.inputs.video.pricing.cached_prompt.utc_end`, `endpoints.inputs.video.pricing.cache_write.unit`, `endpoints.inputs.video.pricing.cache_write.cost_usd`, `endpoints.inputs.video.pricing.cache_write.ttl_seconds`, `endpoints.inputs.video.pricing.cache_write.implicit`, `endpoints.inputs.video.pricing.cache_write.utc_start`, `endpoints.inputs.video.pricing.cache_write.utc_end`, `endpoints.inputs.video.capacity.prompt.unit`, `endpoints.inputs.video.capacity.prompt.per`, `endpoints.inputs.video.capacity.prompt.value`, `endpoints.inputs.video.capacity.cached_prompt.unit`, `endpoints.inputs.video.capacity.cached_prompt.per`, `endpoints.inputs.video.capacity.cached_prompt.value`, `endpoints.inputs.video.capacity.cache_write.unit`, `endpoints.inputs.video.capacity.cache_write.per`, `endpoints.inputs.video.capacity.cache_write.value`, `endpoints.inputs.video.params.sources.type`, `endpoints.inputs.video.params.formats.type`, `endpoints.inputs.video.params.max_duration_seconds.value`, `endpoints.inputs.video.params.max_duration_seconds.unit`, `endpoints.inputs.video.params.max_content_size_bytes.value`, `endpoints.inputs.video.params.max_content_size_bytes.unit`, `endpoints.inputs.audio.pricing.prompt.unit`, `endpoints.inputs.audio.pricing.prompt.cost_usd`, `endpoints.inputs.audio.pricing.prompt.utc_start`, `endpoints.inputs.audio.pricing.prompt.utc_end`, `endpoints.inputs.audio.pricing.cached_prompt.unit`, `endpoints.inputs.audio.pricing.cached_prompt.cost_usd`, `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.audio.pricing.cached_prompt.implicit`, `endpoints.inputs.audio.pricing.cached_prompt.utc_start`, `endpoints.inputs.audio.pricing.cached_prompt.utc_end`, `endpoints.inputs.audio.pricing.cache_write.unit`, `endpoints.inputs.audio.pricing.cache_write.cost_usd`, `endpoints.inputs.audio.pricing.cache_write.ttl_seconds`, `endpoints.inputs.audio.pricing.cache_write.implicit`, `endpoints.inputs.audio.pricing.cache_write.utc_start`, `endpoints.inputs.audio.pricing.cache_write.utc_end`, `endpoints.inputs.audio.capacity.prompt.unit`, `endpoints.inputs.audio.capacity.prompt.per`, `endpoints.inputs.audio.capacity.prompt.value`, `endpoints.inputs.audio.capacity.cached_prompt.unit`, `endpoints.inputs.audio.capacity.cached_prompt.per`, `endpoints.inputs.audio.capacity.cached_prompt.value`, `endpoints.inputs.audio.capacity.cache_write.unit`, `endpoints.inputs.audio.capacity.cache_write.per`, `endpoints.inputs.audio.capacity.cache_write.value`, `endpoints.inputs.audio.params.sources.type`, `endpoints.inputs.audio.params.formats.type`, `endpoints.inputs.audio.params.max_duration_seconds.value`, `endpoints.inputs.audio.params.max_duration_seconds.unit`, `endpoints.inputs.audio.params.max_content_size_bytes.value`, `endpoints.inputs.audio.params.max_content_size_bytes.unit`, `endpoints.inputs.file.pricing.prompt.unit`, `endpoints.inputs.file.pricing.prompt.cost_usd`, `endpoints.inputs.file.pricing.prompt.utc_start`, `endpoints.inputs.file.pricing.prompt.utc_end`, `endpoints.inputs.file.pricing.cached_prompt.unit`, `endpoints.inputs.file.pricing.cached_prompt.cost_usd`, `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.file.pricing.cached_prompt.implicit`, `endpoints.inputs.file.pricing.cached_prompt.utc_start`, `endpoints.inputs.file.pricing.cached_prompt.utc_end`, `endpoints.inputs.file.pricing.cache_write.unit`, `endpoints.inputs.file.pricing.cache_write.cost_usd`, `endpoints.inputs.file.pricing.cache_write.ttl_seconds`, `endpoints.inputs.file.pricing.cache_write.implicit`, `endpoints.inputs.file.pricing.cache_write.utc_start`, `endpoints.inputs.file.pricing.cache_write.utc_end`, `endpoints.inputs.file.capacity.prompt.unit`, `endpoints.inputs.file.capacity.prompt.per`, `endpoints.inputs.file.capacity.prompt.value`, `endpoints.inputs.file.capacity.cached_prompt.unit`, `endpoints.inputs.file.capacity.cached_prompt.per`, `endpoints.inputs.file.capacity.cached_prompt.value`, `endpoints.inputs.file.capacity.cache_write.unit`, `endpoints.inputs.file.capacity.cache_write.per`, `endpoints.inputs.file.capacity.cache_write.value`, `endpoints.inputs.file.params.sources.type`, `endpoints.inputs.file.params.formats.type`, `endpoints.inputs.file.params.references.type`, `endpoints.inputs.file.params.references.min`, `endpoints.inputs.file.params.references.max`, `endpoints.inputs.file.params.references.unit`, `endpoints.inputs.file.params.max_content_size_bytes.value`, `endpoints.inputs.file.params.max_content_size_bytes.unit`, `endpoints.outputs.text.max_length.value`, `endpoints.outputs.text.max_length.unit`, `endpoints.outputs.text.pricing.completion.unit`, `endpoints.outputs.text.pricing.completion.cost_usd`, `endpoints.outputs.text.pricing.completion.utc_start`, `endpoints.outputs.text.pricing.completion.utc_end`, `endpoints.outputs.text.pricing.internal_reasoning.unit`, `endpoints.outputs.text.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.text.pricing.internal_reasoning.utc_start`, `endpoints.outputs.text.pricing.internal_reasoning.utc_end`, `endpoints.outputs.text.capacity.completion.unit`, `endpoints.outputs.text.capacity.completion.per`, `endpoints.outputs.text.capacity.completion.value`, `endpoints.outputs.text.capacity.internal_reasoning.unit`, `endpoints.outputs.text.capacity.internal_reasoning.per`, `endpoints.outputs.text.capacity.internal_reasoning.value`, `endpoints.outputs.text.capacity.concurrency.unit`, `endpoints.outputs.text.capacity.concurrency.value`, `endpoints.outputs.text.streaming`, `endpoints.outputs.image.pricing.completion.unit`, `endpoints.outputs.image.pricing.completion.cost_usd`, `endpoints.outputs.image.pricing.completion.utc_start`, `endpoints.outputs.image.pricing.completion.utc_end`, `endpoints.outputs.image.pricing.internal_reasoning.unit`, `endpoints.outputs.image.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.image.pricing.internal_reasoning.utc_start`, `endpoints.outputs.image.pricing.internal_reasoning.utc_end`, `endpoints.outputs.image.capacity.completion.unit`, `endpoints.outputs.image.capacity.completion.per`, `endpoints.outputs.image.capacity.completion.value`, `endpoints.outputs.image.capacity.internal_reasoning.unit`, `endpoints.outputs.image.capacity.internal_reasoning.per`, `endpoints.outputs.image.capacity.internal_reasoning.value`, `endpoints.outputs.image.capacity.concurrency.unit`, `endpoints.outputs.image.capacity.concurrency.value`, `endpoints.outputs.image.streaming`, `endpoints.outputs.video.pricing.completion.unit`, `endpoints.outputs.video.pricing.completion.cost_usd`, `endpoints.outputs.video.pricing.completion.utc_start`, `endpoints.outputs.video.pricing.completion.utc_end`, `endpoints.outputs.video.pricing.internal_reasoning.unit`, `endpoints.outputs.video.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.video.pricing.internal_reasoning.utc_start`, `endpoints.outputs.video.pricing.internal_reasoning.utc_end`, `endpoints.outputs.video.capacity.completion.unit`, `endpoints.outputs.video.capacity.completion.per`, `endpoints.outputs.video.capacity.completion.value`, `endpoints.outputs.video.capacity.internal_reasoning.unit`, `endpoints.outputs.video.capacity.internal_reasoning.per`, `endpoints.outputs.video.capacity.internal_reasoning.value`, `endpoints.outputs.video.capacity.concurrency.unit`, `endpoints.outputs.video.capacity.concurrency.value`, `endpoints.outputs.video.streaming`, `endpoints.outputs.speech.pricing.completion.unit`, `endpoints.outputs.speech.pricing.completion.cost_usd`, `endpoints.outputs.speech.pricing.completion.utc_start`, `endpoints.outputs.speech.pricing.completion.utc_end`, `endpoints.outputs.speech.pricing.internal_reasoning.unit`, `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_start`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_end`, `endpoints.outputs.speech.capacity.completion.unit`, `endpoints.outputs.speech.capacity.completion.per`, `endpoints.outputs.speech.capacity.completion.value`, `endpoints.outputs.speech.capacity.internal_reasoning.unit`, `endpoints.outputs.speech.capacity.internal_reasoning.per`, `endpoints.outputs.speech.capacity.internal_reasoning.value`, `endpoints.outputs.speech.capacity.concurrency.unit`, `endpoints.outputs.speech.capacity.concurrency.value`, `endpoints.outputs.speech.streaming`, `endpoints.outputs.transcription.pricing.completion.unit`, `endpoints.outputs.transcription.pricing.completion.cost_usd`, `endpoints.outputs.transcription.pricing.completion.utc_start`, `endpoints.outputs.transcription.pricing.completion.utc_end`, `endpoints.outputs.transcription.pricing.internal_reasoning.unit`, `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end`, `endpoints.outputs.transcription.capacity.completion.unit`, `endpoints.outputs.transcription.capacity.completion.per`, `endpoints.outputs.transcription.capacity.completion.value`, `endpoints.outputs.transcription.capacity.internal_reasoning.unit`, `endpoints.outputs.transcription.capacity.internal_reasoning.per`, `endpoints.outputs.transcription.capacity.internal_reasoning.value`, `endpoints.outputs.transcription.capacity.concurrency.unit`, `endpoints.outputs.transcription.capacity.concurrency.value`, `endpoints.outputs.transcription.streaming`, `endpoints.outputs.embeddings.pricing.completion.unit`, `endpoints.outputs.embeddings.pricing.completion.cost_usd`, `endpoints.outputs.embeddings.pricing.completion.utc_start`, `endpoints.outputs.embeddings.pricing.completion.utc_end`, `endpoints.outputs.embeddings.pricing.internal_reasoning.unit`, `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end`, `endpoints.outputs.embeddings.capacity.completion.unit`, `endpoints.outputs.embeddings.capacity.completion.per`, `endpoints.outputs.embeddings.capacity.completion.value`, `endpoints.outputs.embeddings.capacity.internal_reasoning.unit`, `endpoints.outputs.embeddings.capacity.internal_reasoning.per`, `endpoints.outputs.embeddings.capacity.internal_reasoning.value`, `endpoints.outputs.embeddings.capacity.concurrency.unit`, `endpoints.outputs.embeddings.capacity.concurrency.value`, `endpoints.outputs.rerank.pricing.completion.unit`, `endpoints.outputs.rerank.pricing.completion.cost_usd`, `endpoints.outputs.rerank.pricing.completion.utc_start`, `endpoints.outputs.rerank.pricing.completion.utc_end`, `endpoints.outputs.rerank.pricing.internal_reasoning.unit`, `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end`, `endpoints.outputs.rerank.capacity.completion.unit`, `endpoints.outputs.rerank.capacity.completion.per`, `endpoints.outputs.rerank.capacity.completion.value`, `endpoints.outputs.rerank.capacity.internal_reasoning.unit`, `endpoints.outputs.rerank.capacity.internal_reasoning.per`, `endpoints.outputs.rerank.capacity.internal_reasoning.value`, `endpoints.outputs.rerank.capacity.concurrency.unit`, `endpoints.outputs.rerank.capacity.concurrency.value`, `endpoints.outputs.decisions.pricing.completion.unit`, `endpoints.outputs.decisions.pricing.completion.cost_usd`, `endpoints.outputs.decisions.pricing.completion.utc_start`, `endpoints.outputs.decisions.pricing.completion.utc_end`, `endpoints.outputs.decisions.pricing.internal_reasoning.unit`, `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end`, `endpoints.outputs.decisions.capacity.completion.unit`, `endpoints.outputs.decisions.capacity.completion.per`, `endpoints.outputs.decisions.capacity.completion.value`, `endpoints.outputs.decisions.capacity.internal_reasoning.unit`, `endpoints.outputs.decisions.capacity.internal_reasoning.per`, `endpoints.outputs.decisions.capacity.internal_reasoning.value`, `endpoints.outputs.decisions.capacity.concurrency.unit`, `endpoints.outputs.decisions.capacity.concurrency.value`, `endpoints.outputs.audio.pricing.completion.unit`, `endpoints.outputs.audio.pricing.completion.cost_usd`, `endpoints.outputs.audio.pricing.completion.utc_start`, `endpoints.outputs.audio.pricing.completion.utc_end`, `endpoints.outputs.audio.pricing.internal_reasoning.unit`, `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_start`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_end`, `endpoints.outputs.audio.capacity.completion.unit`, `endpoints.outputs.audio.capacity.completion.per`, `endpoints.outputs.audio.capacity.completion.value`, `endpoints.outputs.audio.capacity.internal_reasoning.unit`, `endpoints.outputs.audio.capacity.internal_reasoning.per`, `endpoints.outputs.audio.capacity.internal_reasoning.value`, `endpoints.outputs.audio.capacity.concurrency.unit`, `endpoints.outputs.audio.capacity.concurrency.value`, `endpoints.outputs.audio.streaming`, `endpoints.provider.slug`, `endpoints.provider.tag`, `endpoints.provider.name`, `endpoints.data_policy.training`, `endpoints.data_policy.retains_prompts`, `endpoints.data_policy.retention_days`.
+ /// Example: -created,endpoints.inputs.text.pricing.prompt.cost_usd + /// + /// + /// Filter where the value at `id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `canonical_slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `author` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `variant` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `free`, `extended`, `standard`, `thinking`, `batch`. + /// + /// + /// Filter where the value at `kind` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `model`, `router`, `alias`. + /// + /// + /// Filter where the value at `alias_target.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `alias_target.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `context_length` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `inputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `file`, `audio`, `video`. + /// + /// + /// Filter where any element at `outputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `embeddings`, `audio`, `video`, `rerank`, `decisions`, `speech`, `transcription`. + /// + /// + /// Filter where the value at `endpoints.schema_version` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.quantization` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `int4`, `int8`, `fp4`, `mxfp4`, `nvfp4`, `fp6`, `fp8`, `mxfp8`, `fp16`, `bf16`, `fp32`. + /// + /// + /// Filter where the value at `endpoints.tokenizer` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.pricing.request.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.request.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.pricing.web_search.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.pricing.web_search.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.request.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.capacity.web_search.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.passthrough_parameters`: `endpoints.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.passthrough_parameters.<key>.type`, `endpoints.passthrough_parameters.<key>.range.min`, `endpoints.passthrough_parameters.<key>.range.max`, `endpoints.passthrough_parameters.<key>.range.default`, `endpoints.passthrough_parameters.<key>.range.values`, `endpoints.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.deprecation_date` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_ready` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.is_free` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.service_tier` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `flex`, `priority`, `ultrafast`, `fast`. + /// + /// + /// Filter where the value at `endpoints.discount_to_user` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.openrouter.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.country_code` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.datacenters.region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.deployment_region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `audio`, `file`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.text.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.text.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.text.passthrough_parameters`: `endpoints.inputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.text.passthrough_parameters.<key>.type`, `endpoints.inputs.text.passthrough_parameters.<key>.range.min`, `endpoints.inputs.text.passthrough_parameters.<key>.range.max`, `endpoints.inputs.text.passthrough_parameters.<key>.range.default`, `endpoints.inputs.text.passthrough_parameters.<key>.range.values`, `endpoints.inputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_prompt_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.text.params.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.image.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.image.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.image.passthrough_parameters`: `endpoints.inputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.image.passthrough_parameters.<key>.type`, `endpoints.inputs.image.passthrough_parameters.<key>.range.min`, `endpoints.inputs.image.passthrough_parameters.<key>.range.max`, `endpoints.inputs.image.passthrough_parameters.<key>.range.default`, `endpoints.inputs.image.passthrough_parameters.<key>.range.values`, `endpoints.inputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `image/png`, `image/jpeg`, `image/webp`, `image/gif`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.detail_levels.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.detail_levels.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `auto`, `low`, `high`, `original`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.role.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.image.params.role.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `reference`, `first_frame`, `last_frame`. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.video.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.video.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.video.passthrough_parameters`: `endpoints.inputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.video.passthrough_parameters.<key>.type`, `endpoints.inputs.video.passthrough_parameters.<key>.range.min`, `endpoints.inputs.video.passthrough_parameters.<key>.range.max`, `endpoints.inputs.video.passthrough_parameters.<key>.range.default`, `endpoints.inputs.video.passthrough_parameters.<key>.range.values`, `endpoints.inputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.video.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `video/mp4`, `video/webm`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.audio.passthrough_parameters`: `endpoints.inputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.audio.passthrough_parameters.<key>.type`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.inputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.audio.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `audio/wav`, `audio/mpeg`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.inputs.file.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.inputs.file.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.inputs.file.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.inputs.file.passthrough_parameters`: `endpoints.inputs.file.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.file.passthrough_parameters.<key>.type`, `endpoints.inputs.file.passthrough_parameters.<key>.range.min`, `endpoints.inputs.file.passthrough_parameters.<key>.range.max`, `endpoints.inputs.file.passthrough_parameters.<key>.range.default`, `endpoints.inputs.file.passthrough_parameters.<key>.range.values`, `endpoints.inputs.file.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`. + /// + /// + /// Filter where any element at `endpoints.inputs.file.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `application/pdf`, `text/plain`, `text/markdown`, `text/html`, `text/csv`, `application/json`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter where any value at `endpoints.outputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `speech`, `transcription`, `embeddings`, `rerank`, `decisions`, `audio`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.passthrough_parameters`: `endpoints.outputs.text.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.passthrough_parameters.<key>.type`, `endpoints.outputs.text.passthrough_parameters.<key>.range.min`, `endpoints.outputs.text.passthrough_parameters.<key>.range.max`, `endpoints.outputs.text.passthrough_parameters.<key>.range.default`, `endpoints.outputs.text.passthrough_parameters.<key>.range.values`, `endpoints.outputs.text.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.text.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.text.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.text.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.text.params`: `endpoints.outputs.text.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.params.<key>.type`, `endpoints.outputs.text.params.<key>.range.min`, `endpoints.outputs.text.params.<key>.range.max`, `endpoints.outputs.text.params.<key>.range.default`, `endpoints.outputs.text.params.<key>.range.values`, `endpoints.outputs.text.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.passthrough_parameters`: `endpoints.outputs.image.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.passthrough_parameters.<key>.type`, `endpoints.outputs.image.passthrough_parameters.<key>.range.min`, `endpoints.outputs.image.passthrough_parameters.<key>.range.max`, `endpoints.outputs.image.passthrough_parameters.<key>.range.default`, `endpoints.outputs.image.passthrough_parameters.<key>.range.values`, `endpoints.outputs.image.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.image.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.image.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.image.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.image.params`: `endpoints.outputs.image.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.params.<key>.type`, `endpoints.outputs.image.params.<key>.range.min`, `endpoints.outputs.image.params.<key>.range.max`, `endpoints.outputs.image.params.<key>.range.default`, `endpoints.outputs.image.params.<key>.range.values`, `endpoints.outputs.image.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.passthrough_parameters`: `endpoints.outputs.video.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.passthrough_parameters.<key>.type`, `endpoints.outputs.video.passthrough_parameters.<key>.range.min`, `endpoints.outputs.video.passthrough_parameters.<key>.range.max`, `endpoints.outputs.video.passthrough_parameters.<key>.range.default`, `endpoints.outputs.video.passthrough_parameters.<key>.range.values`, `endpoints.outputs.video.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.video.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.video.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.video.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.video.params`: `endpoints.outputs.video.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.params.<key>.type`, `endpoints.outputs.video.params.<key>.range.min`, `endpoints.outputs.video.params.<key>.range.max`, `endpoints.outputs.video.params.<key>.range.default`, `endpoints.outputs.video.params.<key>.range.values`, `endpoints.outputs.video.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.passthrough_parameters`: `endpoints.outputs.speech.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.passthrough_parameters.<key>.type`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.min`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.max`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.default`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.values`, `endpoints.outputs.speech.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.speech.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.speech.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.speech.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.speech.params`: `endpoints.outputs.speech.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.params.<key>.type`, `endpoints.outputs.speech.params.<key>.range.min`, `endpoints.outputs.speech.params.<key>.range.max`, `endpoints.outputs.speech.params.<key>.range.default`, `endpoints.outputs.speech.params.<key>.range.values`, `endpoints.outputs.speech.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.passthrough_parameters`: `endpoints.outputs.transcription.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.passthrough_parameters.<key>.type`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.min`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.max`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.default`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.values`, `endpoints.outputs.transcription.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.transcription.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.transcription.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.transcription.params`: `endpoints.outputs.transcription.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.params.<key>.type`, `endpoints.outputs.transcription.params.<key>.range.min`, `endpoints.outputs.transcription.params.<key>.range.max`, `endpoints.outputs.transcription.params.<key>.range.default`, `endpoints.outputs.transcription.params.<key>.range.values`, `endpoints.outputs.transcription.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.passthrough_parameters`: `endpoints.outputs.embeddings.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.passthrough_parameters.<key>.type`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.min`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.max`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.default`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.values`, `endpoints.outputs.embeddings.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.embeddings.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.embeddings.params`: `endpoints.outputs.embeddings.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.params.<key>.type`, `endpoints.outputs.embeddings.params.<key>.range.min`, `endpoints.outputs.embeddings.params.<key>.range.max`, `endpoints.outputs.embeddings.params.<key>.range.default`, `endpoints.outputs.embeddings.params.<key>.range.values`, `endpoints.outputs.embeddings.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.passthrough_parameters`: `endpoints.outputs.rerank.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.passthrough_parameters.<key>.type`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.min`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.max`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.default`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.values`, `endpoints.outputs.rerank.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.rerank.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.rerank.params`: `endpoints.outputs.rerank.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.params.<key>.type`, `endpoints.outputs.rerank.params.<key>.range.min`, `endpoints.outputs.rerank.params.<key>.range.max`, `endpoints.outputs.rerank.params.<key>.range.default`, `endpoints.outputs.rerank.params.<key>.range.values`, `endpoints.outputs.rerank.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.passthrough_parameters`: `endpoints.outputs.decisions.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.passthrough_parameters.<key>.type`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.min`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.max`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.default`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.values`, `endpoints.outputs.decisions.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.decisions.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.decisions.params`: `endpoints.outputs.decisions.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.params.<key>.type`, `endpoints.outputs.decisions.params.<key>.range.min`, `endpoints.outputs.decisions.params.<key>.range.max`, `endpoints.outputs.decisions.params.<key>.range.default`, `endpoints.outputs.decisions.params.<key>.range.values`, `endpoints.outputs.decisions.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.passthrough_parameters`: `endpoints.outputs.audio.passthrough_parameters.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.passthrough_parameters.<key>.type`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.min`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.max`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.default`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.values`, `endpoints.outputs.audio.passthrough_parameters.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where any element at `endpoints.outputs.audio.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`. + /// + /// + /// Filter where any value at `endpoints.outputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.outputs.audio.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter on the entries of `endpoints.outputs.audio.params`: `endpoints.outputs.audio.params.<key>.exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.params.<key>.type`, `endpoints.outputs.audio.params.<key>.range.min`, `endpoints.outputs.audio.params.<key>.range.max`, `endpoints.outputs.audio.params.<key>.range.default`, `endpoints.outputs.audio.params.<key>.range.values`, `endpoints.outputs.audio.params.<key>.range.unit`). Only `exists` applies to the map itself. + /// + /// + /// Filter where the value at `endpoints.provider.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.tag` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.provider.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.training` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retains_prompts` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// + /// Filter where the value at `endpoints.data_policy.retention_days` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ListV2AsResponseAsync( + int? offset = default, + int? limit = default, + string? cursor = default, + global::OpenRouter.ListModelsV2Region? region = default, + string? sort = default, + string? id = default, + string? canonicalSlug = default, + string? author = default, + string? name = default, + string? variant = default, + string? kind = default, + string? aliasTargetSlug = default, + string? aliasTargetName = default, + string? created = default, + string? description = default, + string? contextLength = default, + string? huggingFaceId = default, + string? inputs = default, + string? outputs = default, + string? endpointsSchemaVersion = default, + string? endpointsId = default, + string? endpointsHuggingFaceId = default, + string? endpointsName = default, + string? endpointsCreated = default, + string? endpointsQuantization = default, + string? endpointsTokenizer = default, + string? endpointsDescription = default, + string? endpointsPricingType = default, + string? endpointsPricingRequestUnit = default, + string? endpointsPricingRequestCostUsd = default, + string? endpointsPricingRequestOverridesCostUsd = default, + string? endpointsPricingWebSearchUnit = default, + string? endpointsPricingWebSearchCostUsd = default, + string? endpointsPricingWebSearchOverridesCostUsd = default, + string? endpointsCapacityType = default, + string? endpointsCapacityRequestUnit = default, + string? endpointsCapacityRequestPer = default, + string? endpointsCapacityRequestValue = default, + string? endpointsCapacityWebSearchUnit = default, + string? endpointsCapacityWebSearchPer = default, + string? endpointsCapacityWebSearchValue = default, + string? endpointsCapacityConcurrencyUnit = default, + string? endpointsCapacityConcurrencyValue = default, + string? endpointsPassthroughParameters = default, + string? endpointsDeprecationDate = default, + string? endpointsIsReady = default, + string? endpointsIsFree = default, + string? endpointsServiceTier = default, + string? endpointsDiscountToUser = default, + string? endpointsOpenrouterSlug = default, + string? endpointsDatacentersCountryCode = default, + string? endpointsDatacentersRegion = default, + string? endpointsDeploymentRegion = default, + string? endpointsInputsType = default, + string? endpointsInputsTextPricingType = default, + string? endpointsInputsTextPricingPromptUnit = default, + string? endpointsInputsTextPricingPromptCostUsd = default, + string? endpointsInputsTextPricingPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingPromptUtcStart = default, + string? endpointsInputsTextPricingPromptUtcEnd = default, + string? endpointsInputsTextPricingPromptUtcDays = default, + string? endpointsInputsTextPricingCachedPromptUnit = default, + string? endpointsInputsTextPricingCachedPromptCostUsd = default, + string? endpointsInputsTextPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsTextPricingCachedPromptTtlSeconds = default, + string? endpointsInputsTextPricingCachedPromptImplicit = default, + string? endpointsInputsTextPricingCachedPromptUtcStart = default, + string? endpointsInputsTextPricingCachedPromptUtcEnd = default, + string? endpointsInputsTextPricingCachedPromptUtcDays = default, + string? endpointsInputsTextPricingCacheWriteUnit = default, + string? endpointsInputsTextPricingCacheWriteCostUsd = default, + string? endpointsInputsTextPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsTextPricingCacheWriteTtlSeconds = default, + string? endpointsInputsTextPricingCacheWriteImplicit = default, + string? endpointsInputsTextPricingCacheWriteUtcStart = default, + string? endpointsInputsTextPricingCacheWriteUtcEnd = default, + string? endpointsInputsTextPricingCacheWriteUtcDays = default, + string? endpointsInputsTextCapacityType = default, + string? endpointsInputsTextCapacityPromptUnit = default, + string? endpointsInputsTextCapacityPromptPer = default, + string? endpointsInputsTextCapacityPromptValue = default, + string? endpointsInputsTextCapacityCachedPromptUnit = default, + string? endpointsInputsTextCapacityCachedPromptPer = default, + string? endpointsInputsTextCapacityCachedPromptValue = default, + string? endpointsInputsTextCapacityCacheWriteUnit = default, + string? endpointsInputsTextCapacityCacheWritePer = default, + string? endpointsInputsTextCapacityCacheWriteValue = default, + string? endpointsInputsTextPassthroughParameters = default, + string? endpointsInputsTextParamsMaxPromptLengthValue = default, + string? endpointsInputsTextParamsMaxPromptLengthUnit = default, + string? endpointsInputsTextParamsMaxLengthValue = default, + string? endpointsInputsTextParamsMaxLengthUnit = default, + string? endpointsInputsImagePricingType = default, + string? endpointsInputsImagePricingPromptUnit = default, + string? endpointsInputsImagePricingPromptCostUsd = default, + string? endpointsInputsImagePricingPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingPromptUtcStart = default, + string? endpointsInputsImagePricingPromptUtcEnd = default, + string? endpointsInputsImagePricingPromptUtcDays = default, + string? endpointsInputsImagePricingCachedPromptUnit = default, + string? endpointsInputsImagePricingCachedPromptCostUsd = default, + string? endpointsInputsImagePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsImagePricingCachedPromptTtlSeconds = default, + string? endpointsInputsImagePricingCachedPromptImplicit = default, + string? endpointsInputsImagePricingCachedPromptUtcStart = default, + string? endpointsInputsImagePricingCachedPromptUtcEnd = default, + string? endpointsInputsImagePricingCachedPromptUtcDays = default, + string? endpointsInputsImagePricingCacheWriteUnit = default, + string? endpointsInputsImagePricingCacheWriteCostUsd = default, + string? endpointsInputsImagePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsImagePricingCacheWriteTtlSeconds = default, + string? endpointsInputsImagePricingCacheWriteImplicit = default, + string? endpointsInputsImagePricingCacheWriteUtcStart = default, + string? endpointsInputsImagePricingCacheWriteUtcEnd = default, + string? endpointsInputsImagePricingCacheWriteUtcDays = default, + string? endpointsInputsImageCapacityType = default, + string? endpointsInputsImageCapacityPromptUnit = default, + string? endpointsInputsImageCapacityPromptPer = default, + string? endpointsInputsImageCapacityPromptValue = default, + string? endpointsInputsImageCapacityCachedPromptUnit = default, + string? endpointsInputsImageCapacityCachedPromptPer = default, + string? endpointsInputsImageCapacityCachedPromptValue = default, + string? endpointsInputsImageCapacityCacheWriteUnit = default, + string? endpointsInputsImageCapacityCacheWritePer = default, + string? endpointsInputsImageCapacityCacheWriteValue = default, + string? endpointsInputsImagePassthroughParameters = default, + string? endpointsInputsImageParamsSourcesType = default, + string? endpointsInputsImageParamsSourcesValues = default, + string? endpointsInputsImageParamsFormatsType = default, + string? endpointsInputsImageParamsFormatsValues = default, + string? endpointsInputsImageParamsDetailLevelsType = default, + string? endpointsInputsImageParamsDetailLevelsValues = default, + string? endpointsInputsImageParamsReferencesType = default, + string? endpointsInputsImageParamsReferencesMin = default, + string? endpointsInputsImageParamsReferencesMax = default, + string? endpointsInputsImageParamsReferencesUnit = default, + string? endpointsInputsImageParamsRoleType = default, + string? endpointsInputsImageParamsRoleValues = default, + string? endpointsInputsImageParamsMaxContentSizeBytesValue = default, + string? endpointsInputsImageParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsVideoPricingType = default, + string? endpointsInputsVideoPricingPromptUnit = default, + string? endpointsInputsVideoPricingPromptCostUsd = default, + string? endpointsInputsVideoPricingPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingPromptUtcStart = default, + string? endpointsInputsVideoPricingPromptUtcEnd = default, + string? endpointsInputsVideoPricingPromptUtcDays = default, + string? endpointsInputsVideoPricingCachedPromptUnit = default, + string? endpointsInputsVideoPricingCachedPromptCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsVideoPricingCachedPromptTtlSeconds = default, + string? endpointsInputsVideoPricingCachedPromptImplicit = default, + string? endpointsInputsVideoPricingCachedPromptUtcStart = default, + string? endpointsInputsVideoPricingCachedPromptUtcEnd = default, + string? endpointsInputsVideoPricingCachedPromptUtcDays = default, + string? endpointsInputsVideoPricingCacheWriteUnit = default, + string? endpointsInputsVideoPricingCacheWriteCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsVideoPricingCacheWriteTtlSeconds = default, + string? endpointsInputsVideoPricingCacheWriteImplicit = default, + string? endpointsInputsVideoPricingCacheWriteUtcStart = default, + string? endpointsInputsVideoPricingCacheWriteUtcEnd = default, + string? endpointsInputsVideoPricingCacheWriteUtcDays = default, + string? endpointsInputsVideoCapacityType = default, + string? endpointsInputsVideoCapacityPromptUnit = default, + string? endpointsInputsVideoCapacityPromptPer = default, + string? endpointsInputsVideoCapacityPromptValue = default, + string? endpointsInputsVideoCapacityCachedPromptUnit = default, + string? endpointsInputsVideoCapacityCachedPromptPer = default, + string? endpointsInputsVideoCapacityCachedPromptValue = default, + string? endpointsInputsVideoCapacityCacheWriteUnit = default, + string? endpointsInputsVideoCapacityCacheWritePer = default, + string? endpointsInputsVideoCapacityCacheWriteValue = default, + string? endpointsInputsVideoPassthroughParameters = default, + string? endpointsInputsVideoParamsSourcesType = default, + string? endpointsInputsVideoParamsSourcesValues = default, + string? endpointsInputsVideoParamsFormatsType = default, + string? endpointsInputsVideoParamsFormatsValues = default, + string? endpointsInputsVideoParamsMaxDurationSecondsValue = default, + string? endpointsInputsVideoParamsMaxDurationSecondsUnit = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesValue = default, + string? endpointsInputsVideoParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsAudioPricingType = default, + string? endpointsInputsAudioPricingPromptUnit = default, + string? endpointsInputsAudioPricingPromptCostUsd = default, + string? endpointsInputsAudioPricingPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingPromptUtcStart = default, + string? endpointsInputsAudioPricingPromptUtcEnd = default, + string? endpointsInputsAudioPricingPromptUtcDays = default, + string? endpointsInputsAudioPricingCachedPromptUnit = default, + string? endpointsInputsAudioPricingCachedPromptCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsAudioPricingCachedPromptTtlSeconds = default, + string? endpointsInputsAudioPricingCachedPromptImplicit = default, + string? endpointsInputsAudioPricingCachedPromptUtcStart = default, + string? endpointsInputsAudioPricingCachedPromptUtcEnd = default, + string? endpointsInputsAudioPricingCachedPromptUtcDays = default, + string? endpointsInputsAudioPricingCacheWriteUnit = default, + string? endpointsInputsAudioPricingCacheWriteCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsAudioPricingCacheWriteTtlSeconds = default, + string? endpointsInputsAudioPricingCacheWriteImplicit = default, + string? endpointsInputsAudioPricingCacheWriteUtcStart = default, + string? endpointsInputsAudioPricingCacheWriteUtcEnd = default, + string? endpointsInputsAudioPricingCacheWriteUtcDays = default, + string? endpointsInputsAudioCapacityType = default, + string? endpointsInputsAudioCapacityPromptUnit = default, + string? endpointsInputsAudioCapacityPromptPer = default, + string? endpointsInputsAudioCapacityPromptValue = default, + string? endpointsInputsAudioCapacityCachedPromptUnit = default, + string? endpointsInputsAudioCapacityCachedPromptPer = default, + string? endpointsInputsAudioCapacityCachedPromptValue = default, + string? endpointsInputsAudioCapacityCacheWriteUnit = default, + string? endpointsInputsAudioCapacityCacheWritePer = default, + string? endpointsInputsAudioCapacityCacheWriteValue = default, + string? endpointsInputsAudioPassthroughParameters = default, + string? endpointsInputsAudioParamsSourcesType = default, + string? endpointsInputsAudioParamsSourcesValues = default, + string? endpointsInputsAudioParamsFormatsType = default, + string? endpointsInputsAudioParamsFormatsValues = default, + string? endpointsInputsAudioParamsMaxDurationSecondsValue = default, + string? endpointsInputsAudioParamsMaxDurationSecondsUnit = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesValue = default, + string? endpointsInputsAudioParamsMaxContentSizeBytesUnit = default, + string? endpointsInputsFilePricingType = default, + string? endpointsInputsFilePricingPromptUnit = default, + string? endpointsInputsFilePricingPromptCostUsd = default, + string? endpointsInputsFilePricingPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingPromptUtcStart = default, + string? endpointsInputsFilePricingPromptUtcEnd = default, + string? endpointsInputsFilePricingPromptUtcDays = default, + string? endpointsInputsFilePricingCachedPromptUnit = default, + string? endpointsInputsFilePricingCachedPromptCostUsd = default, + string? endpointsInputsFilePricingCachedPromptOverridesCostUsd = default, + string? endpointsInputsFilePricingCachedPromptTtlSeconds = default, + string? endpointsInputsFilePricingCachedPromptImplicit = default, + string? endpointsInputsFilePricingCachedPromptUtcStart = default, + string? endpointsInputsFilePricingCachedPromptUtcEnd = default, + string? endpointsInputsFilePricingCachedPromptUtcDays = default, + string? endpointsInputsFilePricingCacheWriteUnit = default, + string? endpointsInputsFilePricingCacheWriteCostUsd = default, + string? endpointsInputsFilePricingCacheWriteOverridesCostUsd = default, + string? endpointsInputsFilePricingCacheWriteTtlSeconds = default, + string? endpointsInputsFilePricingCacheWriteImplicit = default, + string? endpointsInputsFilePricingCacheWriteUtcStart = default, + string? endpointsInputsFilePricingCacheWriteUtcEnd = default, + string? endpointsInputsFilePricingCacheWriteUtcDays = default, + string? endpointsInputsFileCapacityType = default, + string? endpointsInputsFileCapacityPromptUnit = default, + string? endpointsInputsFileCapacityPromptPer = default, + string? endpointsInputsFileCapacityPromptValue = default, + string? endpointsInputsFileCapacityCachedPromptUnit = default, + string? endpointsInputsFileCapacityCachedPromptPer = default, + string? endpointsInputsFileCapacityCachedPromptValue = default, + string? endpointsInputsFileCapacityCacheWriteUnit = default, + string? endpointsInputsFileCapacityCacheWritePer = default, + string? endpointsInputsFileCapacityCacheWriteValue = default, + string? endpointsInputsFilePassthroughParameters = default, + string? endpointsInputsFileParamsSourcesType = default, + string? endpointsInputsFileParamsSourcesValues = default, + string? endpointsInputsFileParamsFormatsType = default, + string? endpointsInputsFileParamsFormatsValues = default, + string? endpointsInputsFileParamsReferencesType = default, + string? endpointsInputsFileParamsReferencesMin = default, + string? endpointsInputsFileParamsReferencesMax = default, + string? endpointsInputsFileParamsReferencesUnit = default, + string? endpointsInputsFileParamsMaxContentSizeBytesValue = default, + string? endpointsInputsFileParamsMaxContentSizeBytesUnit = default, + string? endpointsOutputsType = default, + string? endpointsOutputsTextMaxLengthValue = default, + string? endpointsOutputsTextMaxLengthUnit = default, + string? endpointsOutputsTextPassthroughParameters = default, + string? endpointsOutputsTextPricingType = default, + string? endpointsOutputsTextPricingCompletionUnit = default, + string? endpointsOutputsTextPricingCompletionCostUsd = default, + string? endpointsOutputsTextPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTextPricingCompletionUtcStart = default, + string? endpointsOutputsTextPricingCompletionUtcEnd = default, + string? endpointsOutputsTextPricingCompletionUtcDays = default, + string? endpointsOutputsTextPricingInternalReasoningUnit = default, + string? endpointsOutputsTextPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTextPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTextPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTextCapacityType = default, + string? endpointsOutputsTextCapacityCompletionUnit = default, + string? endpointsOutputsTextCapacityCompletionPer = default, + string? endpointsOutputsTextCapacityCompletionValue = default, + string? endpointsOutputsTextCapacityInternalReasoningUnit = default, + string? endpointsOutputsTextCapacityInternalReasoningPer = default, + string? endpointsOutputsTextCapacityInternalReasoningValue = default, + string? endpointsOutputsTextCapacityConcurrencyUnit = default, + string? endpointsOutputsTextCapacityConcurrencyValue = default, + string? endpointsOutputsTextStreaming = default, + string? endpointsOutputsTextParams = default, + string? endpointsOutputsImagePassthroughParameters = default, + string? endpointsOutputsImagePricingType = default, + string? endpointsOutputsImagePricingCompletionUnit = default, + string? endpointsOutputsImagePricingCompletionCostUsd = default, + string? endpointsOutputsImagePricingCompletionOverridesCostUsd = default, + string? endpointsOutputsImagePricingCompletionUtcStart = default, + string? endpointsOutputsImagePricingCompletionUtcEnd = default, + string? endpointsOutputsImagePricingCompletionUtcDays = default, + string? endpointsOutputsImagePricingInternalReasoningUnit = default, + string? endpointsOutputsImagePricingInternalReasoningCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcStart = default, + string? endpointsOutputsImagePricingInternalReasoningUtcEnd = default, + string? endpointsOutputsImagePricingInternalReasoningUtcDays = default, + string? endpointsOutputsImageCapacityType = default, + string? endpointsOutputsImageCapacityCompletionUnit = default, + string? endpointsOutputsImageCapacityCompletionPer = default, + string? endpointsOutputsImageCapacityCompletionValue = default, + string? endpointsOutputsImageCapacityInternalReasoningUnit = default, + string? endpointsOutputsImageCapacityInternalReasoningPer = default, + string? endpointsOutputsImageCapacityInternalReasoningValue = default, + string? endpointsOutputsImageCapacityConcurrencyUnit = default, + string? endpointsOutputsImageCapacityConcurrencyValue = default, + string? endpointsOutputsImageStreaming = default, + string? endpointsOutputsImageParams = default, + string? endpointsOutputsVideoPassthroughParameters = default, + string? endpointsOutputsVideoPricingType = default, + string? endpointsOutputsVideoPricingCompletionUnit = default, + string? endpointsOutputsVideoPricingCompletionCostUsd = default, + string? endpointsOutputsVideoPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsVideoPricingCompletionUtcStart = default, + string? endpointsOutputsVideoPricingCompletionUtcEnd = default, + string? endpointsOutputsVideoPricingCompletionUtcDays = default, + string? endpointsOutputsVideoPricingInternalReasoningUnit = default, + string? endpointsOutputsVideoPricingInternalReasoningCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcStart = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsVideoPricingInternalReasoningUtcDays = default, + string? endpointsOutputsVideoCapacityType = default, + string? endpointsOutputsVideoCapacityCompletionUnit = default, + string? endpointsOutputsVideoCapacityCompletionPer = default, + string? endpointsOutputsVideoCapacityCompletionValue = default, + string? endpointsOutputsVideoCapacityInternalReasoningUnit = default, + string? endpointsOutputsVideoCapacityInternalReasoningPer = default, + string? endpointsOutputsVideoCapacityInternalReasoningValue = default, + string? endpointsOutputsVideoCapacityConcurrencyUnit = default, + string? endpointsOutputsVideoCapacityConcurrencyValue = default, + string? endpointsOutputsVideoStreaming = default, + string? endpointsOutputsVideoParams = default, + string? endpointsOutputsSpeechPassthroughParameters = default, + string? endpointsOutputsSpeechPricingType = default, + string? endpointsOutputsSpeechPricingCompletionUnit = default, + string? endpointsOutputsSpeechPricingCompletionCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingCompletionUtcStart = default, + string? endpointsOutputsSpeechPricingCompletionUtcEnd = default, + string? endpointsOutputsSpeechPricingCompletionUtcDays = default, + string? endpointsOutputsSpeechPricingInternalReasoningUnit = default, + string? endpointsOutputsSpeechPricingInternalReasoningCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcStart = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsSpeechPricingInternalReasoningUtcDays = default, + string? endpointsOutputsSpeechCapacityType = default, + string? endpointsOutputsSpeechCapacityCompletionUnit = default, + string? endpointsOutputsSpeechCapacityCompletionPer = default, + string? endpointsOutputsSpeechCapacityCompletionValue = default, + string? endpointsOutputsSpeechCapacityInternalReasoningUnit = default, + string? endpointsOutputsSpeechCapacityInternalReasoningPer = default, + string? endpointsOutputsSpeechCapacityInternalReasoningValue = default, + string? endpointsOutputsSpeechCapacityConcurrencyUnit = default, + string? endpointsOutputsSpeechCapacityConcurrencyValue = default, + string? endpointsOutputsSpeechStreaming = default, + string? endpointsOutputsSpeechParams = default, + string? endpointsOutputsTranscriptionPassthroughParameters = default, + string? endpointsOutputsTranscriptionPricingType = default, + string? endpointsOutputsTranscriptionPricingCompletionUnit = default, + string? endpointsOutputsTranscriptionPricingCompletionCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcStart = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcEnd = default, + string? endpointsOutputsTranscriptionPricingCompletionUtcDays = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcStart = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsTranscriptionPricingInternalReasoningUtcDays = default, + string? endpointsOutputsTranscriptionCapacityType = default, + string? endpointsOutputsTranscriptionCapacityCompletionUnit = default, + string? endpointsOutputsTranscriptionCapacityCompletionPer = default, + string? endpointsOutputsTranscriptionCapacityCompletionValue = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningUnit = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningPer = default, + string? endpointsOutputsTranscriptionCapacityInternalReasoningValue = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyUnit = default, + string? endpointsOutputsTranscriptionCapacityConcurrencyValue = default, + string? endpointsOutputsTranscriptionStreaming = default, + string? endpointsOutputsTranscriptionParams = default, + string? endpointsOutputsEmbeddingsPassthroughParameters = default, + string? endpointsOutputsEmbeddingsPricingType = default, + string? endpointsOutputsEmbeddingsPricingCompletionUnit = default, + string? endpointsOutputsEmbeddingsPricingCompletionCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcStart = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingCompletionUtcDays = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsEmbeddingsCapacityType = default, + string? endpointsOutputsEmbeddingsCapacityCompletionUnit = default, + string? endpointsOutputsEmbeddingsCapacityCompletionPer = default, + string? endpointsOutputsEmbeddingsCapacityCompletionValue = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningUnit = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningPer = default, + string? endpointsOutputsEmbeddingsCapacityInternalReasoningValue = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyUnit = default, + string? endpointsOutputsEmbeddingsCapacityConcurrencyValue = default, + string? endpointsOutputsEmbeddingsParams = default, + string? endpointsOutputsRerankPassthroughParameters = default, + string? endpointsOutputsRerankPricingType = default, + string? endpointsOutputsRerankPricingCompletionUnit = default, + string? endpointsOutputsRerankPricingCompletionCostUsd = default, + string? endpointsOutputsRerankPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsRerankPricingCompletionUtcStart = default, + string? endpointsOutputsRerankPricingCompletionUtcEnd = default, + string? endpointsOutputsRerankPricingCompletionUtcDays = default, + string? endpointsOutputsRerankPricingInternalReasoningUnit = default, + string? endpointsOutputsRerankPricingInternalReasoningCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcStart = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsRerankPricingInternalReasoningUtcDays = default, + string? endpointsOutputsRerankCapacityType = default, + string? endpointsOutputsRerankCapacityCompletionUnit = default, + string? endpointsOutputsRerankCapacityCompletionPer = default, + string? endpointsOutputsRerankCapacityCompletionValue = default, + string? endpointsOutputsRerankCapacityInternalReasoningUnit = default, + string? endpointsOutputsRerankCapacityInternalReasoningPer = default, + string? endpointsOutputsRerankCapacityInternalReasoningValue = default, + string? endpointsOutputsRerankCapacityConcurrencyUnit = default, + string? endpointsOutputsRerankCapacityConcurrencyValue = default, + string? endpointsOutputsRerankParams = default, + string? endpointsOutputsDecisionsPassthroughParameters = default, + string? endpointsOutputsDecisionsPricingType = default, + string? endpointsOutputsDecisionsPricingCompletionUnit = default, + string? endpointsOutputsDecisionsPricingCompletionCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcStart = default, + string? endpointsOutputsDecisionsPricingCompletionUtcEnd = default, + string? endpointsOutputsDecisionsPricingCompletionUtcDays = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUnit = default, + string? endpointsOutputsDecisionsPricingInternalReasoningCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcStart = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsDecisionsPricingInternalReasoningUtcDays = default, + string? endpointsOutputsDecisionsCapacityType = default, + string? endpointsOutputsDecisionsCapacityCompletionUnit = default, + string? endpointsOutputsDecisionsCapacityCompletionPer = default, + string? endpointsOutputsDecisionsCapacityCompletionValue = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningUnit = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningPer = default, + string? endpointsOutputsDecisionsCapacityInternalReasoningValue = default, + string? endpointsOutputsDecisionsCapacityConcurrencyUnit = default, + string? endpointsOutputsDecisionsCapacityConcurrencyValue = default, + string? endpointsOutputsDecisionsParams = default, + string? endpointsOutputsAudioPassthroughParameters = default, + string? endpointsOutputsAudioPricingType = default, + string? endpointsOutputsAudioPricingCompletionUnit = default, + string? endpointsOutputsAudioPricingCompletionCostUsd = default, + string? endpointsOutputsAudioPricingCompletionOverridesCostUsd = default, + string? endpointsOutputsAudioPricingCompletionUtcStart = default, + string? endpointsOutputsAudioPricingCompletionUtcEnd = default, + string? endpointsOutputsAudioPricingCompletionUtcDays = default, + string? endpointsOutputsAudioPricingInternalReasoningUnit = default, + string? endpointsOutputsAudioPricingInternalReasoningCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcStart = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcEnd = default, + string? endpointsOutputsAudioPricingInternalReasoningUtcDays = default, + string? endpointsOutputsAudioCapacityType = default, + string? endpointsOutputsAudioCapacityCompletionUnit = default, + string? endpointsOutputsAudioCapacityCompletionPer = default, + string? endpointsOutputsAudioCapacityCompletionValue = default, + string? endpointsOutputsAudioCapacityInternalReasoningUnit = default, + string? endpointsOutputsAudioCapacityInternalReasoningPer = default, + string? endpointsOutputsAudioCapacityInternalReasoningValue = default, + string? endpointsOutputsAudioCapacityConcurrencyUnit = default, + string? endpointsOutputsAudioCapacityConcurrencyValue = default, + string? endpointsOutputsAudioStreaming = default, + string? endpointsOutputsAudioParams = default, + string? endpointsProviderSlug = default, + string? endpointsProviderTag = default, + string? endpointsProviderName = default, + string? endpointsDataPolicyTraining = default, + string? endpointsDataPolicyRetainsPrompts = default, + string? endpointsDataPolicyRetentionDays = default, + global::OpenRouter.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareListV2Arguments( + httpClient: HttpClient, + offset: ref offset, + limit: ref limit, + cursor: ref cursor, + region: ref region, + sort: ref sort, + id: ref id, + canonicalSlug: ref canonicalSlug, + author: ref author, + name: ref name, + variant: ref variant, + kind: ref kind, + aliasTargetSlug: ref aliasTargetSlug, + aliasTargetName: ref aliasTargetName, + created: ref created, + description: ref description, + contextLength: ref contextLength, + huggingFaceId: ref huggingFaceId, + inputs: ref inputs, + outputs: ref outputs, + endpointsSchemaVersion: ref endpointsSchemaVersion, + endpointsId: ref endpointsId, + endpointsHuggingFaceId: ref endpointsHuggingFaceId, + endpointsName: ref endpointsName, + endpointsCreated: ref endpointsCreated, + endpointsQuantization: ref endpointsQuantization, + endpointsTokenizer: ref endpointsTokenizer, + endpointsDescription: ref endpointsDescription, + endpointsPricingType: ref endpointsPricingType, + endpointsPricingRequestUnit: ref endpointsPricingRequestUnit, + endpointsPricingRequestCostUsd: ref endpointsPricingRequestCostUsd, + endpointsPricingRequestOverridesCostUsd: ref endpointsPricingRequestOverridesCostUsd, + endpointsPricingWebSearchUnit: ref endpointsPricingWebSearchUnit, + endpointsPricingWebSearchCostUsd: ref endpointsPricingWebSearchCostUsd, + endpointsPricingWebSearchOverridesCostUsd: ref endpointsPricingWebSearchOverridesCostUsd, + endpointsCapacityType: ref endpointsCapacityType, + endpointsCapacityRequestUnit: ref endpointsCapacityRequestUnit, + endpointsCapacityRequestPer: ref endpointsCapacityRequestPer, + endpointsCapacityRequestValue: ref endpointsCapacityRequestValue, + endpointsCapacityWebSearchUnit: ref endpointsCapacityWebSearchUnit, + endpointsCapacityWebSearchPer: ref endpointsCapacityWebSearchPer, + endpointsCapacityWebSearchValue: ref endpointsCapacityWebSearchValue, + endpointsCapacityConcurrencyUnit: ref endpointsCapacityConcurrencyUnit, + endpointsCapacityConcurrencyValue: ref endpointsCapacityConcurrencyValue, + endpointsPassthroughParameters: ref endpointsPassthroughParameters, + endpointsDeprecationDate: ref endpointsDeprecationDate, + endpointsIsReady: ref endpointsIsReady, + endpointsIsFree: ref endpointsIsFree, + endpointsServiceTier: ref endpointsServiceTier, + endpointsDiscountToUser: ref endpointsDiscountToUser, + endpointsOpenrouterSlug: ref endpointsOpenrouterSlug, + endpointsDatacentersCountryCode: ref endpointsDatacentersCountryCode, + endpointsDatacentersRegion: ref endpointsDatacentersRegion, + endpointsDeploymentRegion: ref endpointsDeploymentRegion, + endpointsInputsType: ref endpointsInputsType, + endpointsInputsTextPricingType: ref endpointsInputsTextPricingType, + endpointsInputsTextPricingPromptUnit: ref endpointsInputsTextPricingPromptUnit, + endpointsInputsTextPricingPromptCostUsd: ref endpointsInputsTextPricingPromptCostUsd, + endpointsInputsTextPricingPromptOverridesCostUsd: ref endpointsInputsTextPricingPromptOverridesCostUsd, + endpointsInputsTextPricingPromptUtcStart: ref endpointsInputsTextPricingPromptUtcStart, + endpointsInputsTextPricingPromptUtcEnd: ref endpointsInputsTextPricingPromptUtcEnd, + endpointsInputsTextPricingPromptUtcDays: ref endpointsInputsTextPricingPromptUtcDays, + endpointsInputsTextPricingCachedPromptUnit: ref endpointsInputsTextPricingCachedPromptUnit, + endpointsInputsTextPricingCachedPromptCostUsd: ref endpointsInputsTextPricingCachedPromptCostUsd, + endpointsInputsTextPricingCachedPromptOverridesCostUsd: ref endpointsInputsTextPricingCachedPromptOverridesCostUsd, + endpointsInputsTextPricingCachedPromptTtlSeconds: ref endpointsInputsTextPricingCachedPromptTtlSeconds, + endpointsInputsTextPricingCachedPromptImplicit: ref endpointsInputsTextPricingCachedPromptImplicit, + endpointsInputsTextPricingCachedPromptUtcStart: ref endpointsInputsTextPricingCachedPromptUtcStart, + endpointsInputsTextPricingCachedPromptUtcEnd: ref endpointsInputsTextPricingCachedPromptUtcEnd, + endpointsInputsTextPricingCachedPromptUtcDays: ref endpointsInputsTextPricingCachedPromptUtcDays, + endpointsInputsTextPricingCacheWriteUnit: ref endpointsInputsTextPricingCacheWriteUnit, + endpointsInputsTextPricingCacheWriteCostUsd: ref endpointsInputsTextPricingCacheWriteCostUsd, + endpointsInputsTextPricingCacheWriteOverridesCostUsd: ref endpointsInputsTextPricingCacheWriteOverridesCostUsd, + endpointsInputsTextPricingCacheWriteTtlSeconds: ref endpointsInputsTextPricingCacheWriteTtlSeconds, + endpointsInputsTextPricingCacheWriteImplicit: ref endpointsInputsTextPricingCacheWriteImplicit, + endpointsInputsTextPricingCacheWriteUtcStart: ref endpointsInputsTextPricingCacheWriteUtcStart, + endpointsInputsTextPricingCacheWriteUtcEnd: ref endpointsInputsTextPricingCacheWriteUtcEnd, + endpointsInputsTextPricingCacheWriteUtcDays: ref endpointsInputsTextPricingCacheWriteUtcDays, + endpointsInputsTextCapacityType: ref endpointsInputsTextCapacityType, + endpointsInputsTextCapacityPromptUnit: ref endpointsInputsTextCapacityPromptUnit, + endpointsInputsTextCapacityPromptPer: ref endpointsInputsTextCapacityPromptPer, + endpointsInputsTextCapacityPromptValue: ref endpointsInputsTextCapacityPromptValue, + endpointsInputsTextCapacityCachedPromptUnit: ref endpointsInputsTextCapacityCachedPromptUnit, + endpointsInputsTextCapacityCachedPromptPer: ref endpointsInputsTextCapacityCachedPromptPer, + endpointsInputsTextCapacityCachedPromptValue: ref endpointsInputsTextCapacityCachedPromptValue, + endpointsInputsTextCapacityCacheWriteUnit: ref endpointsInputsTextCapacityCacheWriteUnit, + endpointsInputsTextCapacityCacheWritePer: ref endpointsInputsTextCapacityCacheWritePer, + endpointsInputsTextCapacityCacheWriteValue: ref endpointsInputsTextCapacityCacheWriteValue, + endpointsInputsTextPassthroughParameters: ref endpointsInputsTextPassthroughParameters, + endpointsInputsTextParamsMaxPromptLengthValue: ref endpointsInputsTextParamsMaxPromptLengthValue, + endpointsInputsTextParamsMaxPromptLengthUnit: ref endpointsInputsTextParamsMaxPromptLengthUnit, + endpointsInputsTextParamsMaxLengthValue: ref endpointsInputsTextParamsMaxLengthValue, + endpointsInputsTextParamsMaxLengthUnit: ref endpointsInputsTextParamsMaxLengthUnit, + endpointsInputsImagePricingType: ref endpointsInputsImagePricingType, + endpointsInputsImagePricingPromptUnit: ref endpointsInputsImagePricingPromptUnit, + endpointsInputsImagePricingPromptCostUsd: ref endpointsInputsImagePricingPromptCostUsd, + endpointsInputsImagePricingPromptOverridesCostUsd: ref endpointsInputsImagePricingPromptOverridesCostUsd, + endpointsInputsImagePricingPromptUtcStart: ref endpointsInputsImagePricingPromptUtcStart, + endpointsInputsImagePricingPromptUtcEnd: ref endpointsInputsImagePricingPromptUtcEnd, + endpointsInputsImagePricingPromptUtcDays: ref endpointsInputsImagePricingPromptUtcDays, + endpointsInputsImagePricingCachedPromptUnit: ref endpointsInputsImagePricingCachedPromptUnit, + endpointsInputsImagePricingCachedPromptCostUsd: ref endpointsInputsImagePricingCachedPromptCostUsd, + endpointsInputsImagePricingCachedPromptOverridesCostUsd: ref endpointsInputsImagePricingCachedPromptOverridesCostUsd, + endpointsInputsImagePricingCachedPromptTtlSeconds: ref endpointsInputsImagePricingCachedPromptTtlSeconds, + endpointsInputsImagePricingCachedPromptImplicit: ref endpointsInputsImagePricingCachedPromptImplicit, + endpointsInputsImagePricingCachedPromptUtcStart: ref endpointsInputsImagePricingCachedPromptUtcStart, + endpointsInputsImagePricingCachedPromptUtcEnd: ref endpointsInputsImagePricingCachedPromptUtcEnd, + endpointsInputsImagePricingCachedPromptUtcDays: ref endpointsInputsImagePricingCachedPromptUtcDays, + endpointsInputsImagePricingCacheWriteUnit: ref endpointsInputsImagePricingCacheWriteUnit, + endpointsInputsImagePricingCacheWriteCostUsd: ref endpointsInputsImagePricingCacheWriteCostUsd, + endpointsInputsImagePricingCacheWriteOverridesCostUsd: ref endpointsInputsImagePricingCacheWriteOverridesCostUsd, + endpointsInputsImagePricingCacheWriteTtlSeconds: ref endpointsInputsImagePricingCacheWriteTtlSeconds, + endpointsInputsImagePricingCacheWriteImplicit: ref endpointsInputsImagePricingCacheWriteImplicit, + endpointsInputsImagePricingCacheWriteUtcStart: ref endpointsInputsImagePricingCacheWriteUtcStart, + endpointsInputsImagePricingCacheWriteUtcEnd: ref endpointsInputsImagePricingCacheWriteUtcEnd, + endpointsInputsImagePricingCacheWriteUtcDays: ref endpointsInputsImagePricingCacheWriteUtcDays, + endpointsInputsImageCapacityType: ref endpointsInputsImageCapacityType, + endpointsInputsImageCapacityPromptUnit: ref endpointsInputsImageCapacityPromptUnit, + endpointsInputsImageCapacityPromptPer: ref endpointsInputsImageCapacityPromptPer, + endpointsInputsImageCapacityPromptValue: ref endpointsInputsImageCapacityPromptValue, + endpointsInputsImageCapacityCachedPromptUnit: ref endpointsInputsImageCapacityCachedPromptUnit, + endpointsInputsImageCapacityCachedPromptPer: ref endpointsInputsImageCapacityCachedPromptPer, + endpointsInputsImageCapacityCachedPromptValue: ref endpointsInputsImageCapacityCachedPromptValue, + endpointsInputsImageCapacityCacheWriteUnit: ref endpointsInputsImageCapacityCacheWriteUnit, + endpointsInputsImageCapacityCacheWritePer: ref endpointsInputsImageCapacityCacheWritePer, + endpointsInputsImageCapacityCacheWriteValue: ref endpointsInputsImageCapacityCacheWriteValue, + endpointsInputsImagePassthroughParameters: ref endpointsInputsImagePassthroughParameters, + endpointsInputsImageParamsSourcesType: ref endpointsInputsImageParamsSourcesType, + endpointsInputsImageParamsSourcesValues: ref endpointsInputsImageParamsSourcesValues, + endpointsInputsImageParamsFormatsType: ref endpointsInputsImageParamsFormatsType, + endpointsInputsImageParamsFormatsValues: ref endpointsInputsImageParamsFormatsValues, + endpointsInputsImageParamsDetailLevelsType: ref endpointsInputsImageParamsDetailLevelsType, + endpointsInputsImageParamsDetailLevelsValues: ref endpointsInputsImageParamsDetailLevelsValues, + endpointsInputsImageParamsReferencesType: ref endpointsInputsImageParamsReferencesType, + endpointsInputsImageParamsReferencesMin: ref endpointsInputsImageParamsReferencesMin, + endpointsInputsImageParamsReferencesMax: ref endpointsInputsImageParamsReferencesMax, + endpointsInputsImageParamsReferencesUnit: ref endpointsInputsImageParamsReferencesUnit, + endpointsInputsImageParamsRoleType: ref endpointsInputsImageParamsRoleType, + endpointsInputsImageParamsRoleValues: ref endpointsInputsImageParamsRoleValues, + endpointsInputsImageParamsMaxContentSizeBytesValue: ref endpointsInputsImageParamsMaxContentSizeBytesValue, + endpointsInputsImageParamsMaxContentSizeBytesUnit: ref endpointsInputsImageParamsMaxContentSizeBytesUnit, + endpointsInputsVideoPricingType: ref endpointsInputsVideoPricingType, + endpointsInputsVideoPricingPromptUnit: ref endpointsInputsVideoPricingPromptUnit, + endpointsInputsVideoPricingPromptCostUsd: ref endpointsInputsVideoPricingPromptCostUsd, + endpointsInputsVideoPricingPromptOverridesCostUsd: ref endpointsInputsVideoPricingPromptOverridesCostUsd, + endpointsInputsVideoPricingPromptUtcStart: ref endpointsInputsVideoPricingPromptUtcStart, + endpointsInputsVideoPricingPromptUtcEnd: ref endpointsInputsVideoPricingPromptUtcEnd, + endpointsInputsVideoPricingPromptUtcDays: ref endpointsInputsVideoPricingPromptUtcDays, + endpointsInputsVideoPricingCachedPromptUnit: ref endpointsInputsVideoPricingCachedPromptUnit, + endpointsInputsVideoPricingCachedPromptCostUsd: ref endpointsInputsVideoPricingCachedPromptCostUsd, + endpointsInputsVideoPricingCachedPromptOverridesCostUsd: ref endpointsInputsVideoPricingCachedPromptOverridesCostUsd, + endpointsInputsVideoPricingCachedPromptTtlSeconds: ref endpointsInputsVideoPricingCachedPromptTtlSeconds, + endpointsInputsVideoPricingCachedPromptImplicit: ref endpointsInputsVideoPricingCachedPromptImplicit, + endpointsInputsVideoPricingCachedPromptUtcStart: ref endpointsInputsVideoPricingCachedPromptUtcStart, + endpointsInputsVideoPricingCachedPromptUtcEnd: ref endpointsInputsVideoPricingCachedPromptUtcEnd, + endpointsInputsVideoPricingCachedPromptUtcDays: ref endpointsInputsVideoPricingCachedPromptUtcDays, + endpointsInputsVideoPricingCacheWriteUnit: ref endpointsInputsVideoPricingCacheWriteUnit, + endpointsInputsVideoPricingCacheWriteCostUsd: ref endpointsInputsVideoPricingCacheWriteCostUsd, + endpointsInputsVideoPricingCacheWriteOverridesCostUsd: ref endpointsInputsVideoPricingCacheWriteOverridesCostUsd, + endpointsInputsVideoPricingCacheWriteTtlSeconds: ref endpointsInputsVideoPricingCacheWriteTtlSeconds, + endpointsInputsVideoPricingCacheWriteImplicit: ref endpointsInputsVideoPricingCacheWriteImplicit, + endpointsInputsVideoPricingCacheWriteUtcStart: ref endpointsInputsVideoPricingCacheWriteUtcStart, + endpointsInputsVideoPricingCacheWriteUtcEnd: ref endpointsInputsVideoPricingCacheWriteUtcEnd, + endpointsInputsVideoPricingCacheWriteUtcDays: ref endpointsInputsVideoPricingCacheWriteUtcDays, + endpointsInputsVideoCapacityType: ref endpointsInputsVideoCapacityType, + endpointsInputsVideoCapacityPromptUnit: ref endpointsInputsVideoCapacityPromptUnit, + endpointsInputsVideoCapacityPromptPer: ref endpointsInputsVideoCapacityPromptPer, + endpointsInputsVideoCapacityPromptValue: ref endpointsInputsVideoCapacityPromptValue, + endpointsInputsVideoCapacityCachedPromptUnit: ref endpointsInputsVideoCapacityCachedPromptUnit, + endpointsInputsVideoCapacityCachedPromptPer: ref endpointsInputsVideoCapacityCachedPromptPer, + endpointsInputsVideoCapacityCachedPromptValue: ref endpointsInputsVideoCapacityCachedPromptValue, + endpointsInputsVideoCapacityCacheWriteUnit: ref endpointsInputsVideoCapacityCacheWriteUnit, + endpointsInputsVideoCapacityCacheWritePer: ref endpointsInputsVideoCapacityCacheWritePer, + endpointsInputsVideoCapacityCacheWriteValue: ref endpointsInputsVideoCapacityCacheWriteValue, + endpointsInputsVideoPassthroughParameters: ref endpointsInputsVideoPassthroughParameters, + endpointsInputsVideoParamsSourcesType: ref endpointsInputsVideoParamsSourcesType, + endpointsInputsVideoParamsSourcesValues: ref endpointsInputsVideoParamsSourcesValues, + endpointsInputsVideoParamsFormatsType: ref endpointsInputsVideoParamsFormatsType, + endpointsInputsVideoParamsFormatsValues: ref endpointsInputsVideoParamsFormatsValues, + endpointsInputsVideoParamsMaxDurationSecondsValue: ref endpointsInputsVideoParamsMaxDurationSecondsValue, + endpointsInputsVideoParamsMaxDurationSecondsUnit: ref endpointsInputsVideoParamsMaxDurationSecondsUnit, + endpointsInputsVideoParamsMaxContentSizeBytesValue: ref endpointsInputsVideoParamsMaxContentSizeBytesValue, + endpointsInputsVideoParamsMaxContentSizeBytesUnit: ref endpointsInputsVideoParamsMaxContentSizeBytesUnit, + endpointsInputsAudioPricingType: ref endpointsInputsAudioPricingType, + endpointsInputsAudioPricingPromptUnit: ref endpointsInputsAudioPricingPromptUnit, + endpointsInputsAudioPricingPromptCostUsd: ref endpointsInputsAudioPricingPromptCostUsd, + endpointsInputsAudioPricingPromptOverridesCostUsd: ref endpointsInputsAudioPricingPromptOverridesCostUsd, + endpointsInputsAudioPricingPromptUtcStart: ref endpointsInputsAudioPricingPromptUtcStart, + endpointsInputsAudioPricingPromptUtcEnd: ref endpointsInputsAudioPricingPromptUtcEnd, + endpointsInputsAudioPricingPromptUtcDays: ref endpointsInputsAudioPricingPromptUtcDays, + endpointsInputsAudioPricingCachedPromptUnit: ref endpointsInputsAudioPricingCachedPromptUnit, + endpointsInputsAudioPricingCachedPromptCostUsd: ref endpointsInputsAudioPricingCachedPromptCostUsd, + endpointsInputsAudioPricingCachedPromptOverridesCostUsd: ref endpointsInputsAudioPricingCachedPromptOverridesCostUsd, + endpointsInputsAudioPricingCachedPromptTtlSeconds: ref endpointsInputsAudioPricingCachedPromptTtlSeconds, + endpointsInputsAudioPricingCachedPromptImplicit: ref endpointsInputsAudioPricingCachedPromptImplicit, + endpointsInputsAudioPricingCachedPromptUtcStart: ref endpointsInputsAudioPricingCachedPromptUtcStart, + endpointsInputsAudioPricingCachedPromptUtcEnd: ref endpointsInputsAudioPricingCachedPromptUtcEnd, + endpointsInputsAudioPricingCachedPromptUtcDays: ref endpointsInputsAudioPricingCachedPromptUtcDays, + endpointsInputsAudioPricingCacheWriteUnit: ref endpointsInputsAudioPricingCacheWriteUnit, + endpointsInputsAudioPricingCacheWriteCostUsd: ref endpointsInputsAudioPricingCacheWriteCostUsd, + endpointsInputsAudioPricingCacheWriteOverridesCostUsd: ref endpointsInputsAudioPricingCacheWriteOverridesCostUsd, + endpointsInputsAudioPricingCacheWriteTtlSeconds: ref endpointsInputsAudioPricingCacheWriteTtlSeconds, + endpointsInputsAudioPricingCacheWriteImplicit: ref endpointsInputsAudioPricingCacheWriteImplicit, + endpointsInputsAudioPricingCacheWriteUtcStart: ref endpointsInputsAudioPricingCacheWriteUtcStart, + endpointsInputsAudioPricingCacheWriteUtcEnd: ref endpointsInputsAudioPricingCacheWriteUtcEnd, + endpointsInputsAudioPricingCacheWriteUtcDays: ref endpointsInputsAudioPricingCacheWriteUtcDays, + endpointsInputsAudioCapacityType: ref endpointsInputsAudioCapacityType, + endpointsInputsAudioCapacityPromptUnit: ref endpointsInputsAudioCapacityPromptUnit, + endpointsInputsAudioCapacityPromptPer: ref endpointsInputsAudioCapacityPromptPer, + endpointsInputsAudioCapacityPromptValue: ref endpointsInputsAudioCapacityPromptValue, + endpointsInputsAudioCapacityCachedPromptUnit: ref endpointsInputsAudioCapacityCachedPromptUnit, + endpointsInputsAudioCapacityCachedPromptPer: ref endpointsInputsAudioCapacityCachedPromptPer, + endpointsInputsAudioCapacityCachedPromptValue: ref endpointsInputsAudioCapacityCachedPromptValue, + endpointsInputsAudioCapacityCacheWriteUnit: ref endpointsInputsAudioCapacityCacheWriteUnit, + endpointsInputsAudioCapacityCacheWritePer: ref endpointsInputsAudioCapacityCacheWritePer, + endpointsInputsAudioCapacityCacheWriteValue: ref endpointsInputsAudioCapacityCacheWriteValue, + endpointsInputsAudioPassthroughParameters: ref endpointsInputsAudioPassthroughParameters, + endpointsInputsAudioParamsSourcesType: ref endpointsInputsAudioParamsSourcesType, + endpointsInputsAudioParamsSourcesValues: ref endpointsInputsAudioParamsSourcesValues, + endpointsInputsAudioParamsFormatsType: ref endpointsInputsAudioParamsFormatsType, + endpointsInputsAudioParamsFormatsValues: ref endpointsInputsAudioParamsFormatsValues, + endpointsInputsAudioParamsMaxDurationSecondsValue: ref endpointsInputsAudioParamsMaxDurationSecondsValue, + endpointsInputsAudioParamsMaxDurationSecondsUnit: ref endpointsInputsAudioParamsMaxDurationSecondsUnit, + endpointsInputsAudioParamsMaxContentSizeBytesValue: ref endpointsInputsAudioParamsMaxContentSizeBytesValue, + endpointsInputsAudioParamsMaxContentSizeBytesUnit: ref endpointsInputsAudioParamsMaxContentSizeBytesUnit, + endpointsInputsFilePricingType: ref endpointsInputsFilePricingType, + endpointsInputsFilePricingPromptUnit: ref endpointsInputsFilePricingPromptUnit, + endpointsInputsFilePricingPromptCostUsd: ref endpointsInputsFilePricingPromptCostUsd, + endpointsInputsFilePricingPromptOverridesCostUsd: ref endpointsInputsFilePricingPromptOverridesCostUsd, + endpointsInputsFilePricingPromptUtcStart: ref endpointsInputsFilePricingPromptUtcStart, + endpointsInputsFilePricingPromptUtcEnd: ref endpointsInputsFilePricingPromptUtcEnd, + endpointsInputsFilePricingPromptUtcDays: ref endpointsInputsFilePricingPromptUtcDays, + endpointsInputsFilePricingCachedPromptUnit: ref endpointsInputsFilePricingCachedPromptUnit, + endpointsInputsFilePricingCachedPromptCostUsd: ref endpointsInputsFilePricingCachedPromptCostUsd, + endpointsInputsFilePricingCachedPromptOverridesCostUsd: ref endpointsInputsFilePricingCachedPromptOverridesCostUsd, + endpointsInputsFilePricingCachedPromptTtlSeconds: ref endpointsInputsFilePricingCachedPromptTtlSeconds, + endpointsInputsFilePricingCachedPromptImplicit: ref endpointsInputsFilePricingCachedPromptImplicit, + endpointsInputsFilePricingCachedPromptUtcStart: ref endpointsInputsFilePricingCachedPromptUtcStart, + endpointsInputsFilePricingCachedPromptUtcEnd: ref endpointsInputsFilePricingCachedPromptUtcEnd, + endpointsInputsFilePricingCachedPromptUtcDays: ref endpointsInputsFilePricingCachedPromptUtcDays, + endpointsInputsFilePricingCacheWriteUnit: ref endpointsInputsFilePricingCacheWriteUnit, + endpointsInputsFilePricingCacheWriteCostUsd: ref endpointsInputsFilePricingCacheWriteCostUsd, + endpointsInputsFilePricingCacheWriteOverridesCostUsd: ref endpointsInputsFilePricingCacheWriteOverridesCostUsd, + endpointsInputsFilePricingCacheWriteTtlSeconds: ref endpointsInputsFilePricingCacheWriteTtlSeconds, + endpointsInputsFilePricingCacheWriteImplicit: ref endpointsInputsFilePricingCacheWriteImplicit, + endpointsInputsFilePricingCacheWriteUtcStart: ref endpointsInputsFilePricingCacheWriteUtcStart, + endpointsInputsFilePricingCacheWriteUtcEnd: ref endpointsInputsFilePricingCacheWriteUtcEnd, + endpointsInputsFilePricingCacheWriteUtcDays: ref endpointsInputsFilePricingCacheWriteUtcDays, + endpointsInputsFileCapacityType: ref endpointsInputsFileCapacityType, + endpointsInputsFileCapacityPromptUnit: ref endpointsInputsFileCapacityPromptUnit, + endpointsInputsFileCapacityPromptPer: ref endpointsInputsFileCapacityPromptPer, + endpointsInputsFileCapacityPromptValue: ref endpointsInputsFileCapacityPromptValue, + endpointsInputsFileCapacityCachedPromptUnit: ref endpointsInputsFileCapacityCachedPromptUnit, + endpointsInputsFileCapacityCachedPromptPer: ref endpointsInputsFileCapacityCachedPromptPer, + endpointsInputsFileCapacityCachedPromptValue: ref endpointsInputsFileCapacityCachedPromptValue, + endpointsInputsFileCapacityCacheWriteUnit: ref endpointsInputsFileCapacityCacheWriteUnit, + endpointsInputsFileCapacityCacheWritePer: ref endpointsInputsFileCapacityCacheWritePer, + endpointsInputsFileCapacityCacheWriteValue: ref endpointsInputsFileCapacityCacheWriteValue, + endpointsInputsFilePassthroughParameters: ref endpointsInputsFilePassthroughParameters, + endpointsInputsFileParamsSourcesType: ref endpointsInputsFileParamsSourcesType, + endpointsInputsFileParamsSourcesValues: ref endpointsInputsFileParamsSourcesValues, + endpointsInputsFileParamsFormatsType: ref endpointsInputsFileParamsFormatsType, + endpointsInputsFileParamsFormatsValues: ref endpointsInputsFileParamsFormatsValues, + endpointsInputsFileParamsReferencesType: ref endpointsInputsFileParamsReferencesType, + endpointsInputsFileParamsReferencesMin: ref endpointsInputsFileParamsReferencesMin, + endpointsInputsFileParamsReferencesMax: ref endpointsInputsFileParamsReferencesMax, + endpointsInputsFileParamsReferencesUnit: ref endpointsInputsFileParamsReferencesUnit, + endpointsInputsFileParamsMaxContentSizeBytesValue: ref endpointsInputsFileParamsMaxContentSizeBytesValue, + endpointsInputsFileParamsMaxContentSizeBytesUnit: ref endpointsInputsFileParamsMaxContentSizeBytesUnit, + endpointsOutputsType: ref endpointsOutputsType, + endpointsOutputsTextMaxLengthValue: ref endpointsOutputsTextMaxLengthValue, + endpointsOutputsTextMaxLengthUnit: ref endpointsOutputsTextMaxLengthUnit, + endpointsOutputsTextPassthroughParameters: ref endpointsOutputsTextPassthroughParameters, + endpointsOutputsTextPricingType: ref endpointsOutputsTextPricingType, + endpointsOutputsTextPricingCompletionUnit: ref endpointsOutputsTextPricingCompletionUnit, + endpointsOutputsTextPricingCompletionCostUsd: ref endpointsOutputsTextPricingCompletionCostUsd, + endpointsOutputsTextPricingCompletionOverridesCostUsd: ref endpointsOutputsTextPricingCompletionOverridesCostUsd, + endpointsOutputsTextPricingCompletionUtcStart: ref endpointsOutputsTextPricingCompletionUtcStart, + endpointsOutputsTextPricingCompletionUtcEnd: ref endpointsOutputsTextPricingCompletionUtcEnd, + endpointsOutputsTextPricingCompletionUtcDays: ref endpointsOutputsTextPricingCompletionUtcDays, + endpointsOutputsTextPricingInternalReasoningUnit: ref endpointsOutputsTextPricingInternalReasoningUnit, + endpointsOutputsTextPricingInternalReasoningCostUsd: ref endpointsOutputsTextPricingInternalReasoningCostUsd, + endpointsOutputsTextPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsTextPricingInternalReasoningOverridesCostUsd, + endpointsOutputsTextPricingInternalReasoningUtcStart: ref endpointsOutputsTextPricingInternalReasoningUtcStart, + endpointsOutputsTextPricingInternalReasoningUtcEnd: ref endpointsOutputsTextPricingInternalReasoningUtcEnd, + endpointsOutputsTextPricingInternalReasoningUtcDays: ref endpointsOutputsTextPricingInternalReasoningUtcDays, + endpointsOutputsTextCapacityType: ref endpointsOutputsTextCapacityType, + endpointsOutputsTextCapacityCompletionUnit: ref endpointsOutputsTextCapacityCompletionUnit, + endpointsOutputsTextCapacityCompletionPer: ref endpointsOutputsTextCapacityCompletionPer, + endpointsOutputsTextCapacityCompletionValue: ref endpointsOutputsTextCapacityCompletionValue, + endpointsOutputsTextCapacityInternalReasoningUnit: ref endpointsOutputsTextCapacityInternalReasoningUnit, + endpointsOutputsTextCapacityInternalReasoningPer: ref endpointsOutputsTextCapacityInternalReasoningPer, + endpointsOutputsTextCapacityInternalReasoningValue: ref endpointsOutputsTextCapacityInternalReasoningValue, + endpointsOutputsTextCapacityConcurrencyUnit: ref endpointsOutputsTextCapacityConcurrencyUnit, + endpointsOutputsTextCapacityConcurrencyValue: ref endpointsOutputsTextCapacityConcurrencyValue, + endpointsOutputsTextStreaming: ref endpointsOutputsTextStreaming, + endpointsOutputsTextParams: ref endpointsOutputsTextParams, + endpointsOutputsImagePassthroughParameters: ref endpointsOutputsImagePassthroughParameters, + endpointsOutputsImagePricingType: ref endpointsOutputsImagePricingType, + endpointsOutputsImagePricingCompletionUnit: ref endpointsOutputsImagePricingCompletionUnit, + endpointsOutputsImagePricingCompletionCostUsd: ref endpointsOutputsImagePricingCompletionCostUsd, + endpointsOutputsImagePricingCompletionOverridesCostUsd: ref endpointsOutputsImagePricingCompletionOverridesCostUsd, + endpointsOutputsImagePricingCompletionUtcStart: ref endpointsOutputsImagePricingCompletionUtcStart, + endpointsOutputsImagePricingCompletionUtcEnd: ref endpointsOutputsImagePricingCompletionUtcEnd, + endpointsOutputsImagePricingCompletionUtcDays: ref endpointsOutputsImagePricingCompletionUtcDays, + endpointsOutputsImagePricingInternalReasoningUnit: ref endpointsOutputsImagePricingInternalReasoningUnit, + endpointsOutputsImagePricingInternalReasoningCostUsd: ref endpointsOutputsImagePricingInternalReasoningCostUsd, + endpointsOutputsImagePricingInternalReasoningOverridesCostUsd: ref endpointsOutputsImagePricingInternalReasoningOverridesCostUsd, + endpointsOutputsImagePricingInternalReasoningUtcStart: ref endpointsOutputsImagePricingInternalReasoningUtcStart, + endpointsOutputsImagePricingInternalReasoningUtcEnd: ref endpointsOutputsImagePricingInternalReasoningUtcEnd, + endpointsOutputsImagePricingInternalReasoningUtcDays: ref endpointsOutputsImagePricingInternalReasoningUtcDays, + endpointsOutputsImageCapacityType: ref endpointsOutputsImageCapacityType, + endpointsOutputsImageCapacityCompletionUnit: ref endpointsOutputsImageCapacityCompletionUnit, + endpointsOutputsImageCapacityCompletionPer: ref endpointsOutputsImageCapacityCompletionPer, + endpointsOutputsImageCapacityCompletionValue: ref endpointsOutputsImageCapacityCompletionValue, + endpointsOutputsImageCapacityInternalReasoningUnit: ref endpointsOutputsImageCapacityInternalReasoningUnit, + endpointsOutputsImageCapacityInternalReasoningPer: ref endpointsOutputsImageCapacityInternalReasoningPer, + endpointsOutputsImageCapacityInternalReasoningValue: ref endpointsOutputsImageCapacityInternalReasoningValue, + endpointsOutputsImageCapacityConcurrencyUnit: ref endpointsOutputsImageCapacityConcurrencyUnit, + endpointsOutputsImageCapacityConcurrencyValue: ref endpointsOutputsImageCapacityConcurrencyValue, + endpointsOutputsImageStreaming: ref endpointsOutputsImageStreaming, + endpointsOutputsImageParams: ref endpointsOutputsImageParams, + endpointsOutputsVideoPassthroughParameters: ref endpointsOutputsVideoPassthroughParameters, + endpointsOutputsVideoPricingType: ref endpointsOutputsVideoPricingType, + endpointsOutputsVideoPricingCompletionUnit: ref endpointsOutputsVideoPricingCompletionUnit, + endpointsOutputsVideoPricingCompletionCostUsd: ref endpointsOutputsVideoPricingCompletionCostUsd, + endpointsOutputsVideoPricingCompletionOverridesCostUsd: ref endpointsOutputsVideoPricingCompletionOverridesCostUsd, + endpointsOutputsVideoPricingCompletionUtcStart: ref endpointsOutputsVideoPricingCompletionUtcStart, + endpointsOutputsVideoPricingCompletionUtcEnd: ref endpointsOutputsVideoPricingCompletionUtcEnd, + endpointsOutputsVideoPricingCompletionUtcDays: ref endpointsOutputsVideoPricingCompletionUtcDays, + endpointsOutputsVideoPricingInternalReasoningUnit: ref endpointsOutputsVideoPricingInternalReasoningUnit, + endpointsOutputsVideoPricingInternalReasoningCostUsd: ref endpointsOutputsVideoPricingInternalReasoningCostUsd, + endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd, + endpointsOutputsVideoPricingInternalReasoningUtcStart: ref endpointsOutputsVideoPricingInternalReasoningUtcStart, + endpointsOutputsVideoPricingInternalReasoningUtcEnd: ref endpointsOutputsVideoPricingInternalReasoningUtcEnd, + endpointsOutputsVideoPricingInternalReasoningUtcDays: ref endpointsOutputsVideoPricingInternalReasoningUtcDays, + endpointsOutputsVideoCapacityType: ref endpointsOutputsVideoCapacityType, + endpointsOutputsVideoCapacityCompletionUnit: ref endpointsOutputsVideoCapacityCompletionUnit, + endpointsOutputsVideoCapacityCompletionPer: ref endpointsOutputsVideoCapacityCompletionPer, + endpointsOutputsVideoCapacityCompletionValue: ref endpointsOutputsVideoCapacityCompletionValue, + endpointsOutputsVideoCapacityInternalReasoningUnit: ref endpointsOutputsVideoCapacityInternalReasoningUnit, + endpointsOutputsVideoCapacityInternalReasoningPer: ref endpointsOutputsVideoCapacityInternalReasoningPer, + endpointsOutputsVideoCapacityInternalReasoningValue: ref endpointsOutputsVideoCapacityInternalReasoningValue, + endpointsOutputsVideoCapacityConcurrencyUnit: ref endpointsOutputsVideoCapacityConcurrencyUnit, + endpointsOutputsVideoCapacityConcurrencyValue: ref endpointsOutputsVideoCapacityConcurrencyValue, + endpointsOutputsVideoStreaming: ref endpointsOutputsVideoStreaming, + endpointsOutputsVideoParams: ref endpointsOutputsVideoParams, + endpointsOutputsSpeechPassthroughParameters: ref endpointsOutputsSpeechPassthroughParameters, + endpointsOutputsSpeechPricingType: ref endpointsOutputsSpeechPricingType, + endpointsOutputsSpeechPricingCompletionUnit: ref endpointsOutputsSpeechPricingCompletionUnit, + endpointsOutputsSpeechPricingCompletionCostUsd: ref endpointsOutputsSpeechPricingCompletionCostUsd, + endpointsOutputsSpeechPricingCompletionOverridesCostUsd: ref endpointsOutputsSpeechPricingCompletionOverridesCostUsd, + endpointsOutputsSpeechPricingCompletionUtcStart: ref endpointsOutputsSpeechPricingCompletionUtcStart, + endpointsOutputsSpeechPricingCompletionUtcEnd: ref endpointsOutputsSpeechPricingCompletionUtcEnd, + endpointsOutputsSpeechPricingCompletionUtcDays: ref endpointsOutputsSpeechPricingCompletionUtcDays, + endpointsOutputsSpeechPricingInternalReasoningUnit: ref endpointsOutputsSpeechPricingInternalReasoningUnit, + endpointsOutputsSpeechPricingInternalReasoningCostUsd: ref endpointsOutputsSpeechPricingInternalReasoningCostUsd, + endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd, + endpointsOutputsSpeechPricingInternalReasoningUtcStart: ref endpointsOutputsSpeechPricingInternalReasoningUtcStart, + endpointsOutputsSpeechPricingInternalReasoningUtcEnd: ref endpointsOutputsSpeechPricingInternalReasoningUtcEnd, + endpointsOutputsSpeechPricingInternalReasoningUtcDays: ref endpointsOutputsSpeechPricingInternalReasoningUtcDays, + endpointsOutputsSpeechCapacityType: ref endpointsOutputsSpeechCapacityType, + endpointsOutputsSpeechCapacityCompletionUnit: ref endpointsOutputsSpeechCapacityCompletionUnit, + endpointsOutputsSpeechCapacityCompletionPer: ref endpointsOutputsSpeechCapacityCompletionPer, + endpointsOutputsSpeechCapacityCompletionValue: ref endpointsOutputsSpeechCapacityCompletionValue, + endpointsOutputsSpeechCapacityInternalReasoningUnit: ref endpointsOutputsSpeechCapacityInternalReasoningUnit, + endpointsOutputsSpeechCapacityInternalReasoningPer: ref endpointsOutputsSpeechCapacityInternalReasoningPer, + endpointsOutputsSpeechCapacityInternalReasoningValue: ref endpointsOutputsSpeechCapacityInternalReasoningValue, + endpointsOutputsSpeechCapacityConcurrencyUnit: ref endpointsOutputsSpeechCapacityConcurrencyUnit, + endpointsOutputsSpeechCapacityConcurrencyValue: ref endpointsOutputsSpeechCapacityConcurrencyValue, + endpointsOutputsSpeechStreaming: ref endpointsOutputsSpeechStreaming, + endpointsOutputsSpeechParams: ref endpointsOutputsSpeechParams, + endpointsOutputsTranscriptionPassthroughParameters: ref endpointsOutputsTranscriptionPassthroughParameters, + endpointsOutputsTranscriptionPricingType: ref endpointsOutputsTranscriptionPricingType, + endpointsOutputsTranscriptionPricingCompletionUnit: ref endpointsOutputsTranscriptionPricingCompletionUnit, + endpointsOutputsTranscriptionPricingCompletionCostUsd: ref endpointsOutputsTranscriptionPricingCompletionCostUsd, + endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd: ref endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd, + endpointsOutputsTranscriptionPricingCompletionUtcStart: ref endpointsOutputsTranscriptionPricingCompletionUtcStart, + endpointsOutputsTranscriptionPricingCompletionUtcEnd: ref endpointsOutputsTranscriptionPricingCompletionUtcEnd, + endpointsOutputsTranscriptionPricingCompletionUtcDays: ref endpointsOutputsTranscriptionPricingCompletionUtcDays, + endpointsOutputsTranscriptionPricingInternalReasoningUnit: ref endpointsOutputsTranscriptionPricingInternalReasoningUnit, + endpointsOutputsTranscriptionPricingInternalReasoningCostUsd: ref endpointsOutputsTranscriptionPricingInternalReasoningCostUsd, + endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd, + endpointsOutputsTranscriptionPricingInternalReasoningUtcStart: ref endpointsOutputsTranscriptionPricingInternalReasoningUtcStart, + endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd: ref endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd, + endpointsOutputsTranscriptionPricingInternalReasoningUtcDays: ref endpointsOutputsTranscriptionPricingInternalReasoningUtcDays, + endpointsOutputsTranscriptionCapacityType: ref endpointsOutputsTranscriptionCapacityType, + endpointsOutputsTranscriptionCapacityCompletionUnit: ref endpointsOutputsTranscriptionCapacityCompletionUnit, + endpointsOutputsTranscriptionCapacityCompletionPer: ref endpointsOutputsTranscriptionCapacityCompletionPer, + endpointsOutputsTranscriptionCapacityCompletionValue: ref endpointsOutputsTranscriptionCapacityCompletionValue, + endpointsOutputsTranscriptionCapacityInternalReasoningUnit: ref endpointsOutputsTranscriptionCapacityInternalReasoningUnit, + endpointsOutputsTranscriptionCapacityInternalReasoningPer: ref endpointsOutputsTranscriptionCapacityInternalReasoningPer, + endpointsOutputsTranscriptionCapacityInternalReasoningValue: ref endpointsOutputsTranscriptionCapacityInternalReasoningValue, + endpointsOutputsTranscriptionCapacityConcurrencyUnit: ref endpointsOutputsTranscriptionCapacityConcurrencyUnit, + endpointsOutputsTranscriptionCapacityConcurrencyValue: ref endpointsOutputsTranscriptionCapacityConcurrencyValue, + endpointsOutputsTranscriptionStreaming: ref endpointsOutputsTranscriptionStreaming, + endpointsOutputsTranscriptionParams: ref endpointsOutputsTranscriptionParams, + endpointsOutputsEmbeddingsPassthroughParameters: ref endpointsOutputsEmbeddingsPassthroughParameters, + endpointsOutputsEmbeddingsPricingType: ref endpointsOutputsEmbeddingsPricingType, + endpointsOutputsEmbeddingsPricingCompletionUnit: ref endpointsOutputsEmbeddingsPricingCompletionUnit, + endpointsOutputsEmbeddingsPricingCompletionCostUsd: ref endpointsOutputsEmbeddingsPricingCompletionCostUsd, + endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd: ref endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd, + endpointsOutputsEmbeddingsPricingCompletionUtcStart: ref endpointsOutputsEmbeddingsPricingCompletionUtcStart, + endpointsOutputsEmbeddingsPricingCompletionUtcEnd: ref endpointsOutputsEmbeddingsPricingCompletionUtcEnd, + endpointsOutputsEmbeddingsPricingCompletionUtcDays: ref endpointsOutputsEmbeddingsPricingCompletionUtcDays, + endpointsOutputsEmbeddingsPricingInternalReasoningUnit: ref endpointsOutputsEmbeddingsPricingInternalReasoningUnit, + endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd: ref endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd, + endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart: ref endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd: ref endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays: ref endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays, + endpointsOutputsEmbeddingsCapacityType: ref endpointsOutputsEmbeddingsCapacityType, + endpointsOutputsEmbeddingsCapacityCompletionUnit: ref endpointsOutputsEmbeddingsCapacityCompletionUnit, + endpointsOutputsEmbeddingsCapacityCompletionPer: ref endpointsOutputsEmbeddingsCapacityCompletionPer, + endpointsOutputsEmbeddingsCapacityCompletionValue: ref endpointsOutputsEmbeddingsCapacityCompletionValue, + endpointsOutputsEmbeddingsCapacityInternalReasoningUnit: ref endpointsOutputsEmbeddingsCapacityInternalReasoningUnit, + endpointsOutputsEmbeddingsCapacityInternalReasoningPer: ref endpointsOutputsEmbeddingsCapacityInternalReasoningPer, + endpointsOutputsEmbeddingsCapacityInternalReasoningValue: ref endpointsOutputsEmbeddingsCapacityInternalReasoningValue, + endpointsOutputsEmbeddingsCapacityConcurrencyUnit: ref endpointsOutputsEmbeddingsCapacityConcurrencyUnit, + endpointsOutputsEmbeddingsCapacityConcurrencyValue: ref endpointsOutputsEmbeddingsCapacityConcurrencyValue, + endpointsOutputsEmbeddingsParams: ref endpointsOutputsEmbeddingsParams, + endpointsOutputsRerankPassthroughParameters: ref endpointsOutputsRerankPassthroughParameters, + endpointsOutputsRerankPricingType: ref endpointsOutputsRerankPricingType, + endpointsOutputsRerankPricingCompletionUnit: ref endpointsOutputsRerankPricingCompletionUnit, + endpointsOutputsRerankPricingCompletionCostUsd: ref endpointsOutputsRerankPricingCompletionCostUsd, + endpointsOutputsRerankPricingCompletionOverridesCostUsd: ref endpointsOutputsRerankPricingCompletionOverridesCostUsd, + endpointsOutputsRerankPricingCompletionUtcStart: ref endpointsOutputsRerankPricingCompletionUtcStart, + endpointsOutputsRerankPricingCompletionUtcEnd: ref endpointsOutputsRerankPricingCompletionUtcEnd, + endpointsOutputsRerankPricingCompletionUtcDays: ref endpointsOutputsRerankPricingCompletionUtcDays, + endpointsOutputsRerankPricingInternalReasoningUnit: ref endpointsOutputsRerankPricingInternalReasoningUnit, + endpointsOutputsRerankPricingInternalReasoningCostUsd: ref endpointsOutputsRerankPricingInternalReasoningCostUsd, + endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd, + endpointsOutputsRerankPricingInternalReasoningUtcStart: ref endpointsOutputsRerankPricingInternalReasoningUtcStart, + endpointsOutputsRerankPricingInternalReasoningUtcEnd: ref endpointsOutputsRerankPricingInternalReasoningUtcEnd, + endpointsOutputsRerankPricingInternalReasoningUtcDays: ref endpointsOutputsRerankPricingInternalReasoningUtcDays, + endpointsOutputsRerankCapacityType: ref endpointsOutputsRerankCapacityType, + endpointsOutputsRerankCapacityCompletionUnit: ref endpointsOutputsRerankCapacityCompletionUnit, + endpointsOutputsRerankCapacityCompletionPer: ref endpointsOutputsRerankCapacityCompletionPer, + endpointsOutputsRerankCapacityCompletionValue: ref endpointsOutputsRerankCapacityCompletionValue, + endpointsOutputsRerankCapacityInternalReasoningUnit: ref endpointsOutputsRerankCapacityInternalReasoningUnit, + endpointsOutputsRerankCapacityInternalReasoningPer: ref endpointsOutputsRerankCapacityInternalReasoningPer, + endpointsOutputsRerankCapacityInternalReasoningValue: ref endpointsOutputsRerankCapacityInternalReasoningValue, + endpointsOutputsRerankCapacityConcurrencyUnit: ref endpointsOutputsRerankCapacityConcurrencyUnit, + endpointsOutputsRerankCapacityConcurrencyValue: ref endpointsOutputsRerankCapacityConcurrencyValue, + endpointsOutputsRerankParams: ref endpointsOutputsRerankParams, + endpointsOutputsDecisionsPassthroughParameters: ref endpointsOutputsDecisionsPassthroughParameters, + endpointsOutputsDecisionsPricingType: ref endpointsOutputsDecisionsPricingType, + endpointsOutputsDecisionsPricingCompletionUnit: ref endpointsOutputsDecisionsPricingCompletionUnit, + endpointsOutputsDecisionsPricingCompletionCostUsd: ref endpointsOutputsDecisionsPricingCompletionCostUsd, + endpointsOutputsDecisionsPricingCompletionOverridesCostUsd: ref endpointsOutputsDecisionsPricingCompletionOverridesCostUsd, + endpointsOutputsDecisionsPricingCompletionUtcStart: ref endpointsOutputsDecisionsPricingCompletionUtcStart, + endpointsOutputsDecisionsPricingCompletionUtcEnd: ref endpointsOutputsDecisionsPricingCompletionUtcEnd, + endpointsOutputsDecisionsPricingCompletionUtcDays: ref endpointsOutputsDecisionsPricingCompletionUtcDays, + endpointsOutputsDecisionsPricingInternalReasoningUnit: ref endpointsOutputsDecisionsPricingInternalReasoningUnit, + endpointsOutputsDecisionsPricingInternalReasoningCostUsd: ref endpointsOutputsDecisionsPricingInternalReasoningCostUsd, + endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd, + endpointsOutputsDecisionsPricingInternalReasoningUtcStart: ref endpointsOutputsDecisionsPricingInternalReasoningUtcStart, + endpointsOutputsDecisionsPricingInternalReasoningUtcEnd: ref endpointsOutputsDecisionsPricingInternalReasoningUtcEnd, + endpointsOutputsDecisionsPricingInternalReasoningUtcDays: ref endpointsOutputsDecisionsPricingInternalReasoningUtcDays, + endpointsOutputsDecisionsCapacityType: ref endpointsOutputsDecisionsCapacityType, + endpointsOutputsDecisionsCapacityCompletionUnit: ref endpointsOutputsDecisionsCapacityCompletionUnit, + endpointsOutputsDecisionsCapacityCompletionPer: ref endpointsOutputsDecisionsCapacityCompletionPer, + endpointsOutputsDecisionsCapacityCompletionValue: ref endpointsOutputsDecisionsCapacityCompletionValue, + endpointsOutputsDecisionsCapacityInternalReasoningUnit: ref endpointsOutputsDecisionsCapacityInternalReasoningUnit, + endpointsOutputsDecisionsCapacityInternalReasoningPer: ref endpointsOutputsDecisionsCapacityInternalReasoningPer, + endpointsOutputsDecisionsCapacityInternalReasoningValue: ref endpointsOutputsDecisionsCapacityInternalReasoningValue, + endpointsOutputsDecisionsCapacityConcurrencyUnit: ref endpointsOutputsDecisionsCapacityConcurrencyUnit, + endpointsOutputsDecisionsCapacityConcurrencyValue: ref endpointsOutputsDecisionsCapacityConcurrencyValue, + endpointsOutputsDecisionsParams: ref endpointsOutputsDecisionsParams, + endpointsOutputsAudioPassthroughParameters: ref endpointsOutputsAudioPassthroughParameters, + endpointsOutputsAudioPricingType: ref endpointsOutputsAudioPricingType, + endpointsOutputsAudioPricingCompletionUnit: ref endpointsOutputsAudioPricingCompletionUnit, + endpointsOutputsAudioPricingCompletionCostUsd: ref endpointsOutputsAudioPricingCompletionCostUsd, + endpointsOutputsAudioPricingCompletionOverridesCostUsd: ref endpointsOutputsAudioPricingCompletionOverridesCostUsd, + endpointsOutputsAudioPricingCompletionUtcStart: ref endpointsOutputsAudioPricingCompletionUtcStart, + endpointsOutputsAudioPricingCompletionUtcEnd: ref endpointsOutputsAudioPricingCompletionUtcEnd, + endpointsOutputsAudioPricingCompletionUtcDays: ref endpointsOutputsAudioPricingCompletionUtcDays, + endpointsOutputsAudioPricingInternalReasoningUnit: ref endpointsOutputsAudioPricingInternalReasoningUnit, + endpointsOutputsAudioPricingInternalReasoningCostUsd: ref endpointsOutputsAudioPricingInternalReasoningCostUsd, + endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd: ref endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd, + endpointsOutputsAudioPricingInternalReasoningUtcStart: ref endpointsOutputsAudioPricingInternalReasoningUtcStart, + endpointsOutputsAudioPricingInternalReasoningUtcEnd: ref endpointsOutputsAudioPricingInternalReasoningUtcEnd, + endpointsOutputsAudioPricingInternalReasoningUtcDays: ref endpointsOutputsAudioPricingInternalReasoningUtcDays, + endpointsOutputsAudioCapacityType: ref endpointsOutputsAudioCapacityType, + endpointsOutputsAudioCapacityCompletionUnit: ref endpointsOutputsAudioCapacityCompletionUnit, + endpointsOutputsAudioCapacityCompletionPer: ref endpointsOutputsAudioCapacityCompletionPer, + endpointsOutputsAudioCapacityCompletionValue: ref endpointsOutputsAudioCapacityCompletionValue, + endpointsOutputsAudioCapacityInternalReasoningUnit: ref endpointsOutputsAudioCapacityInternalReasoningUnit, + endpointsOutputsAudioCapacityInternalReasoningPer: ref endpointsOutputsAudioCapacityInternalReasoningPer, + endpointsOutputsAudioCapacityInternalReasoningValue: ref endpointsOutputsAudioCapacityInternalReasoningValue, + endpointsOutputsAudioCapacityConcurrencyUnit: ref endpointsOutputsAudioCapacityConcurrencyUnit, + endpointsOutputsAudioCapacityConcurrencyValue: ref endpointsOutputsAudioCapacityConcurrencyValue, + endpointsOutputsAudioStreaming: ref endpointsOutputsAudioStreaming, + endpointsOutputsAudioParams: ref endpointsOutputsAudioParams, + endpointsProviderSlug: ref endpointsProviderSlug, + endpointsProviderTag: ref endpointsProviderTag, + endpointsProviderName: ref endpointsProviderName, + endpointsDataPolicyTraining: ref endpointsDataPolicyTraining, + endpointsDataPolicyRetainsPrompts: ref endpointsDataPolicyRetainsPrompts, + endpointsDataPolicyRetentionDays: ref endpointsDataPolicyRetentionDays); + + + var __authorizations = global::OpenRouter.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ListV2SecurityRequirements, + operationName: "ListV2Async"); + + using var __timeoutCancellationTokenSource = global::OpenRouter.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::OpenRouter.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::OpenRouter.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::OpenRouter.PathBuilder( + path: "/api/v2/models", + baseUri: ResolveBaseUri( + servers: s_ListV2Servers, + defaultBaseUrl: "https://openrouter.ai/")); + __pathBuilder + .AddOptionalParameter("offset", offset?.ToString()) + .AddOptionalParameter("limit", limit?.ToString()) + .AddOptionalParameter("cursor", cursor) + .AddOptionalParameter("region", region?.ToValueString()) + .AddOptionalParameter("sort", sort) + .AddOptionalParameter("id", id) + .AddOptionalParameter("canonical_slug", canonicalSlug) + .AddOptionalParameter("author", author) + .AddOptionalParameter("name", name) + .AddOptionalParameter("variant", variant) + .AddOptionalParameter("kind", kind) + .AddOptionalParameter("alias_target.slug", aliasTargetSlug) + .AddOptionalParameter("alias_target.name", aliasTargetName) + .AddOptionalParameter("created", created) + .AddOptionalParameter("description", description) + .AddOptionalParameter("context_length", contextLength) + .AddOptionalParameter("hugging_face_id", huggingFaceId) + .AddOptionalParameter("inputs", inputs) + .AddOptionalParameter("outputs", outputs) + .AddOptionalParameter("endpoints.schema_version", endpointsSchemaVersion) + .AddOptionalParameter("endpoints.id", endpointsId) + .AddOptionalParameter("endpoints.hugging_face_id", endpointsHuggingFaceId) + .AddOptionalParameter("endpoints.name", endpointsName) + .AddOptionalParameter("endpoints.created", endpointsCreated) + .AddOptionalParameter("endpoints.quantization", endpointsQuantization) + .AddOptionalParameter("endpoints.tokenizer", endpointsTokenizer) + .AddOptionalParameter("endpoints.description", endpointsDescription) + .AddOptionalParameter("endpoints.pricing.type", endpointsPricingType) + .AddOptionalParameter("endpoints.pricing.request.unit", endpointsPricingRequestUnit) + .AddOptionalParameter("endpoints.pricing.request.cost_usd", endpointsPricingRequestCostUsd) + .AddOptionalParameter("endpoints.pricing.request.overrides.cost_usd", endpointsPricingRequestOverridesCostUsd) + .AddOptionalParameter("endpoints.pricing.web_search.unit", endpointsPricingWebSearchUnit) + .AddOptionalParameter("endpoints.pricing.web_search.cost_usd", endpointsPricingWebSearchCostUsd) + .AddOptionalParameter("endpoints.pricing.web_search.overrides.cost_usd", endpointsPricingWebSearchOverridesCostUsd) + .AddOptionalParameter("endpoints.capacity.type", endpointsCapacityType) + .AddOptionalParameter("endpoints.capacity.request.unit", endpointsCapacityRequestUnit) + .AddOptionalParameter("endpoints.capacity.request.per", endpointsCapacityRequestPer) + .AddOptionalParameter("endpoints.capacity.request.value", endpointsCapacityRequestValue) + .AddOptionalParameter("endpoints.capacity.web_search.unit", endpointsCapacityWebSearchUnit) + .AddOptionalParameter("endpoints.capacity.web_search.per", endpointsCapacityWebSearchPer) + .AddOptionalParameter("endpoints.capacity.web_search.value", endpointsCapacityWebSearchValue) + .AddOptionalParameter("endpoints.capacity.concurrency.unit", endpointsCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.capacity.concurrency.value", endpointsCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.passthrough_parameters", endpointsPassthroughParameters) + .AddOptionalParameter("endpoints.deprecation_date", endpointsDeprecationDate) + .AddOptionalParameter("endpoints.is_ready", endpointsIsReady) + .AddOptionalParameter("endpoints.is_free", endpointsIsFree) + .AddOptionalParameter("endpoints.service_tier", endpointsServiceTier) + .AddOptionalParameter("endpoints.discount_to_user", endpointsDiscountToUser) + .AddOptionalParameter("endpoints.openrouter.slug", endpointsOpenrouterSlug) + .AddOptionalParameter("endpoints.datacenters.country_code", endpointsDatacentersCountryCode) + .AddOptionalParameter("endpoints.datacenters.region", endpointsDatacentersRegion) + .AddOptionalParameter("endpoints.deployment_region", endpointsDeploymentRegion) + .AddOptionalParameter("endpoints.inputs.type", endpointsInputsType) + .AddOptionalParameter("endpoints.inputs.text.pricing.type", endpointsInputsTextPricingType) + .AddOptionalParameter("endpoints.inputs.text.pricing.prompt.unit", endpointsInputsTextPricingPromptUnit) + .AddOptionalParameter("endpoints.inputs.text.pricing.prompt.cost_usd", endpointsInputsTextPricingPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.text.pricing.prompt.overrides.cost_usd", endpointsInputsTextPricingPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.text.pricing.prompt.utc_start", endpointsInputsTextPricingPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.text.pricing.prompt.utc_end", endpointsInputsTextPricingPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.text.pricing.prompt.utc_days", endpointsInputsTextPricingPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.unit", endpointsInputsTextPricingCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.cost_usd", endpointsInputsTextPricingCachedPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd", endpointsInputsTextPricingCachedPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.ttl_seconds", endpointsInputsTextPricingCachedPromptTtlSeconds) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.implicit", endpointsInputsTextPricingCachedPromptImplicit) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.utc_start", endpointsInputsTextPricingCachedPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.utc_end", endpointsInputsTextPricingCachedPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.text.pricing.cached_prompt.utc_days", endpointsInputsTextPricingCachedPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.unit", endpointsInputsTextPricingCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.cost_usd", endpointsInputsTextPricingCacheWriteCostUsd) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.overrides.cost_usd", endpointsInputsTextPricingCacheWriteOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.ttl_seconds", endpointsInputsTextPricingCacheWriteTtlSeconds) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.implicit", endpointsInputsTextPricingCacheWriteImplicit) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.utc_start", endpointsInputsTextPricingCacheWriteUtcStart) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.utc_end", endpointsInputsTextPricingCacheWriteUtcEnd) + .AddOptionalParameter("endpoints.inputs.text.pricing.cache_write.utc_days", endpointsInputsTextPricingCacheWriteUtcDays) + .AddOptionalParameter("endpoints.inputs.text.capacity.type", endpointsInputsTextCapacityType) + .AddOptionalParameter("endpoints.inputs.text.capacity.prompt.unit", endpointsInputsTextCapacityPromptUnit) + .AddOptionalParameter("endpoints.inputs.text.capacity.prompt.per", endpointsInputsTextCapacityPromptPer) + .AddOptionalParameter("endpoints.inputs.text.capacity.prompt.value", endpointsInputsTextCapacityPromptValue) + .AddOptionalParameter("endpoints.inputs.text.capacity.cached_prompt.unit", endpointsInputsTextCapacityCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.text.capacity.cached_prompt.per", endpointsInputsTextCapacityCachedPromptPer) + .AddOptionalParameter("endpoints.inputs.text.capacity.cached_prompt.value", endpointsInputsTextCapacityCachedPromptValue) + .AddOptionalParameter("endpoints.inputs.text.capacity.cache_write.unit", endpointsInputsTextCapacityCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.text.capacity.cache_write.per", endpointsInputsTextCapacityCacheWritePer) + .AddOptionalParameter("endpoints.inputs.text.capacity.cache_write.value", endpointsInputsTextCapacityCacheWriteValue) + .AddOptionalParameter("endpoints.inputs.text.passthrough_parameters", endpointsInputsTextPassthroughParameters) + .AddOptionalParameter("endpoints.inputs.text.params.max_prompt_length.value", endpointsInputsTextParamsMaxPromptLengthValue) + .AddOptionalParameter("endpoints.inputs.text.params.max_prompt_length.unit", endpointsInputsTextParamsMaxPromptLengthUnit) + .AddOptionalParameter("endpoints.inputs.text.params.max_length.value", endpointsInputsTextParamsMaxLengthValue) + .AddOptionalParameter("endpoints.inputs.text.params.max_length.unit", endpointsInputsTextParamsMaxLengthUnit) + .AddOptionalParameter("endpoints.inputs.image.pricing.type", endpointsInputsImagePricingType) + .AddOptionalParameter("endpoints.inputs.image.pricing.prompt.unit", endpointsInputsImagePricingPromptUnit) + .AddOptionalParameter("endpoints.inputs.image.pricing.prompt.cost_usd", endpointsInputsImagePricingPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.image.pricing.prompt.overrides.cost_usd", endpointsInputsImagePricingPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.image.pricing.prompt.utc_start", endpointsInputsImagePricingPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.image.pricing.prompt.utc_end", endpointsInputsImagePricingPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.image.pricing.prompt.utc_days", endpointsInputsImagePricingPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.unit", endpointsInputsImagePricingCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.cost_usd", endpointsInputsImagePricingCachedPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd", endpointsInputsImagePricingCachedPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.ttl_seconds", endpointsInputsImagePricingCachedPromptTtlSeconds) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.implicit", endpointsInputsImagePricingCachedPromptImplicit) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.utc_start", endpointsInputsImagePricingCachedPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.utc_end", endpointsInputsImagePricingCachedPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.image.pricing.cached_prompt.utc_days", endpointsInputsImagePricingCachedPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.unit", endpointsInputsImagePricingCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.cost_usd", endpointsInputsImagePricingCacheWriteCostUsd) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.overrides.cost_usd", endpointsInputsImagePricingCacheWriteOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.ttl_seconds", endpointsInputsImagePricingCacheWriteTtlSeconds) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.implicit", endpointsInputsImagePricingCacheWriteImplicit) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.utc_start", endpointsInputsImagePricingCacheWriteUtcStart) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.utc_end", endpointsInputsImagePricingCacheWriteUtcEnd) + .AddOptionalParameter("endpoints.inputs.image.pricing.cache_write.utc_days", endpointsInputsImagePricingCacheWriteUtcDays) + .AddOptionalParameter("endpoints.inputs.image.capacity.type", endpointsInputsImageCapacityType) + .AddOptionalParameter("endpoints.inputs.image.capacity.prompt.unit", endpointsInputsImageCapacityPromptUnit) + .AddOptionalParameter("endpoints.inputs.image.capacity.prompt.per", endpointsInputsImageCapacityPromptPer) + .AddOptionalParameter("endpoints.inputs.image.capacity.prompt.value", endpointsInputsImageCapacityPromptValue) + .AddOptionalParameter("endpoints.inputs.image.capacity.cached_prompt.unit", endpointsInputsImageCapacityCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.image.capacity.cached_prompt.per", endpointsInputsImageCapacityCachedPromptPer) + .AddOptionalParameter("endpoints.inputs.image.capacity.cached_prompt.value", endpointsInputsImageCapacityCachedPromptValue) + .AddOptionalParameter("endpoints.inputs.image.capacity.cache_write.unit", endpointsInputsImageCapacityCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.image.capacity.cache_write.per", endpointsInputsImageCapacityCacheWritePer) + .AddOptionalParameter("endpoints.inputs.image.capacity.cache_write.value", endpointsInputsImageCapacityCacheWriteValue) + .AddOptionalParameter("endpoints.inputs.image.passthrough_parameters", endpointsInputsImagePassthroughParameters) + .AddOptionalParameter("endpoints.inputs.image.params.sources.type", endpointsInputsImageParamsSourcesType) + .AddOptionalParameter("endpoints.inputs.image.params.sources.values", endpointsInputsImageParamsSourcesValues) + .AddOptionalParameter("endpoints.inputs.image.params.formats.type", endpointsInputsImageParamsFormatsType) + .AddOptionalParameter("endpoints.inputs.image.params.formats.values", endpointsInputsImageParamsFormatsValues) + .AddOptionalParameter("endpoints.inputs.image.params.detail_levels.type", endpointsInputsImageParamsDetailLevelsType) + .AddOptionalParameter("endpoints.inputs.image.params.detail_levels.values", endpointsInputsImageParamsDetailLevelsValues) + .AddOptionalParameter("endpoints.inputs.image.params.references.type", endpointsInputsImageParamsReferencesType) + .AddOptionalParameter("endpoints.inputs.image.params.references.min", endpointsInputsImageParamsReferencesMin) + .AddOptionalParameter("endpoints.inputs.image.params.references.max", endpointsInputsImageParamsReferencesMax) + .AddOptionalParameter("endpoints.inputs.image.params.references.unit", endpointsInputsImageParamsReferencesUnit) + .AddOptionalParameter("endpoints.inputs.image.params.role.type", endpointsInputsImageParamsRoleType) + .AddOptionalParameter("endpoints.inputs.image.params.role.values", endpointsInputsImageParamsRoleValues) + .AddOptionalParameter("endpoints.inputs.image.params.max_content_size_bytes.value", endpointsInputsImageParamsMaxContentSizeBytesValue) + .AddOptionalParameter("endpoints.inputs.image.params.max_content_size_bytes.unit", endpointsInputsImageParamsMaxContentSizeBytesUnit) + .AddOptionalParameter("endpoints.inputs.video.pricing.type", endpointsInputsVideoPricingType) + .AddOptionalParameter("endpoints.inputs.video.pricing.prompt.unit", endpointsInputsVideoPricingPromptUnit) + .AddOptionalParameter("endpoints.inputs.video.pricing.prompt.cost_usd", endpointsInputsVideoPricingPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.video.pricing.prompt.overrides.cost_usd", endpointsInputsVideoPricingPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.video.pricing.prompt.utc_start", endpointsInputsVideoPricingPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.video.pricing.prompt.utc_end", endpointsInputsVideoPricingPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.video.pricing.prompt.utc_days", endpointsInputsVideoPricingPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.unit", endpointsInputsVideoPricingCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.cost_usd", endpointsInputsVideoPricingCachedPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd", endpointsInputsVideoPricingCachedPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.ttl_seconds", endpointsInputsVideoPricingCachedPromptTtlSeconds) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.implicit", endpointsInputsVideoPricingCachedPromptImplicit) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.utc_start", endpointsInputsVideoPricingCachedPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.utc_end", endpointsInputsVideoPricingCachedPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.video.pricing.cached_prompt.utc_days", endpointsInputsVideoPricingCachedPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.unit", endpointsInputsVideoPricingCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.cost_usd", endpointsInputsVideoPricingCacheWriteCostUsd) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.overrides.cost_usd", endpointsInputsVideoPricingCacheWriteOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.ttl_seconds", endpointsInputsVideoPricingCacheWriteTtlSeconds) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.implicit", endpointsInputsVideoPricingCacheWriteImplicit) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.utc_start", endpointsInputsVideoPricingCacheWriteUtcStart) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.utc_end", endpointsInputsVideoPricingCacheWriteUtcEnd) + .AddOptionalParameter("endpoints.inputs.video.pricing.cache_write.utc_days", endpointsInputsVideoPricingCacheWriteUtcDays) + .AddOptionalParameter("endpoints.inputs.video.capacity.type", endpointsInputsVideoCapacityType) + .AddOptionalParameter("endpoints.inputs.video.capacity.prompt.unit", endpointsInputsVideoCapacityPromptUnit) + .AddOptionalParameter("endpoints.inputs.video.capacity.prompt.per", endpointsInputsVideoCapacityPromptPer) + .AddOptionalParameter("endpoints.inputs.video.capacity.prompt.value", endpointsInputsVideoCapacityPromptValue) + .AddOptionalParameter("endpoints.inputs.video.capacity.cached_prompt.unit", endpointsInputsVideoCapacityCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.video.capacity.cached_prompt.per", endpointsInputsVideoCapacityCachedPromptPer) + .AddOptionalParameter("endpoints.inputs.video.capacity.cached_prompt.value", endpointsInputsVideoCapacityCachedPromptValue) + .AddOptionalParameter("endpoints.inputs.video.capacity.cache_write.unit", endpointsInputsVideoCapacityCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.video.capacity.cache_write.per", endpointsInputsVideoCapacityCacheWritePer) + .AddOptionalParameter("endpoints.inputs.video.capacity.cache_write.value", endpointsInputsVideoCapacityCacheWriteValue) + .AddOptionalParameter("endpoints.inputs.video.passthrough_parameters", endpointsInputsVideoPassthroughParameters) + .AddOptionalParameter("endpoints.inputs.video.params.sources.type", endpointsInputsVideoParamsSourcesType) + .AddOptionalParameter("endpoints.inputs.video.params.sources.values", endpointsInputsVideoParamsSourcesValues) + .AddOptionalParameter("endpoints.inputs.video.params.formats.type", endpointsInputsVideoParamsFormatsType) + .AddOptionalParameter("endpoints.inputs.video.params.formats.values", endpointsInputsVideoParamsFormatsValues) + .AddOptionalParameter("endpoints.inputs.video.params.max_duration_seconds.value", endpointsInputsVideoParamsMaxDurationSecondsValue) + .AddOptionalParameter("endpoints.inputs.video.params.max_duration_seconds.unit", endpointsInputsVideoParamsMaxDurationSecondsUnit) + .AddOptionalParameter("endpoints.inputs.video.params.max_content_size_bytes.value", endpointsInputsVideoParamsMaxContentSizeBytesValue) + .AddOptionalParameter("endpoints.inputs.video.params.max_content_size_bytes.unit", endpointsInputsVideoParamsMaxContentSizeBytesUnit) + .AddOptionalParameter("endpoints.inputs.audio.pricing.type", endpointsInputsAudioPricingType) + .AddOptionalParameter("endpoints.inputs.audio.pricing.prompt.unit", endpointsInputsAudioPricingPromptUnit) + .AddOptionalParameter("endpoints.inputs.audio.pricing.prompt.cost_usd", endpointsInputsAudioPricingPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.prompt.overrides.cost_usd", endpointsInputsAudioPricingPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.prompt.utc_start", endpointsInputsAudioPricingPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.audio.pricing.prompt.utc_end", endpointsInputsAudioPricingPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.prompt.utc_days", endpointsInputsAudioPricingPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.unit", endpointsInputsAudioPricingCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.cost_usd", endpointsInputsAudioPricingCachedPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd", endpointsInputsAudioPricingCachedPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds", endpointsInputsAudioPricingCachedPromptTtlSeconds) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.implicit", endpointsInputsAudioPricingCachedPromptImplicit) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.utc_start", endpointsInputsAudioPricingCachedPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.utc_end", endpointsInputsAudioPricingCachedPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cached_prompt.utc_days", endpointsInputsAudioPricingCachedPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.unit", endpointsInputsAudioPricingCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.cost_usd", endpointsInputsAudioPricingCacheWriteCostUsd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd", endpointsInputsAudioPricingCacheWriteOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.ttl_seconds", endpointsInputsAudioPricingCacheWriteTtlSeconds) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.implicit", endpointsInputsAudioPricingCacheWriteImplicit) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.utc_start", endpointsInputsAudioPricingCacheWriteUtcStart) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.utc_end", endpointsInputsAudioPricingCacheWriteUtcEnd) + .AddOptionalParameter("endpoints.inputs.audio.pricing.cache_write.utc_days", endpointsInputsAudioPricingCacheWriteUtcDays) + .AddOptionalParameter("endpoints.inputs.audio.capacity.type", endpointsInputsAudioCapacityType) + .AddOptionalParameter("endpoints.inputs.audio.capacity.prompt.unit", endpointsInputsAudioCapacityPromptUnit) + .AddOptionalParameter("endpoints.inputs.audio.capacity.prompt.per", endpointsInputsAudioCapacityPromptPer) + .AddOptionalParameter("endpoints.inputs.audio.capacity.prompt.value", endpointsInputsAudioCapacityPromptValue) + .AddOptionalParameter("endpoints.inputs.audio.capacity.cached_prompt.unit", endpointsInputsAudioCapacityCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.audio.capacity.cached_prompt.per", endpointsInputsAudioCapacityCachedPromptPer) + .AddOptionalParameter("endpoints.inputs.audio.capacity.cached_prompt.value", endpointsInputsAudioCapacityCachedPromptValue) + .AddOptionalParameter("endpoints.inputs.audio.capacity.cache_write.unit", endpointsInputsAudioCapacityCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.audio.capacity.cache_write.per", endpointsInputsAudioCapacityCacheWritePer) + .AddOptionalParameter("endpoints.inputs.audio.capacity.cache_write.value", endpointsInputsAudioCapacityCacheWriteValue) + .AddOptionalParameter("endpoints.inputs.audio.passthrough_parameters", endpointsInputsAudioPassthroughParameters) + .AddOptionalParameter("endpoints.inputs.audio.params.sources.type", endpointsInputsAudioParamsSourcesType) + .AddOptionalParameter("endpoints.inputs.audio.params.sources.values", endpointsInputsAudioParamsSourcesValues) + .AddOptionalParameter("endpoints.inputs.audio.params.formats.type", endpointsInputsAudioParamsFormatsType) + .AddOptionalParameter("endpoints.inputs.audio.params.formats.values", endpointsInputsAudioParamsFormatsValues) + .AddOptionalParameter("endpoints.inputs.audio.params.max_duration_seconds.value", endpointsInputsAudioParamsMaxDurationSecondsValue) + .AddOptionalParameter("endpoints.inputs.audio.params.max_duration_seconds.unit", endpointsInputsAudioParamsMaxDurationSecondsUnit) + .AddOptionalParameter("endpoints.inputs.audio.params.max_content_size_bytes.value", endpointsInputsAudioParamsMaxContentSizeBytesValue) + .AddOptionalParameter("endpoints.inputs.audio.params.max_content_size_bytes.unit", endpointsInputsAudioParamsMaxContentSizeBytesUnit) + .AddOptionalParameter("endpoints.inputs.file.pricing.type", endpointsInputsFilePricingType) + .AddOptionalParameter("endpoints.inputs.file.pricing.prompt.unit", endpointsInputsFilePricingPromptUnit) + .AddOptionalParameter("endpoints.inputs.file.pricing.prompt.cost_usd", endpointsInputsFilePricingPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.file.pricing.prompt.overrides.cost_usd", endpointsInputsFilePricingPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.file.pricing.prompt.utc_start", endpointsInputsFilePricingPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.file.pricing.prompt.utc_end", endpointsInputsFilePricingPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.file.pricing.prompt.utc_days", endpointsInputsFilePricingPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.unit", endpointsInputsFilePricingCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.cost_usd", endpointsInputsFilePricingCachedPromptCostUsd) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd", endpointsInputsFilePricingCachedPromptOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.ttl_seconds", endpointsInputsFilePricingCachedPromptTtlSeconds) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.implicit", endpointsInputsFilePricingCachedPromptImplicit) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.utc_start", endpointsInputsFilePricingCachedPromptUtcStart) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.utc_end", endpointsInputsFilePricingCachedPromptUtcEnd) + .AddOptionalParameter("endpoints.inputs.file.pricing.cached_prompt.utc_days", endpointsInputsFilePricingCachedPromptUtcDays) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.unit", endpointsInputsFilePricingCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.cost_usd", endpointsInputsFilePricingCacheWriteCostUsd) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.overrides.cost_usd", endpointsInputsFilePricingCacheWriteOverridesCostUsd) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.ttl_seconds", endpointsInputsFilePricingCacheWriteTtlSeconds) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.implicit", endpointsInputsFilePricingCacheWriteImplicit) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.utc_start", endpointsInputsFilePricingCacheWriteUtcStart) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.utc_end", endpointsInputsFilePricingCacheWriteUtcEnd) + .AddOptionalParameter("endpoints.inputs.file.pricing.cache_write.utc_days", endpointsInputsFilePricingCacheWriteUtcDays) + .AddOptionalParameter("endpoints.inputs.file.capacity.type", endpointsInputsFileCapacityType) + .AddOptionalParameter("endpoints.inputs.file.capacity.prompt.unit", endpointsInputsFileCapacityPromptUnit) + .AddOptionalParameter("endpoints.inputs.file.capacity.prompt.per", endpointsInputsFileCapacityPromptPer) + .AddOptionalParameter("endpoints.inputs.file.capacity.prompt.value", endpointsInputsFileCapacityPromptValue) + .AddOptionalParameter("endpoints.inputs.file.capacity.cached_prompt.unit", endpointsInputsFileCapacityCachedPromptUnit) + .AddOptionalParameter("endpoints.inputs.file.capacity.cached_prompt.per", endpointsInputsFileCapacityCachedPromptPer) + .AddOptionalParameter("endpoints.inputs.file.capacity.cached_prompt.value", endpointsInputsFileCapacityCachedPromptValue) + .AddOptionalParameter("endpoints.inputs.file.capacity.cache_write.unit", endpointsInputsFileCapacityCacheWriteUnit) + .AddOptionalParameter("endpoints.inputs.file.capacity.cache_write.per", endpointsInputsFileCapacityCacheWritePer) + .AddOptionalParameter("endpoints.inputs.file.capacity.cache_write.value", endpointsInputsFileCapacityCacheWriteValue) + .AddOptionalParameter("endpoints.inputs.file.passthrough_parameters", endpointsInputsFilePassthroughParameters) + .AddOptionalParameter("endpoints.inputs.file.params.sources.type", endpointsInputsFileParamsSourcesType) + .AddOptionalParameter("endpoints.inputs.file.params.sources.values", endpointsInputsFileParamsSourcesValues) + .AddOptionalParameter("endpoints.inputs.file.params.formats.type", endpointsInputsFileParamsFormatsType) + .AddOptionalParameter("endpoints.inputs.file.params.formats.values", endpointsInputsFileParamsFormatsValues) + .AddOptionalParameter("endpoints.inputs.file.params.references.type", endpointsInputsFileParamsReferencesType) + .AddOptionalParameter("endpoints.inputs.file.params.references.min", endpointsInputsFileParamsReferencesMin) + .AddOptionalParameter("endpoints.inputs.file.params.references.max", endpointsInputsFileParamsReferencesMax) + .AddOptionalParameter("endpoints.inputs.file.params.references.unit", endpointsInputsFileParamsReferencesUnit) + .AddOptionalParameter("endpoints.inputs.file.params.max_content_size_bytes.value", endpointsInputsFileParamsMaxContentSizeBytesValue) + .AddOptionalParameter("endpoints.inputs.file.params.max_content_size_bytes.unit", endpointsInputsFileParamsMaxContentSizeBytesUnit) + .AddOptionalParameter("endpoints.outputs.type", endpointsOutputsType) + .AddOptionalParameter("endpoints.outputs.text.max_length.value", endpointsOutputsTextMaxLengthValue) + .AddOptionalParameter("endpoints.outputs.text.max_length.unit", endpointsOutputsTextMaxLengthUnit) + .AddOptionalParameter("endpoints.outputs.text.passthrough_parameters", endpointsOutputsTextPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.text.pricing.type", endpointsOutputsTextPricingType) + .AddOptionalParameter("endpoints.outputs.text.pricing.completion.unit", endpointsOutputsTextPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.text.pricing.completion.cost_usd", endpointsOutputsTextPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.text.pricing.completion.overrides.cost_usd", endpointsOutputsTextPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.text.pricing.completion.utc_start", endpointsOutputsTextPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.text.pricing.completion.utc_end", endpointsOutputsTextPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.text.pricing.completion.utc_days", endpointsOutputsTextPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.text.pricing.internal_reasoning.unit", endpointsOutputsTextPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.text.pricing.internal_reasoning.cost_usd", endpointsOutputsTextPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsTextPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.text.pricing.internal_reasoning.utc_start", endpointsOutputsTextPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.text.pricing.internal_reasoning.utc_end", endpointsOutputsTextPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.text.pricing.internal_reasoning.utc_days", endpointsOutputsTextPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.text.capacity.type", endpointsOutputsTextCapacityType) + .AddOptionalParameter("endpoints.outputs.text.capacity.completion.unit", endpointsOutputsTextCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.text.capacity.completion.per", endpointsOutputsTextCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.text.capacity.completion.value", endpointsOutputsTextCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.text.capacity.internal_reasoning.unit", endpointsOutputsTextCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.text.capacity.internal_reasoning.per", endpointsOutputsTextCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.text.capacity.internal_reasoning.value", endpointsOutputsTextCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.text.capacity.concurrency.unit", endpointsOutputsTextCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.text.capacity.concurrency.value", endpointsOutputsTextCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.text.streaming", endpointsOutputsTextStreaming) + .AddOptionalParameter("endpoints.outputs.text.params", endpointsOutputsTextParams) + .AddOptionalParameter("endpoints.outputs.image.passthrough_parameters", endpointsOutputsImagePassthroughParameters) + .AddOptionalParameter("endpoints.outputs.image.pricing.type", endpointsOutputsImagePricingType) + .AddOptionalParameter("endpoints.outputs.image.pricing.completion.unit", endpointsOutputsImagePricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.image.pricing.completion.cost_usd", endpointsOutputsImagePricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.image.pricing.completion.overrides.cost_usd", endpointsOutputsImagePricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.image.pricing.completion.utc_start", endpointsOutputsImagePricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.image.pricing.completion.utc_end", endpointsOutputsImagePricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.image.pricing.completion.utc_days", endpointsOutputsImagePricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.image.pricing.internal_reasoning.unit", endpointsOutputsImagePricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.image.pricing.internal_reasoning.cost_usd", endpointsOutputsImagePricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsImagePricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.image.pricing.internal_reasoning.utc_start", endpointsOutputsImagePricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.image.pricing.internal_reasoning.utc_end", endpointsOutputsImagePricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.image.pricing.internal_reasoning.utc_days", endpointsOutputsImagePricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.image.capacity.type", endpointsOutputsImageCapacityType) + .AddOptionalParameter("endpoints.outputs.image.capacity.completion.unit", endpointsOutputsImageCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.image.capacity.completion.per", endpointsOutputsImageCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.image.capacity.completion.value", endpointsOutputsImageCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.image.capacity.internal_reasoning.unit", endpointsOutputsImageCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.image.capacity.internal_reasoning.per", endpointsOutputsImageCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.image.capacity.internal_reasoning.value", endpointsOutputsImageCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.image.capacity.concurrency.unit", endpointsOutputsImageCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.image.capacity.concurrency.value", endpointsOutputsImageCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.image.streaming", endpointsOutputsImageStreaming) + .AddOptionalParameter("endpoints.outputs.image.params", endpointsOutputsImageParams) + .AddOptionalParameter("endpoints.outputs.video.passthrough_parameters", endpointsOutputsVideoPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.video.pricing.type", endpointsOutputsVideoPricingType) + .AddOptionalParameter("endpoints.outputs.video.pricing.completion.unit", endpointsOutputsVideoPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.video.pricing.completion.cost_usd", endpointsOutputsVideoPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.video.pricing.completion.overrides.cost_usd", endpointsOutputsVideoPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.video.pricing.completion.utc_start", endpointsOutputsVideoPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.video.pricing.completion.utc_end", endpointsOutputsVideoPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.video.pricing.completion.utc_days", endpointsOutputsVideoPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.video.pricing.internal_reasoning.unit", endpointsOutputsVideoPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.video.pricing.internal_reasoning.cost_usd", endpointsOutputsVideoPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.video.pricing.internal_reasoning.utc_start", endpointsOutputsVideoPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.video.pricing.internal_reasoning.utc_end", endpointsOutputsVideoPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.video.pricing.internal_reasoning.utc_days", endpointsOutputsVideoPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.video.capacity.type", endpointsOutputsVideoCapacityType) + .AddOptionalParameter("endpoints.outputs.video.capacity.completion.unit", endpointsOutputsVideoCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.video.capacity.completion.per", endpointsOutputsVideoCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.video.capacity.completion.value", endpointsOutputsVideoCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.video.capacity.internal_reasoning.unit", endpointsOutputsVideoCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.video.capacity.internal_reasoning.per", endpointsOutputsVideoCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.video.capacity.internal_reasoning.value", endpointsOutputsVideoCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.video.capacity.concurrency.unit", endpointsOutputsVideoCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.video.capacity.concurrency.value", endpointsOutputsVideoCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.video.streaming", endpointsOutputsVideoStreaming) + .AddOptionalParameter("endpoints.outputs.video.params", endpointsOutputsVideoParams) + .AddOptionalParameter("endpoints.outputs.speech.passthrough_parameters", endpointsOutputsSpeechPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.speech.pricing.type", endpointsOutputsSpeechPricingType) + .AddOptionalParameter("endpoints.outputs.speech.pricing.completion.unit", endpointsOutputsSpeechPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.speech.pricing.completion.cost_usd", endpointsOutputsSpeechPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.speech.pricing.completion.overrides.cost_usd", endpointsOutputsSpeechPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.speech.pricing.completion.utc_start", endpointsOutputsSpeechPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.speech.pricing.completion.utc_end", endpointsOutputsSpeechPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.speech.pricing.completion.utc_days", endpointsOutputsSpeechPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.speech.pricing.internal_reasoning.unit", endpointsOutputsSpeechPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.speech.pricing.internal_reasoning.cost_usd", endpointsOutputsSpeechPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.speech.pricing.internal_reasoning.utc_start", endpointsOutputsSpeechPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.speech.pricing.internal_reasoning.utc_end", endpointsOutputsSpeechPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.speech.pricing.internal_reasoning.utc_days", endpointsOutputsSpeechPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.speech.capacity.type", endpointsOutputsSpeechCapacityType) + .AddOptionalParameter("endpoints.outputs.speech.capacity.completion.unit", endpointsOutputsSpeechCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.speech.capacity.completion.per", endpointsOutputsSpeechCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.speech.capacity.completion.value", endpointsOutputsSpeechCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.speech.capacity.internal_reasoning.unit", endpointsOutputsSpeechCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.speech.capacity.internal_reasoning.per", endpointsOutputsSpeechCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.speech.capacity.internal_reasoning.value", endpointsOutputsSpeechCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.speech.capacity.concurrency.unit", endpointsOutputsSpeechCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.speech.capacity.concurrency.value", endpointsOutputsSpeechCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.speech.streaming", endpointsOutputsSpeechStreaming) + .AddOptionalParameter("endpoints.outputs.speech.params", endpointsOutputsSpeechParams) + .AddOptionalParameter("endpoints.outputs.transcription.passthrough_parameters", endpointsOutputsTranscriptionPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.type", endpointsOutputsTranscriptionPricingType) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.completion.unit", endpointsOutputsTranscriptionPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.completion.cost_usd", endpointsOutputsTranscriptionPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.completion.overrides.cost_usd", endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.completion.utc_start", endpointsOutputsTranscriptionPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.completion.utc_end", endpointsOutputsTranscriptionPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.completion.utc_days", endpointsOutputsTranscriptionPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.internal_reasoning.unit", endpointsOutputsTranscriptionPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd", endpointsOutputsTranscriptionPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.internal_reasoning.utc_start", endpointsOutputsTranscriptionPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.internal_reasoning.utc_end", endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.transcription.pricing.internal_reasoning.utc_days", endpointsOutputsTranscriptionPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.type", endpointsOutputsTranscriptionCapacityType) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.completion.unit", endpointsOutputsTranscriptionCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.completion.per", endpointsOutputsTranscriptionCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.completion.value", endpointsOutputsTranscriptionCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.internal_reasoning.unit", endpointsOutputsTranscriptionCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.internal_reasoning.per", endpointsOutputsTranscriptionCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.internal_reasoning.value", endpointsOutputsTranscriptionCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.concurrency.unit", endpointsOutputsTranscriptionCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.transcription.capacity.concurrency.value", endpointsOutputsTranscriptionCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.transcription.streaming", endpointsOutputsTranscriptionStreaming) + .AddOptionalParameter("endpoints.outputs.transcription.params", endpointsOutputsTranscriptionParams) + .AddOptionalParameter("endpoints.outputs.embeddings.passthrough_parameters", endpointsOutputsEmbeddingsPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.type", endpointsOutputsEmbeddingsPricingType) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.completion.unit", endpointsOutputsEmbeddingsPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.completion.cost_usd", endpointsOutputsEmbeddingsPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd", endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.completion.utc_start", endpointsOutputsEmbeddingsPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.completion.utc_end", endpointsOutputsEmbeddingsPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.completion.utc_days", endpointsOutputsEmbeddingsPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.internal_reasoning.unit", endpointsOutputsEmbeddingsPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd", endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start", endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end", endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days", endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.type", endpointsOutputsEmbeddingsCapacityType) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.completion.unit", endpointsOutputsEmbeddingsCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.completion.per", endpointsOutputsEmbeddingsCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.completion.value", endpointsOutputsEmbeddingsCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.internal_reasoning.unit", endpointsOutputsEmbeddingsCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.internal_reasoning.per", endpointsOutputsEmbeddingsCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.internal_reasoning.value", endpointsOutputsEmbeddingsCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.concurrency.unit", endpointsOutputsEmbeddingsCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.embeddings.capacity.concurrency.value", endpointsOutputsEmbeddingsCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.embeddings.params", endpointsOutputsEmbeddingsParams) + .AddOptionalParameter("endpoints.outputs.rerank.passthrough_parameters", endpointsOutputsRerankPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.type", endpointsOutputsRerankPricingType) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.completion.unit", endpointsOutputsRerankPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.completion.cost_usd", endpointsOutputsRerankPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.completion.overrides.cost_usd", endpointsOutputsRerankPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.completion.utc_start", endpointsOutputsRerankPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.completion.utc_end", endpointsOutputsRerankPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.completion.utc_days", endpointsOutputsRerankPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.internal_reasoning.unit", endpointsOutputsRerankPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd", endpointsOutputsRerankPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.internal_reasoning.utc_start", endpointsOutputsRerankPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.internal_reasoning.utc_end", endpointsOutputsRerankPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.rerank.pricing.internal_reasoning.utc_days", endpointsOutputsRerankPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.type", endpointsOutputsRerankCapacityType) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.completion.unit", endpointsOutputsRerankCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.completion.per", endpointsOutputsRerankCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.completion.value", endpointsOutputsRerankCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.internal_reasoning.unit", endpointsOutputsRerankCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.internal_reasoning.per", endpointsOutputsRerankCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.internal_reasoning.value", endpointsOutputsRerankCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.concurrency.unit", endpointsOutputsRerankCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.rerank.capacity.concurrency.value", endpointsOutputsRerankCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.rerank.params", endpointsOutputsRerankParams) + .AddOptionalParameter("endpoints.outputs.decisions.passthrough_parameters", endpointsOutputsDecisionsPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.type", endpointsOutputsDecisionsPricingType) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.completion.unit", endpointsOutputsDecisionsPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.completion.cost_usd", endpointsOutputsDecisionsPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.completion.overrides.cost_usd", endpointsOutputsDecisionsPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.completion.utc_start", endpointsOutputsDecisionsPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.completion.utc_end", endpointsOutputsDecisionsPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.completion.utc_days", endpointsOutputsDecisionsPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.internal_reasoning.unit", endpointsOutputsDecisionsPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd", endpointsOutputsDecisionsPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.internal_reasoning.utc_start", endpointsOutputsDecisionsPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.internal_reasoning.utc_end", endpointsOutputsDecisionsPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.decisions.pricing.internal_reasoning.utc_days", endpointsOutputsDecisionsPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.type", endpointsOutputsDecisionsCapacityType) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.completion.unit", endpointsOutputsDecisionsCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.completion.per", endpointsOutputsDecisionsCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.completion.value", endpointsOutputsDecisionsCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.internal_reasoning.unit", endpointsOutputsDecisionsCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.internal_reasoning.per", endpointsOutputsDecisionsCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.internal_reasoning.value", endpointsOutputsDecisionsCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.concurrency.unit", endpointsOutputsDecisionsCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.decisions.capacity.concurrency.value", endpointsOutputsDecisionsCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.decisions.params", endpointsOutputsDecisionsParams) + .AddOptionalParameter("endpoints.outputs.audio.passthrough_parameters", endpointsOutputsAudioPassthroughParameters) + .AddOptionalParameter("endpoints.outputs.audio.pricing.type", endpointsOutputsAudioPricingType) + .AddOptionalParameter("endpoints.outputs.audio.pricing.completion.unit", endpointsOutputsAudioPricingCompletionUnit) + .AddOptionalParameter("endpoints.outputs.audio.pricing.completion.cost_usd", endpointsOutputsAudioPricingCompletionCostUsd) + .AddOptionalParameter("endpoints.outputs.audio.pricing.completion.overrides.cost_usd", endpointsOutputsAudioPricingCompletionOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.audio.pricing.completion.utc_start", endpointsOutputsAudioPricingCompletionUtcStart) + .AddOptionalParameter("endpoints.outputs.audio.pricing.completion.utc_end", endpointsOutputsAudioPricingCompletionUtcEnd) + .AddOptionalParameter("endpoints.outputs.audio.pricing.completion.utc_days", endpointsOutputsAudioPricingCompletionUtcDays) + .AddOptionalParameter("endpoints.outputs.audio.pricing.internal_reasoning.unit", endpointsOutputsAudioPricingInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.audio.pricing.internal_reasoning.cost_usd", endpointsOutputsAudioPricingInternalReasoningCostUsd) + .AddOptionalParameter("endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd", endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd) + .AddOptionalParameter("endpoints.outputs.audio.pricing.internal_reasoning.utc_start", endpointsOutputsAudioPricingInternalReasoningUtcStart) + .AddOptionalParameter("endpoints.outputs.audio.pricing.internal_reasoning.utc_end", endpointsOutputsAudioPricingInternalReasoningUtcEnd) + .AddOptionalParameter("endpoints.outputs.audio.pricing.internal_reasoning.utc_days", endpointsOutputsAudioPricingInternalReasoningUtcDays) + .AddOptionalParameter("endpoints.outputs.audio.capacity.type", endpointsOutputsAudioCapacityType) + .AddOptionalParameter("endpoints.outputs.audio.capacity.completion.unit", endpointsOutputsAudioCapacityCompletionUnit) + .AddOptionalParameter("endpoints.outputs.audio.capacity.completion.per", endpointsOutputsAudioCapacityCompletionPer) + .AddOptionalParameter("endpoints.outputs.audio.capacity.completion.value", endpointsOutputsAudioCapacityCompletionValue) + .AddOptionalParameter("endpoints.outputs.audio.capacity.internal_reasoning.unit", endpointsOutputsAudioCapacityInternalReasoningUnit) + .AddOptionalParameter("endpoints.outputs.audio.capacity.internal_reasoning.per", endpointsOutputsAudioCapacityInternalReasoningPer) + .AddOptionalParameter("endpoints.outputs.audio.capacity.internal_reasoning.value", endpointsOutputsAudioCapacityInternalReasoningValue) + .AddOptionalParameter("endpoints.outputs.audio.capacity.concurrency.unit", endpointsOutputsAudioCapacityConcurrencyUnit) + .AddOptionalParameter("endpoints.outputs.audio.capacity.concurrency.value", endpointsOutputsAudioCapacityConcurrencyValue) + .AddOptionalParameter("endpoints.outputs.audio.streaming", endpointsOutputsAudioStreaming) + .AddOptionalParameter("endpoints.outputs.audio.params", endpointsOutputsAudioParams) + .AddOptionalParameter("endpoints.provider.slug", endpointsProviderSlug) + .AddOptionalParameter("endpoints.provider.tag", endpointsProviderTag) + .AddOptionalParameter("endpoints.provider.name", endpointsProviderName) + .AddOptionalParameter("endpoints.data_policy.training", endpointsDataPolicyTraining) + .AddOptionalParameter("endpoints.data_policy.retains_prompts", endpointsDataPolicyRetainsPrompts) + .AddOptionalParameter("endpoints.data_policy.retention_days", endpointsDataPolicyRetentionDays) + ; + var __path = __pathBuilder.ToString(); + __path = global::OpenRouter.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::OpenRouter.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareListV2Request( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + offset: offset, + limit: limit, + cursor: cursor, + region: region, + sort: sort, + id: id, + canonicalSlug: canonicalSlug, + author: author, + name: name, + variant: variant, + kind: kind, + aliasTargetSlug: aliasTargetSlug, + aliasTargetName: aliasTargetName, + created: created, + description: description, + contextLength: contextLength, + huggingFaceId: huggingFaceId, + inputs: inputs, + outputs: outputs, + endpointsSchemaVersion: endpointsSchemaVersion, + endpointsId: endpointsId, + endpointsHuggingFaceId: endpointsHuggingFaceId, + endpointsName: endpointsName, + endpointsCreated: endpointsCreated, + endpointsQuantization: endpointsQuantization, + endpointsTokenizer: endpointsTokenizer, + endpointsDescription: endpointsDescription, + endpointsPricingType: endpointsPricingType, + endpointsPricingRequestUnit: endpointsPricingRequestUnit, + endpointsPricingRequestCostUsd: endpointsPricingRequestCostUsd, + endpointsPricingRequestOverridesCostUsd: endpointsPricingRequestOverridesCostUsd, + endpointsPricingWebSearchUnit: endpointsPricingWebSearchUnit, + endpointsPricingWebSearchCostUsd: endpointsPricingWebSearchCostUsd, + endpointsPricingWebSearchOverridesCostUsd: endpointsPricingWebSearchOverridesCostUsd, + endpointsCapacityType: endpointsCapacityType, + endpointsCapacityRequestUnit: endpointsCapacityRequestUnit, + endpointsCapacityRequestPer: endpointsCapacityRequestPer, + endpointsCapacityRequestValue: endpointsCapacityRequestValue, + endpointsCapacityWebSearchUnit: endpointsCapacityWebSearchUnit, + endpointsCapacityWebSearchPer: endpointsCapacityWebSearchPer, + endpointsCapacityWebSearchValue: endpointsCapacityWebSearchValue, + endpointsCapacityConcurrencyUnit: endpointsCapacityConcurrencyUnit, + endpointsCapacityConcurrencyValue: endpointsCapacityConcurrencyValue, + endpointsPassthroughParameters: endpointsPassthroughParameters, + endpointsDeprecationDate: endpointsDeprecationDate, + endpointsIsReady: endpointsIsReady, + endpointsIsFree: endpointsIsFree, + endpointsServiceTier: endpointsServiceTier, + endpointsDiscountToUser: endpointsDiscountToUser, + endpointsOpenrouterSlug: endpointsOpenrouterSlug, + endpointsDatacentersCountryCode: endpointsDatacentersCountryCode, + endpointsDatacentersRegion: endpointsDatacentersRegion, + endpointsDeploymentRegion: endpointsDeploymentRegion, + endpointsInputsType: endpointsInputsType, + endpointsInputsTextPricingType: endpointsInputsTextPricingType, + endpointsInputsTextPricingPromptUnit: endpointsInputsTextPricingPromptUnit, + endpointsInputsTextPricingPromptCostUsd: endpointsInputsTextPricingPromptCostUsd, + endpointsInputsTextPricingPromptOverridesCostUsd: endpointsInputsTextPricingPromptOverridesCostUsd, + endpointsInputsTextPricingPromptUtcStart: endpointsInputsTextPricingPromptUtcStart, + endpointsInputsTextPricingPromptUtcEnd: endpointsInputsTextPricingPromptUtcEnd, + endpointsInputsTextPricingPromptUtcDays: endpointsInputsTextPricingPromptUtcDays, + endpointsInputsTextPricingCachedPromptUnit: endpointsInputsTextPricingCachedPromptUnit, + endpointsInputsTextPricingCachedPromptCostUsd: endpointsInputsTextPricingCachedPromptCostUsd, + endpointsInputsTextPricingCachedPromptOverridesCostUsd: endpointsInputsTextPricingCachedPromptOverridesCostUsd, + endpointsInputsTextPricingCachedPromptTtlSeconds: endpointsInputsTextPricingCachedPromptTtlSeconds, + endpointsInputsTextPricingCachedPromptImplicit: endpointsInputsTextPricingCachedPromptImplicit, + endpointsInputsTextPricingCachedPromptUtcStart: endpointsInputsTextPricingCachedPromptUtcStart, + endpointsInputsTextPricingCachedPromptUtcEnd: endpointsInputsTextPricingCachedPromptUtcEnd, + endpointsInputsTextPricingCachedPromptUtcDays: endpointsInputsTextPricingCachedPromptUtcDays, + endpointsInputsTextPricingCacheWriteUnit: endpointsInputsTextPricingCacheWriteUnit, + endpointsInputsTextPricingCacheWriteCostUsd: endpointsInputsTextPricingCacheWriteCostUsd, + endpointsInputsTextPricingCacheWriteOverridesCostUsd: endpointsInputsTextPricingCacheWriteOverridesCostUsd, + endpointsInputsTextPricingCacheWriteTtlSeconds: endpointsInputsTextPricingCacheWriteTtlSeconds, + endpointsInputsTextPricingCacheWriteImplicit: endpointsInputsTextPricingCacheWriteImplicit, + endpointsInputsTextPricingCacheWriteUtcStart: endpointsInputsTextPricingCacheWriteUtcStart, + endpointsInputsTextPricingCacheWriteUtcEnd: endpointsInputsTextPricingCacheWriteUtcEnd, + endpointsInputsTextPricingCacheWriteUtcDays: endpointsInputsTextPricingCacheWriteUtcDays, + endpointsInputsTextCapacityType: endpointsInputsTextCapacityType, + endpointsInputsTextCapacityPromptUnit: endpointsInputsTextCapacityPromptUnit, + endpointsInputsTextCapacityPromptPer: endpointsInputsTextCapacityPromptPer, + endpointsInputsTextCapacityPromptValue: endpointsInputsTextCapacityPromptValue, + endpointsInputsTextCapacityCachedPromptUnit: endpointsInputsTextCapacityCachedPromptUnit, + endpointsInputsTextCapacityCachedPromptPer: endpointsInputsTextCapacityCachedPromptPer, + endpointsInputsTextCapacityCachedPromptValue: endpointsInputsTextCapacityCachedPromptValue, + endpointsInputsTextCapacityCacheWriteUnit: endpointsInputsTextCapacityCacheWriteUnit, + endpointsInputsTextCapacityCacheWritePer: endpointsInputsTextCapacityCacheWritePer, + endpointsInputsTextCapacityCacheWriteValue: endpointsInputsTextCapacityCacheWriteValue, + endpointsInputsTextPassthroughParameters: endpointsInputsTextPassthroughParameters, + endpointsInputsTextParamsMaxPromptLengthValue: endpointsInputsTextParamsMaxPromptLengthValue, + endpointsInputsTextParamsMaxPromptLengthUnit: endpointsInputsTextParamsMaxPromptLengthUnit, + endpointsInputsTextParamsMaxLengthValue: endpointsInputsTextParamsMaxLengthValue, + endpointsInputsTextParamsMaxLengthUnit: endpointsInputsTextParamsMaxLengthUnit, + endpointsInputsImagePricingType: endpointsInputsImagePricingType, + endpointsInputsImagePricingPromptUnit: endpointsInputsImagePricingPromptUnit, + endpointsInputsImagePricingPromptCostUsd: endpointsInputsImagePricingPromptCostUsd, + endpointsInputsImagePricingPromptOverridesCostUsd: endpointsInputsImagePricingPromptOverridesCostUsd, + endpointsInputsImagePricingPromptUtcStart: endpointsInputsImagePricingPromptUtcStart, + endpointsInputsImagePricingPromptUtcEnd: endpointsInputsImagePricingPromptUtcEnd, + endpointsInputsImagePricingPromptUtcDays: endpointsInputsImagePricingPromptUtcDays, + endpointsInputsImagePricingCachedPromptUnit: endpointsInputsImagePricingCachedPromptUnit, + endpointsInputsImagePricingCachedPromptCostUsd: endpointsInputsImagePricingCachedPromptCostUsd, + endpointsInputsImagePricingCachedPromptOverridesCostUsd: endpointsInputsImagePricingCachedPromptOverridesCostUsd, + endpointsInputsImagePricingCachedPromptTtlSeconds: endpointsInputsImagePricingCachedPromptTtlSeconds, + endpointsInputsImagePricingCachedPromptImplicit: endpointsInputsImagePricingCachedPromptImplicit, + endpointsInputsImagePricingCachedPromptUtcStart: endpointsInputsImagePricingCachedPromptUtcStart, + endpointsInputsImagePricingCachedPromptUtcEnd: endpointsInputsImagePricingCachedPromptUtcEnd, + endpointsInputsImagePricingCachedPromptUtcDays: endpointsInputsImagePricingCachedPromptUtcDays, + endpointsInputsImagePricingCacheWriteUnit: endpointsInputsImagePricingCacheWriteUnit, + endpointsInputsImagePricingCacheWriteCostUsd: endpointsInputsImagePricingCacheWriteCostUsd, + endpointsInputsImagePricingCacheWriteOverridesCostUsd: endpointsInputsImagePricingCacheWriteOverridesCostUsd, + endpointsInputsImagePricingCacheWriteTtlSeconds: endpointsInputsImagePricingCacheWriteTtlSeconds, + endpointsInputsImagePricingCacheWriteImplicit: endpointsInputsImagePricingCacheWriteImplicit, + endpointsInputsImagePricingCacheWriteUtcStart: endpointsInputsImagePricingCacheWriteUtcStart, + endpointsInputsImagePricingCacheWriteUtcEnd: endpointsInputsImagePricingCacheWriteUtcEnd, + endpointsInputsImagePricingCacheWriteUtcDays: endpointsInputsImagePricingCacheWriteUtcDays, + endpointsInputsImageCapacityType: endpointsInputsImageCapacityType, + endpointsInputsImageCapacityPromptUnit: endpointsInputsImageCapacityPromptUnit, + endpointsInputsImageCapacityPromptPer: endpointsInputsImageCapacityPromptPer, + endpointsInputsImageCapacityPromptValue: endpointsInputsImageCapacityPromptValue, + endpointsInputsImageCapacityCachedPromptUnit: endpointsInputsImageCapacityCachedPromptUnit, + endpointsInputsImageCapacityCachedPromptPer: endpointsInputsImageCapacityCachedPromptPer, + endpointsInputsImageCapacityCachedPromptValue: endpointsInputsImageCapacityCachedPromptValue, + endpointsInputsImageCapacityCacheWriteUnit: endpointsInputsImageCapacityCacheWriteUnit, + endpointsInputsImageCapacityCacheWritePer: endpointsInputsImageCapacityCacheWritePer, + endpointsInputsImageCapacityCacheWriteValue: endpointsInputsImageCapacityCacheWriteValue, + endpointsInputsImagePassthroughParameters: endpointsInputsImagePassthroughParameters, + endpointsInputsImageParamsSourcesType: endpointsInputsImageParamsSourcesType, + endpointsInputsImageParamsSourcesValues: endpointsInputsImageParamsSourcesValues, + endpointsInputsImageParamsFormatsType: endpointsInputsImageParamsFormatsType, + endpointsInputsImageParamsFormatsValues: endpointsInputsImageParamsFormatsValues, + endpointsInputsImageParamsDetailLevelsType: endpointsInputsImageParamsDetailLevelsType, + endpointsInputsImageParamsDetailLevelsValues: endpointsInputsImageParamsDetailLevelsValues, + endpointsInputsImageParamsReferencesType: endpointsInputsImageParamsReferencesType, + endpointsInputsImageParamsReferencesMin: endpointsInputsImageParamsReferencesMin, + endpointsInputsImageParamsReferencesMax: endpointsInputsImageParamsReferencesMax, + endpointsInputsImageParamsReferencesUnit: endpointsInputsImageParamsReferencesUnit, + endpointsInputsImageParamsRoleType: endpointsInputsImageParamsRoleType, + endpointsInputsImageParamsRoleValues: endpointsInputsImageParamsRoleValues, + endpointsInputsImageParamsMaxContentSizeBytesValue: endpointsInputsImageParamsMaxContentSizeBytesValue, + endpointsInputsImageParamsMaxContentSizeBytesUnit: endpointsInputsImageParamsMaxContentSizeBytesUnit, + endpointsInputsVideoPricingType: endpointsInputsVideoPricingType, + endpointsInputsVideoPricingPromptUnit: endpointsInputsVideoPricingPromptUnit, + endpointsInputsVideoPricingPromptCostUsd: endpointsInputsVideoPricingPromptCostUsd, + endpointsInputsVideoPricingPromptOverridesCostUsd: endpointsInputsVideoPricingPromptOverridesCostUsd, + endpointsInputsVideoPricingPromptUtcStart: endpointsInputsVideoPricingPromptUtcStart, + endpointsInputsVideoPricingPromptUtcEnd: endpointsInputsVideoPricingPromptUtcEnd, + endpointsInputsVideoPricingPromptUtcDays: endpointsInputsVideoPricingPromptUtcDays, + endpointsInputsVideoPricingCachedPromptUnit: endpointsInputsVideoPricingCachedPromptUnit, + endpointsInputsVideoPricingCachedPromptCostUsd: endpointsInputsVideoPricingCachedPromptCostUsd, + endpointsInputsVideoPricingCachedPromptOverridesCostUsd: endpointsInputsVideoPricingCachedPromptOverridesCostUsd, + endpointsInputsVideoPricingCachedPromptTtlSeconds: endpointsInputsVideoPricingCachedPromptTtlSeconds, + endpointsInputsVideoPricingCachedPromptImplicit: endpointsInputsVideoPricingCachedPromptImplicit, + endpointsInputsVideoPricingCachedPromptUtcStart: endpointsInputsVideoPricingCachedPromptUtcStart, + endpointsInputsVideoPricingCachedPromptUtcEnd: endpointsInputsVideoPricingCachedPromptUtcEnd, + endpointsInputsVideoPricingCachedPromptUtcDays: endpointsInputsVideoPricingCachedPromptUtcDays, + endpointsInputsVideoPricingCacheWriteUnit: endpointsInputsVideoPricingCacheWriteUnit, + endpointsInputsVideoPricingCacheWriteCostUsd: endpointsInputsVideoPricingCacheWriteCostUsd, + endpointsInputsVideoPricingCacheWriteOverridesCostUsd: endpointsInputsVideoPricingCacheWriteOverridesCostUsd, + endpointsInputsVideoPricingCacheWriteTtlSeconds: endpointsInputsVideoPricingCacheWriteTtlSeconds, + endpointsInputsVideoPricingCacheWriteImplicit: endpointsInputsVideoPricingCacheWriteImplicit, + endpointsInputsVideoPricingCacheWriteUtcStart: endpointsInputsVideoPricingCacheWriteUtcStart, + endpointsInputsVideoPricingCacheWriteUtcEnd: endpointsInputsVideoPricingCacheWriteUtcEnd, + endpointsInputsVideoPricingCacheWriteUtcDays: endpointsInputsVideoPricingCacheWriteUtcDays, + endpointsInputsVideoCapacityType: endpointsInputsVideoCapacityType, + endpointsInputsVideoCapacityPromptUnit: endpointsInputsVideoCapacityPromptUnit, + endpointsInputsVideoCapacityPromptPer: endpointsInputsVideoCapacityPromptPer, + endpointsInputsVideoCapacityPromptValue: endpointsInputsVideoCapacityPromptValue, + endpointsInputsVideoCapacityCachedPromptUnit: endpointsInputsVideoCapacityCachedPromptUnit, + endpointsInputsVideoCapacityCachedPromptPer: endpointsInputsVideoCapacityCachedPromptPer, + endpointsInputsVideoCapacityCachedPromptValue: endpointsInputsVideoCapacityCachedPromptValue, + endpointsInputsVideoCapacityCacheWriteUnit: endpointsInputsVideoCapacityCacheWriteUnit, + endpointsInputsVideoCapacityCacheWritePer: endpointsInputsVideoCapacityCacheWritePer, + endpointsInputsVideoCapacityCacheWriteValue: endpointsInputsVideoCapacityCacheWriteValue, + endpointsInputsVideoPassthroughParameters: endpointsInputsVideoPassthroughParameters, + endpointsInputsVideoParamsSourcesType: endpointsInputsVideoParamsSourcesType, + endpointsInputsVideoParamsSourcesValues: endpointsInputsVideoParamsSourcesValues, + endpointsInputsVideoParamsFormatsType: endpointsInputsVideoParamsFormatsType, + endpointsInputsVideoParamsFormatsValues: endpointsInputsVideoParamsFormatsValues, + endpointsInputsVideoParamsMaxDurationSecondsValue: endpointsInputsVideoParamsMaxDurationSecondsValue, + endpointsInputsVideoParamsMaxDurationSecondsUnit: endpointsInputsVideoParamsMaxDurationSecondsUnit, + endpointsInputsVideoParamsMaxContentSizeBytesValue: endpointsInputsVideoParamsMaxContentSizeBytesValue, + endpointsInputsVideoParamsMaxContentSizeBytesUnit: endpointsInputsVideoParamsMaxContentSizeBytesUnit, + endpointsInputsAudioPricingType: endpointsInputsAudioPricingType, + endpointsInputsAudioPricingPromptUnit: endpointsInputsAudioPricingPromptUnit, + endpointsInputsAudioPricingPromptCostUsd: endpointsInputsAudioPricingPromptCostUsd, + endpointsInputsAudioPricingPromptOverridesCostUsd: endpointsInputsAudioPricingPromptOverridesCostUsd, + endpointsInputsAudioPricingPromptUtcStart: endpointsInputsAudioPricingPromptUtcStart, + endpointsInputsAudioPricingPromptUtcEnd: endpointsInputsAudioPricingPromptUtcEnd, + endpointsInputsAudioPricingPromptUtcDays: endpointsInputsAudioPricingPromptUtcDays, + endpointsInputsAudioPricingCachedPromptUnit: endpointsInputsAudioPricingCachedPromptUnit, + endpointsInputsAudioPricingCachedPromptCostUsd: endpointsInputsAudioPricingCachedPromptCostUsd, + endpointsInputsAudioPricingCachedPromptOverridesCostUsd: endpointsInputsAudioPricingCachedPromptOverridesCostUsd, + endpointsInputsAudioPricingCachedPromptTtlSeconds: endpointsInputsAudioPricingCachedPromptTtlSeconds, + endpointsInputsAudioPricingCachedPromptImplicit: endpointsInputsAudioPricingCachedPromptImplicit, + endpointsInputsAudioPricingCachedPromptUtcStart: endpointsInputsAudioPricingCachedPromptUtcStart, + endpointsInputsAudioPricingCachedPromptUtcEnd: endpointsInputsAudioPricingCachedPromptUtcEnd, + endpointsInputsAudioPricingCachedPromptUtcDays: endpointsInputsAudioPricingCachedPromptUtcDays, + endpointsInputsAudioPricingCacheWriteUnit: endpointsInputsAudioPricingCacheWriteUnit, + endpointsInputsAudioPricingCacheWriteCostUsd: endpointsInputsAudioPricingCacheWriteCostUsd, + endpointsInputsAudioPricingCacheWriteOverridesCostUsd: endpointsInputsAudioPricingCacheWriteOverridesCostUsd, + endpointsInputsAudioPricingCacheWriteTtlSeconds: endpointsInputsAudioPricingCacheWriteTtlSeconds, + endpointsInputsAudioPricingCacheWriteImplicit: endpointsInputsAudioPricingCacheWriteImplicit, + endpointsInputsAudioPricingCacheWriteUtcStart: endpointsInputsAudioPricingCacheWriteUtcStart, + endpointsInputsAudioPricingCacheWriteUtcEnd: endpointsInputsAudioPricingCacheWriteUtcEnd, + endpointsInputsAudioPricingCacheWriteUtcDays: endpointsInputsAudioPricingCacheWriteUtcDays, + endpointsInputsAudioCapacityType: endpointsInputsAudioCapacityType, + endpointsInputsAudioCapacityPromptUnit: endpointsInputsAudioCapacityPromptUnit, + endpointsInputsAudioCapacityPromptPer: endpointsInputsAudioCapacityPromptPer, + endpointsInputsAudioCapacityPromptValue: endpointsInputsAudioCapacityPromptValue, + endpointsInputsAudioCapacityCachedPromptUnit: endpointsInputsAudioCapacityCachedPromptUnit, + endpointsInputsAudioCapacityCachedPromptPer: endpointsInputsAudioCapacityCachedPromptPer, + endpointsInputsAudioCapacityCachedPromptValue: endpointsInputsAudioCapacityCachedPromptValue, + endpointsInputsAudioCapacityCacheWriteUnit: endpointsInputsAudioCapacityCacheWriteUnit, + endpointsInputsAudioCapacityCacheWritePer: endpointsInputsAudioCapacityCacheWritePer, + endpointsInputsAudioCapacityCacheWriteValue: endpointsInputsAudioCapacityCacheWriteValue, + endpointsInputsAudioPassthroughParameters: endpointsInputsAudioPassthroughParameters, + endpointsInputsAudioParamsSourcesType: endpointsInputsAudioParamsSourcesType, + endpointsInputsAudioParamsSourcesValues: endpointsInputsAudioParamsSourcesValues, + endpointsInputsAudioParamsFormatsType: endpointsInputsAudioParamsFormatsType, + endpointsInputsAudioParamsFormatsValues: endpointsInputsAudioParamsFormatsValues, + endpointsInputsAudioParamsMaxDurationSecondsValue: endpointsInputsAudioParamsMaxDurationSecondsValue, + endpointsInputsAudioParamsMaxDurationSecondsUnit: endpointsInputsAudioParamsMaxDurationSecondsUnit, + endpointsInputsAudioParamsMaxContentSizeBytesValue: endpointsInputsAudioParamsMaxContentSizeBytesValue, + endpointsInputsAudioParamsMaxContentSizeBytesUnit: endpointsInputsAudioParamsMaxContentSizeBytesUnit, + endpointsInputsFilePricingType: endpointsInputsFilePricingType, + endpointsInputsFilePricingPromptUnit: endpointsInputsFilePricingPromptUnit, + endpointsInputsFilePricingPromptCostUsd: endpointsInputsFilePricingPromptCostUsd, + endpointsInputsFilePricingPromptOverridesCostUsd: endpointsInputsFilePricingPromptOverridesCostUsd, + endpointsInputsFilePricingPromptUtcStart: endpointsInputsFilePricingPromptUtcStart, + endpointsInputsFilePricingPromptUtcEnd: endpointsInputsFilePricingPromptUtcEnd, + endpointsInputsFilePricingPromptUtcDays: endpointsInputsFilePricingPromptUtcDays, + endpointsInputsFilePricingCachedPromptUnit: endpointsInputsFilePricingCachedPromptUnit, + endpointsInputsFilePricingCachedPromptCostUsd: endpointsInputsFilePricingCachedPromptCostUsd, + endpointsInputsFilePricingCachedPromptOverridesCostUsd: endpointsInputsFilePricingCachedPromptOverridesCostUsd, + endpointsInputsFilePricingCachedPromptTtlSeconds: endpointsInputsFilePricingCachedPromptTtlSeconds, + endpointsInputsFilePricingCachedPromptImplicit: endpointsInputsFilePricingCachedPromptImplicit, + endpointsInputsFilePricingCachedPromptUtcStart: endpointsInputsFilePricingCachedPromptUtcStart, + endpointsInputsFilePricingCachedPromptUtcEnd: endpointsInputsFilePricingCachedPromptUtcEnd, + endpointsInputsFilePricingCachedPromptUtcDays: endpointsInputsFilePricingCachedPromptUtcDays, + endpointsInputsFilePricingCacheWriteUnit: endpointsInputsFilePricingCacheWriteUnit, + endpointsInputsFilePricingCacheWriteCostUsd: endpointsInputsFilePricingCacheWriteCostUsd, + endpointsInputsFilePricingCacheWriteOverridesCostUsd: endpointsInputsFilePricingCacheWriteOverridesCostUsd, + endpointsInputsFilePricingCacheWriteTtlSeconds: endpointsInputsFilePricingCacheWriteTtlSeconds, + endpointsInputsFilePricingCacheWriteImplicit: endpointsInputsFilePricingCacheWriteImplicit, + endpointsInputsFilePricingCacheWriteUtcStart: endpointsInputsFilePricingCacheWriteUtcStart, + endpointsInputsFilePricingCacheWriteUtcEnd: endpointsInputsFilePricingCacheWriteUtcEnd, + endpointsInputsFilePricingCacheWriteUtcDays: endpointsInputsFilePricingCacheWriteUtcDays, + endpointsInputsFileCapacityType: endpointsInputsFileCapacityType, + endpointsInputsFileCapacityPromptUnit: endpointsInputsFileCapacityPromptUnit, + endpointsInputsFileCapacityPromptPer: endpointsInputsFileCapacityPromptPer, + endpointsInputsFileCapacityPromptValue: endpointsInputsFileCapacityPromptValue, + endpointsInputsFileCapacityCachedPromptUnit: endpointsInputsFileCapacityCachedPromptUnit, + endpointsInputsFileCapacityCachedPromptPer: endpointsInputsFileCapacityCachedPromptPer, + endpointsInputsFileCapacityCachedPromptValue: endpointsInputsFileCapacityCachedPromptValue, + endpointsInputsFileCapacityCacheWriteUnit: endpointsInputsFileCapacityCacheWriteUnit, + endpointsInputsFileCapacityCacheWritePer: endpointsInputsFileCapacityCacheWritePer, + endpointsInputsFileCapacityCacheWriteValue: endpointsInputsFileCapacityCacheWriteValue, + endpointsInputsFilePassthroughParameters: endpointsInputsFilePassthroughParameters, + endpointsInputsFileParamsSourcesType: endpointsInputsFileParamsSourcesType, + endpointsInputsFileParamsSourcesValues: endpointsInputsFileParamsSourcesValues, + endpointsInputsFileParamsFormatsType: endpointsInputsFileParamsFormatsType, + endpointsInputsFileParamsFormatsValues: endpointsInputsFileParamsFormatsValues, + endpointsInputsFileParamsReferencesType: endpointsInputsFileParamsReferencesType, + endpointsInputsFileParamsReferencesMin: endpointsInputsFileParamsReferencesMin, + endpointsInputsFileParamsReferencesMax: endpointsInputsFileParamsReferencesMax, + endpointsInputsFileParamsReferencesUnit: endpointsInputsFileParamsReferencesUnit, + endpointsInputsFileParamsMaxContentSizeBytesValue: endpointsInputsFileParamsMaxContentSizeBytesValue, + endpointsInputsFileParamsMaxContentSizeBytesUnit: endpointsInputsFileParamsMaxContentSizeBytesUnit, + endpointsOutputsType: endpointsOutputsType, + endpointsOutputsTextMaxLengthValue: endpointsOutputsTextMaxLengthValue, + endpointsOutputsTextMaxLengthUnit: endpointsOutputsTextMaxLengthUnit, + endpointsOutputsTextPassthroughParameters: endpointsOutputsTextPassthroughParameters, + endpointsOutputsTextPricingType: endpointsOutputsTextPricingType, + endpointsOutputsTextPricingCompletionUnit: endpointsOutputsTextPricingCompletionUnit, + endpointsOutputsTextPricingCompletionCostUsd: endpointsOutputsTextPricingCompletionCostUsd, + endpointsOutputsTextPricingCompletionOverridesCostUsd: endpointsOutputsTextPricingCompletionOverridesCostUsd, + endpointsOutputsTextPricingCompletionUtcStart: endpointsOutputsTextPricingCompletionUtcStart, + endpointsOutputsTextPricingCompletionUtcEnd: endpointsOutputsTextPricingCompletionUtcEnd, + endpointsOutputsTextPricingCompletionUtcDays: endpointsOutputsTextPricingCompletionUtcDays, + endpointsOutputsTextPricingInternalReasoningUnit: endpointsOutputsTextPricingInternalReasoningUnit, + endpointsOutputsTextPricingInternalReasoningCostUsd: endpointsOutputsTextPricingInternalReasoningCostUsd, + endpointsOutputsTextPricingInternalReasoningOverridesCostUsd: endpointsOutputsTextPricingInternalReasoningOverridesCostUsd, + endpointsOutputsTextPricingInternalReasoningUtcStart: endpointsOutputsTextPricingInternalReasoningUtcStart, + endpointsOutputsTextPricingInternalReasoningUtcEnd: endpointsOutputsTextPricingInternalReasoningUtcEnd, + endpointsOutputsTextPricingInternalReasoningUtcDays: endpointsOutputsTextPricingInternalReasoningUtcDays, + endpointsOutputsTextCapacityType: endpointsOutputsTextCapacityType, + endpointsOutputsTextCapacityCompletionUnit: endpointsOutputsTextCapacityCompletionUnit, + endpointsOutputsTextCapacityCompletionPer: endpointsOutputsTextCapacityCompletionPer, + endpointsOutputsTextCapacityCompletionValue: endpointsOutputsTextCapacityCompletionValue, + endpointsOutputsTextCapacityInternalReasoningUnit: endpointsOutputsTextCapacityInternalReasoningUnit, + endpointsOutputsTextCapacityInternalReasoningPer: endpointsOutputsTextCapacityInternalReasoningPer, + endpointsOutputsTextCapacityInternalReasoningValue: endpointsOutputsTextCapacityInternalReasoningValue, + endpointsOutputsTextCapacityConcurrencyUnit: endpointsOutputsTextCapacityConcurrencyUnit, + endpointsOutputsTextCapacityConcurrencyValue: endpointsOutputsTextCapacityConcurrencyValue, + endpointsOutputsTextStreaming: endpointsOutputsTextStreaming, + endpointsOutputsTextParams: endpointsOutputsTextParams, + endpointsOutputsImagePassthroughParameters: endpointsOutputsImagePassthroughParameters, + endpointsOutputsImagePricingType: endpointsOutputsImagePricingType, + endpointsOutputsImagePricingCompletionUnit: endpointsOutputsImagePricingCompletionUnit, + endpointsOutputsImagePricingCompletionCostUsd: endpointsOutputsImagePricingCompletionCostUsd, + endpointsOutputsImagePricingCompletionOverridesCostUsd: endpointsOutputsImagePricingCompletionOverridesCostUsd, + endpointsOutputsImagePricingCompletionUtcStart: endpointsOutputsImagePricingCompletionUtcStart, + endpointsOutputsImagePricingCompletionUtcEnd: endpointsOutputsImagePricingCompletionUtcEnd, + endpointsOutputsImagePricingCompletionUtcDays: endpointsOutputsImagePricingCompletionUtcDays, + endpointsOutputsImagePricingInternalReasoningUnit: endpointsOutputsImagePricingInternalReasoningUnit, + endpointsOutputsImagePricingInternalReasoningCostUsd: endpointsOutputsImagePricingInternalReasoningCostUsd, + endpointsOutputsImagePricingInternalReasoningOverridesCostUsd: endpointsOutputsImagePricingInternalReasoningOverridesCostUsd, + endpointsOutputsImagePricingInternalReasoningUtcStart: endpointsOutputsImagePricingInternalReasoningUtcStart, + endpointsOutputsImagePricingInternalReasoningUtcEnd: endpointsOutputsImagePricingInternalReasoningUtcEnd, + endpointsOutputsImagePricingInternalReasoningUtcDays: endpointsOutputsImagePricingInternalReasoningUtcDays, + endpointsOutputsImageCapacityType: endpointsOutputsImageCapacityType, + endpointsOutputsImageCapacityCompletionUnit: endpointsOutputsImageCapacityCompletionUnit, + endpointsOutputsImageCapacityCompletionPer: endpointsOutputsImageCapacityCompletionPer, + endpointsOutputsImageCapacityCompletionValue: endpointsOutputsImageCapacityCompletionValue, + endpointsOutputsImageCapacityInternalReasoningUnit: endpointsOutputsImageCapacityInternalReasoningUnit, + endpointsOutputsImageCapacityInternalReasoningPer: endpointsOutputsImageCapacityInternalReasoningPer, + endpointsOutputsImageCapacityInternalReasoningValue: endpointsOutputsImageCapacityInternalReasoningValue, + endpointsOutputsImageCapacityConcurrencyUnit: endpointsOutputsImageCapacityConcurrencyUnit, + endpointsOutputsImageCapacityConcurrencyValue: endpointsOutputsImageCapacityConcurrencyValue, + endpointsOutputsImageStreaming: endpointsOutputsImageStreaming, + endpointsOutputsImageParams: endpointsOutputsImageParams, + endpointsOutputsVideoPassthroughParameters: endpointsOutputsVideoPassthroughParameters, + endpointsOutputsVideoPricingType: endpointsOutputsVideoPricingType, + endpointsOutputsVideoPricingCompletionUnit: endpointsOutputsVideoPricingCompletionUnit, + endpointsOutputsVideoPricingCompletionCostUsd: endpointsOutputsVideoPricingCompletionCostUsd, + endpointsOutputsVideoPricingCompletionOverridesCostUsd: endpointsOutputsVideoPricingCompletionOverridesCostUsd, + endpointsOutputsVideoPricingCompletionUtcStart: endpointsOutputsVideoPricingCompletionUtcStart, + endpointsOutputsVideoPricingCompletionUtcEnd: endpointsOutputsVideoPricingCompletionUtcEnd, + endpointsOutputsVideoPricingCompletionUtcDays: endpointsOutputsVideoPricingCompletionUtcDays, + endpointsOutputsVideoPricingInternalReasoningUnit: endpointsOutputsVideoPricingInternalReasoningUnit, + endpointsOutputsVideoPricingInternalReasoningCostUsd: endpointsOutputsVideoPricingInternalReasoningCostUsd, + endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd: endpointsOutputsVideoPricingInternalReasoningOverridesCostUsd, + endpointsOutputsVideoPricingInternalReasoningUtcStart: endpointsOutputsVideoPricingInternalReasoningUtcStart, + endpointsOutputsVideoPricingInternalReasoningUtcEnd: endpointsOutputsVideoPricingInternalReasoningUtcEnd, + endpointsOutputsVideoPricingInternalReasoningUtcDays: endpointsOutputsVideoPricingInternalReasoningUtcDays, + endpointsOutputsVideoCapacityType: endpointsOutputsVideoCapacityType, + endpointsOutputsVideoCapacityCompletionUnit: endpointsOutputsVideoCapacityCompletionUnit, + endpointsOutputsVideoCapacityCompletionPer: endpointsOutputsVideoCapacityCompletionPer, + endpointsOutputsVideoCapacityCompletionValue: endpointsOutputsVideoCapacityCompletionValue, + endpointsOutputsVideoCapacityInternalReasoningUnit: endpointsOutputsVideoCapacityInternalReasoningUnit, + endpointsOutputsVideoCapacityInternalReasoningPer: endpointsOutputsVideoCapacityInternalReasoningPer, + endpointsOutputsVideoCapacityInternalReasoningValue: endpointsOutputsVideoCapacityInternalReasoningValue, + endpointsOutputsVideoCapacityConcurrencyUnit: endpointsOutputsVideoCapacityConcurrencyUnit, + endpointsOutputsVideoCapacityConcurrencyValue: endpointsOutputsVideoCapacityConcurrencyValue, + endpointsOutputsVideoStreaming: endpointsOutputsVideoStreaming, + endpointsOutputsVideoParams: endpointsOutputsVideoParams, + endpointsOutputsSpeechPassthroughParameters: endpointsOutputsSpeechPassthroughParameters, + endpointsOutputsSpeechPricingType: endpointsOutputsSpeechPricingType, + endpointsOutputsSpeechPricingCompletionUnit: endpointsOutputsSpeechPricingCompletionUnit, + endpointsOutputsSpeechPricingCompletionCostUsd: endpointsOutputsSpeechPricingCompletionCostUsd, + endpointsOutputsSpeechPricingCompletionOverridesCostUsd: endpointsOutputsSpeechPricingCompletionOverridesCostUsd, + endpointsOutputsSpeechPricingCompletionUtcStart: endpointsOutputsSpeechPricingCompletionUtcStart, + endpointsOutputsSpeechPricingCompletionUtcEnd: endpointsOutputsSpeechPricingCompletionUtcEnd, + endpointsOutputsSpeechPricingCompletionUtcDays: endpointsOutputsSpeechPricingCompletionUtcDays, + endpointsOutputsSpeechPricingInternalReasoningUnit: endpointsOutputsSpeechPricingInternalReasoningUnit, + endpointsOutputsSpeechPricingInternalReasoningCostUsd: endpointsOutputsSpeechPricingInternalReasoningCostUsd, + endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd: endpointsOutputsSpeechPricingInternalReasoningOverridesCostUsd, + endpointsOutputsSpeechPricingInternalReasoningUtcStart: endpointsOutputsSpeechPricingInternalReasoningUtcStart, + endpointsOutputsSpeechPricingInternalReasoningUtcEnd: endpointsOutputsSpeechPricingInternalReasoningUtcEnd, + endpointsOutputsSpeechPricingInternalReasoningUtcDays: endpointsOutputsSpeechPricingInternalReasoningUtcDays, + endpointsOutputsSpeechCapacityType: endpointsOutputsSpeechCapacityType, + endpointsOutputsSpeechCapacityCompletionUnit: endpointsOutputsSpeechCapacityCompletionUnit, + endpointsOutputsSpeechCapacityCompletionPer: endpointsOutputsSpeechCapacityCompletionPer, + endpointsOutputsSpeechCapacityCompletionValue: endpointsOutputsSpeechCapacityCompletionValue, + endpointsOutputsSpeechCapacityInternalReasoningUnit: endpointsOutputsSpeechCapacityInternalReasoningUnit, + endpointsOutputsSpeechCapacityInternalReasoningPer: endpointsOutputsSpeechCapacityInternalReasoningPer, + endpointsOutputsSpeechCapacityInternalReasoningValue: endpointsOutputsSpeechCapacityInternalReasoningValue, + endpointsOutputsSpeechCapacityConcurrencyUnit: endpointsOutputsSpeechCapacityConcurrencyUnit, + endpointsOutputsSpeechCapacityConcurrencyValue: endpointsOutputsSpeechCapacityConcurrencyValue, + endpointsOutputsSpeechStreaming: endpointsOutputsSpeechStreaming, + endpointsOutputsSpeechParams: endpointsOutputsSpeechParams, + endpointsOutputsTranscriptionPassthroughParameters: endpointsOutputsTranscriptionPassthroughParameters, + endpointsOutputsTranscriptionPricingType: endpointsOutputsTranscriptionPricingType, + endpointsOutputsTranscriptionPricingCompletionUnit: endpointsOutputsTranscriptionPricingCompletionUnit, + endpointsOutputsTranscriptionPricingCompletionCostUsd: endpointsOutputsTranscriptionPricingCompletionCostUsd, + endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd: endpointsOutputsTranscriptionPricingCompletionOverridesCostUsd, + endpointsOutputsTranscriptionPricingCompletionUtcStart: endpointsOutputsTranscriptionPricingCompletionUtcStart, + endpointsOutputsTranscriptionPricingCompletionUtcEnd: endpointsOutputsTranscriptionPricingCompletionUtcEnd, + endpointsOutputsTranscriptionPricingCompletionUtcDays: endpointsOutputsTranscriptionPricingCompletionUtcDays, + endpointsOutputsTranscriptionPricingInternalReasoningUnit: endpointsOutputsTranscriptionPricingInternalReasoningUnit, + endpointsOutputsTranscriptionPricingInternalReasoningCostUsd: endpointsOutputsTranscriptionPricingInternalReasoningCostUsd, + endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd: endpointsOutputsTranscriptionPricingInternalReasoningOverridesCostUsd, + endpointsOutputsTranscriptionPricingInternalReasoningUtcStart: endpointsOutputsTranscriptionPricingInternalReasoningUtcStart, + endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd: endpointsOutputsTranscriptionPricingInternalReasoningUtcEnd, + endpointsOutputsTranscriptionPricingInternalReasoningUtcDays: endpointsOutputsTranscriptionPricingInternalReasoningUtcDays, + endpointsOutputsTranscriptionCapacityType: endpointsOutputsTranscriptionCapacityType, + endpointsOutputsTranscriptionCapacityCompletionUnit: endpointsOutputsTranscriptionCapacityCompletionUnit, + endpointsOutputsTranscriptionCapacityCompletionPer: endpointsOutputsTranscriptionCapacityCompletionPer, + endpointsOutputsTranscriptionCapacityCompletionValue: endpointsOutputsTranscriptionCapacityCompletionValue, + endpointsOutputsTranscriptionCapacityInternalReasoningUnit: endpointsOutputsTranscriptionCapacityInternalReasoningUnit, + endpointsOutputsTranscriptionCapacityInternalReasoningPer: endpointsOutputsTranscriptionCapacityInternalReasoningPer, + endpointsOutputsTranscriptionCapacityInternalReasoningValue: endpointsOutputsTranscriptionCapacityInternalReasoningValue, + endpointsOutputsTranscriptionCapacityConcurrencyUnit: endpointsOutputsTranscriptionCapacityConcurrencyUnit, + endpointsOutputsTranscriptionCapacityConcurrencyValue: endpointsOutputsTranscriptionCapacityConcurrencyValue, + endpointsOutputsTranscriptionStreaming: endpointsOutputsTranscriptionStreaming, + endpointsOutputsTranscriptionParams: endpointsOutputsTranscriptionParams, + endpointsOutputsEmbeddingsPassthroughParameters: endpointsOutputsEmbeddingsPassthroughParameters, + endpointsOutputsEmbeddingsPricingType: endpointsOutputsEmbeddingsPricingType, + endpointsOutputsEmbeddingsPricingCompletionUnit: endpointsOutputsEmbeddingsPricingCompletionUnit, + endpointsOutputsEmbeddingsPricingCompletionCostUsd: endpointsOutputsEmbeddingsPricingCompletionCostUsd, + endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd: endpointsOutputsEmbeddingsPricingCompletionOverridesCostUsd, + endpointsOutputsEmbeddingsPricingCompletionUtcStart: endpointsOutputsEmbeddingsPricingCompletionUtcStart, + endpointsOutputsEmbeddingsPricingCompletionUtcEnd: endpointsOutputsEmbeddingsPricingCompletionUtcEnd, + endpointsOutputsEmbeddingsPricingCompletionUtcDays: endpointsOutputsEmbeddingsPricingCompletionUtcDays, + endpointsOutputsEmbeddingsPricingInternalReasoningUnit: endpointsOutputsEmbeddingsPricingInternalReasoningUnit, + endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd: endpointsOutputsEmbeddingsPricingInternalReasoningCostUsd, + endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd: endpointsOutputsEmbeddingsPricingInternalReasoningOverridesCostUsd, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart: endpointsOutputsEmbeddingsPricingInternalReasoningUtcStart, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd: endpointsOutputsEmbeddingsPricingInternalReasoningUtcEnd, + endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays: endpointsOutputsEmbeddingsPricingInternalReasoningUtcDays, + endpointsOutputsEmbeddingsCapacityType: endpointsOutputsEmbeddingsCapacityType, + endpointsOutputsEmbeddingsCapacityCompletionUnit: endpointsOutputsEmbeddingsCapacityCompletionUnit, + endpointsOutputsEmbeddingsCapacityCompletionPer: endpointsOutputsEmbeddingsCapacityCompletionPer, + endpointsOutputsEmbeddingsCapacityCompletionValue: endpointsOutputsEmbeddingsCapacityCompletionValue, + endpointsOutputsEmbeddingsCapacityInternalReasoningUnit: endpointsOutputsEmbeddingsCapacityInternalReasoningUnit, + endpointsOutputsEmbeddingsCapacityInternalReasoningPer: endpointsOutputsEmbeddingsCapacityInternalReasoningPer, + endpointsOutputsEmbeddingsCapacityInternalReasoningValue: endpointsOutputsEmbeddingsCapacityInternalReasoningValue, + endpointsOutputsEmbeddingsCapacityConcurrencyUnit: endpointsOutputsEmbeddingsCapacityConcurrencyUnit, + endpointsOutputsEmbeddingsCapacityConcurrencyValue: endpointsOutputsEmbeddingsCapacityConcurrencyValue, + endpointsOutputsEmbeddingsParams: endpointsOutputsEmbeddingsParams, + endpointsOutputsRerankPassthroughParameters: endpointsOutputsRerankPassthroughParameters, + endpointsOutputsRerankPricingType: endpointsOutputsRerankPricingType, + endpointsOutputsRerankPricingCompletionUnit: endpointsOutputsRerankPricingCompletionUnit, + endpointsOutputsRerankPricingCompletionCostUsd: endpointsOutputsRerankPricingCompletionCostUsd, + endpointsOutputsRerankPricingCompletionOverridesCostUsd: endpointsOutputsRerankPricingCompletionOverridesCostUsd, + endpointsOutputsRerankPricingCompletionUtcStart: endpointsOutputsRerankPricingCompletionUtcStart, + endpointsOutputsRerankPricingCompletionUtcEnd: endpointsOutputsRerankPricingCompletionUtcEnd, + endpointsOutputsRerankPricingCompletionUtcDays: endpointsOutputsRerankPricingCompletionUtcDays, + endpointsOutputsRerankPricingInternalReasoningUnit: endpointsOutputsRerankPricingInternalReasoningUnit, + endpointsOutputsRerankPricingInternalReasoningCostUsd: endpointsOutputsRerankPricingInternalReasoningCostUsd, + endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd: endpointsOutputsRerankPricingInternalReasoningOverridesCostUsd, + endpointsOutputsRerankPricingInternalReasoningUtcStart: endpointsOutputsRerankPricingInternalReasoningUtcStart, + endpointsOutputsRerankPricingInternalReasoningUtcEnd: endpointsOutputsRerankPricingInternalReasoningUtcEnd, + endpointsOutputsRerankPricingInternalReasoningUtcDays: endpointsOutputsRerankPricingInternalReasoningUtcDays, + endpointsOutputsRerankCapacityType: endpointsOutputsRerankCapacityType, + endpointsOutputsRerankCapacityCompletionUnit: endpointsOutputsRerankCapacityCompletionUnit, + endpointsOutputsRerankCapacityCompletionPer: endpointsOutputsRerankCapacityCompletionPer, + endpointsOutputsRerankCapacityCompletionValue: endpointsOutputsRerankCapacityCompletionValue, + endpointsOutputsRerankCapacityInternalReasoningUnit: endpointsOutputsRerankCapacityInternalReasoningUnit, + endpointsOutputsRerankCapacityInternalReasoningPer: endpointsOutputsRerankCapacityInternalReasoningPer, + endpointsOutputsRerankCapacityInternalReasoningValue: endpointsOutputsRerankCapacityInternalReasoningValue, + endpointsOutputsRerankCapacityConcurrencyUnit: endpointsOutputsRerankCapacityConcurrencyUnit, + endpointsOutputsRerankCapacityConcurrencyValue: endpointsOutputsRerankCapacityConcurrencyValue, + endpointsOutputsRerankParams: endpointsOutputsRerankParams, + endpointsOutputsDecisionsPassthroughParameters: endpointsOutputsDecisionsPassthroughParameters, + endpointsOutputsDecisionsPricingType: endpointsOutputsDecisionsPricingType, + endpointsOutputsDecisionsPricingCompletionUnit: endpointsOutputsDecisionsPricingCompletionUnit, + endpointsOutputsDecisionsPricingCompletionCostUsd: endpointsOutputsDecisionsPricingCompletionCostUsd, + endpointsOutputsDecisionsPricingCompletionOverridesCostUsd: endpointsOutputsDecisionsPricingCompletionOverridesCostUsd, + endpointsOutputsDecisionsPricingCompletionUtcStart: endpointsOutputsDecisionsPricingCompletionUtcStart, + endpointsOutputsDecisionsPricingCompletionUtcEnd: endpointsOutputsDecisionsPricingCompletionUtcEnd, + endpointsOutputsDecisionsPricingCompletionUtcDays: endpointsOutputsDecisionsPricingCompletionUtcDays, + endpointsOutputsDecisionsPricingInternalReasoningUnit: endpointsOutputsDecisionsPricingInternalReasoningUnit, + endpointsOutputsDecisionsPricingInternalReasoningCostUsd: endpointsOutputsDecisionsPricingInternalReasoningCostUsd, + endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd: endpointsOutputsDecisionsPricingInternalReasoningOverridesCostUsd, + endpointsOutputsDecisionsPricingInternalReasoningUtcStart: endpointsOutputsDecisionsPricingInternalReasoningUtcStart, + endpointsOutputsDecisionsPricingInternalReasoningUtcEnd: endpointsOutputsDecisionsPricingInternalReasoningUtcEnd, + endpointsOutputsDecisionsPricingInternalReasoningUtcDays: endpointsOutputsDecisionsPricingInternalReasoningUtcDays, + endpointsOutputsDecisionsCapacityType: endpointsOutputsDecisionsCapacityType, + endpointsOutputsDecisionsCapacityCompletionUnit: endpointsOutputsDecisionsCapacityCompletionUnit, + endpointsOutputsDecisionsCapacityCompletionPer: endpointsOutputsDecisionsCapacityCompletionPer, + endpointsOutputsDecisionsCapacityCompletionValue: endpointsOutputsDecisionsCapacityCompletionValue, + endpointsOutputsDecisionsCapacityInternalReasoningUnit: endpointsOutputsDecisionsCapacityInternalReasoningUnit, + endpointsOutputsDecisionsCapacityInternalReasoningPer: endpointsOutputsDecisionsCapacityInternalReasoningPer, + endpointsOutputsDecisionsCapacityInternalReasoningValue: endpointsOutputsDecisionsCapacityInternalReasoningValue, + endpointsOutputsDecisionsCapacityConcurrencyUnit: endpointsOutputsDecisionsCapacityConcurrencyUnit, + endpointsOutputsDecisionsCapacityConcurrencyValue: endpointsOutputsDecisionsCapacityConcurrencyValue, + endpointsOutputsDecisionsParams: endpointsOutputsDecisionsParams, + endpointsOutputsAudioPassthroughParameters: endpointsOutputsAudioPassthroughParameters, + endpointsOutputsAudioPricingType: endpointsOutputsAudioPricingType, + endpointsOutputsAudioPricingCompletionUnit: endpointsOutputsAudioPricingCompletionUnit, + endpointsOutputsAudioPricingCompletionCostUsd: endpointsOutputsAudioPricingCompletionCostUsd, + endpointsOutputsAudioPricingCompletionOverridesCostUsd: endpointsOutputsAudioPricingCompletionOverridesCostUsd, + endpointsOutputsAudioPricingCompletionUtcStart: endpointsOutputsAudioPricingCompletionUtcStart, + endpointsOutputsAudioPricingCompletionUtcEnd: endpointsOutputsAudioPricingCompletionUtcEnd, + endpointsOutputsAudioPricingCompletionUtcDays: endpointsOutputsAudioPricingCompletionUtcDays, + endpointsOutputsAudioPricingInternalReasoningUnit: endpointsOutputsAudioPricingInternalReasoningUnit, + endpointsOutputsAudioPricingInternalReasoningCostUsd: endpointsOutputsAudioPricingInternalReasoningCostUsd, + endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd: endpointsOutputsAudioPricingInternalReasoningOverridesCostUsd, + endpointsOutputsAudioPricingInternalReasoningUtcStart: endpointsOutputsAudioPricingInternalReasoningUtcStart, + endpointsOutputsAudioPricingInternalReasoningUtcEnd: endpointsOutputsAudioPricingInternalReasoningUtcEnd, + endpointsOutputsAudioPricingInternalReasoningUtcDays: endpointsOutputsAudioPricingInternalReasoningUtcDays, + endpointsOutputsAudioCapacityType: endpointsOutputsAudioCapacityType, + endpointsOutputsAudioCapacityCompletionUnit: endpointsOutputsAudioCapacityCompletionUnit, + endpointsOutputsAudioCapacityCompletionPer: endpointsOutputsAudioCapacityCompletionPer, + endpointsOutputsAudioCapacityCompletionValue: endpointsOutputsAudioCapacityCompletionValue, + endpointsOutputsAudioCapacityInternalReasoningUnit: endpointsOutputsAudioCapacityInternalReasoningUnit, + endpointsOutputsAudioCapacityInternalReasoningPer: endpointsOutputsAudioCapacityInternalReasoningPer, + endpointsOutputsAudioCapacityInternalReasoningValue: endpointsOutputsAudioCapacityInternalReasoningValue, + endpointsOutputsAudioCapacityConcurrencyUnit: endpointsOutputsAudioCapacityConcurrencyUnit, + endpointsOutputsAudioCapacityConcurrencyValue: endpointsOutputsAudioCapacityConcurrencyValue, + endpointsOutputsAudioStreaming: endpointsOutputsAudioStreaming, + endpointsOutputsAudioParams: endpointsOutputsAudioParams, + endpointsProviderSlug: endpointsProviderSlug, + endpointsProviderTag: endpointsProviderTag, + endpointsProviderName: endpointsProviderName, + endpointsDataPolicyTraining: endpointsDataPolicyTraining, + endpointsDataPolicyRetainsPrompts: endpointsDataPolicyRetainsPrompts, + endpointsDataPolicyRetentionDays: endpointsDataPolicyRetentionDays); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListV2", + methodName: "ListV2Async", + pathTemplate: "\"/api/v2/models\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListV2", + methodName: "ListV2Async", + pathTemplate: "\"/api/v2/models\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::OpenRouter.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::OpenRouter.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListV2", + methodName: "ListV2Async", + pathTemplate: "\"/api/v2/models\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::OpenRouter.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessListV2Response( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListV2", + methodName: "ListV2Async", + pathTemplate: "\"/api/v2/models\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::OpenRouter.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::OpenRouter.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ListV2", + methodName: "ListV2Async", + pathTemplate: "\"/api/v2/models\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request - Invalid request parameters or malformed input + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::OpenRouter.BadRequestResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::OpenRouter.BadRequestResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized - Authentication required or invalid credentials + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::OpenRouter.UnauthorizedResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::OpenRouter.UnauthorizedResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error - Unexpected server error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::OpenRouter.InternalServerResponse? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::OpenRouter.InternalServerResponse.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessListV2ResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::OpenRouter.ModelsV2ListResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::OpenRouter.ModelsV2ListResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::OpenRouter.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::OpenRouter.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::OpenRouter.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs index 88ead2dd..c4fd3bef 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.ModelsClient.g.cs @@ -21,7 +21,7 @@ public sealed partial class ModelsClient : global::OpenRouter.IModelsClient, glo public global::System.Net.Http.HttpClient HttpClient { get; } /// - public System.Uri? BaseUri => HttpClient.BaseAddress; + public System.Uri? BaseUri => ResolveDisplayedBaseUri(); /// public global::System.Collections.Generic.List Authorizations { get; } @@ -54,6 +54,34 @@ public sealed partial class ModelsClient : global::OpenRouter.IModelsClient, glo } + + private static readonly global::OpenRouter.AutoSDKServer[] s_availableServers = new global::OpenRouter.AutoSDKServer[] + { new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai-api-v1", + name: "Production server", + url: "https://openrouter.ai/api/v1", + description: "Production server"), + new global::OpenRouter.AutoSDKServer( + id: "https-openrouter-ai", + name: "openrouter.ai", + url: "https://openrouter.ai/", + description: ""), + }; + + /// + /// The server options available for this client. + /// + public global::System.Collections.Generic.IReadOnlyList AvailableServers => s_availableServers; + + /// + /// The currently selected server for this client, if any. + /// + public global::OpenRouter.AutoSDKServer? SelectedServer + { + get => ResolveSelectedServer(); + set => SelectServer(value); + } + /// /// Creates a new instance of the ModelsClient. /// If no httpClient is provided, a new one will be created. @@ -152,5 +180,117 @@ partial void ProcessResponseContent( global::System.Net.Http.HttpClient client, global::System.Net.Http.HttpResponseMessage response, ref string content); + + + /// + /// Selects one of the generated server options by id. + /// + public bool TrySelectServer(string serverId) + { + if (string.IsNullOrWhiteSpace(serverId)) + { + return false; + } + + foreach (var server in s_availableServers) + { + if (string.Equals(server.Id, serverId, global::System.StringComparison.OrdinalIgnoreCase)) + { + AutoSDKServerConfiguration.SelectedServer = server; + AutoSDKServerConfiguration.ExplicitBaseUri = null; + return true; + } + } + + return false; + } + + /// + /// Clears the currently selected server. + /// + public void ClearSelectedServer() + { + AutoSDKServerConfiguration.SelectedServer = null; + } + + private global::OpenRouter.AutoSDKServer? ResolveSelectedServer() + { + var selectedServer = AutoSDKServerConfiguration.SelectedServer; + if (selectedServer is null) + { + return null; + } + + foreach (var server in s_availableServers) + { + if (string.Equals(server.Id, selectedServer.Id, global::System.StringComparison.Ordinal)) + { + return server; + } + } + + return null; + } + + private void SelectServer(global::OpenRouter.AutoSDKServer? server) + { + if (server is null) + { + AutoSDKServerConfiguration.SelectedServer = null; + return; + } + + foreach (var candidate in s_availableServers) + { + if (string.Equals(candidate.Id, server.Id, global::System.StringComparison.Ordinal)) + { + AutoSDKServerConfiguration.SelectedServer = candidate; + AutoSDKServerConfiguration.ExplicitBaseUri = null; + return; + } + } + + throw new global::System.ArgumentException("The provided server is not available for this client.", nameof(server)); + } + + private global::System.Uri? ResolveDisplayedBaseUri() + { + if (AutoSDKServerConfiguration.ExplicitBaseUri is global::System.Uri explicitBaseUri) + { + return explicitBaseUri; + } + + return ResolveSelectedServer()?.Uri ?? (s_availableServers.Length > 0 ? s_availableServers[0].Uri : HttpClient.BaseAddress); + } + + private global::System.Uri? ResolveBaseUri( + global::OpenRouter.AutoSDKServer[] servers, + string defaultBaseUrl) + { + if (AutoSDKServerConfiguration.ExplicitBaseUri is global::System.Uri explicitBaseUri) + { + return explicitBaseUri; + } + + if (AutoSDKServerConfiguration.SelectedServer is global::OpenRouter.AutoSDKServer selectedServer) + { + foreach (var server in servers) + { + if (string.Equals(server.Id, selectedServer.Id, global::System.StringComparison.Ordinal)) + { + return server.Uri; + } + } + } + + if (servers.Length > 0) + { + return servers[0].Uri; + } + + return string.IsNullOrWhiteSpace(defaultBaseUrl) + ? HttpClient.BaseAddress + : new global::System.Uri(defaultBaseUrl, global::System.UriKind.RelativeOrAbsolute); + } } } \ No newline at end of file diff --git a/src/libs/OpenRouter/Generated/OpenRouter.SttClient.CreateTranscription.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.SttClient.CreateTranscription.g.cs index c35542b6..3829531a 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.SttClient.CreateTranscription.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.SttClient.CreateTranscription.g.cs @@ -938,7 +938,7 @@ partial void ProcessCreateTranscriptionResponseContent( /// Example: openai/whisper-large-v3 /// /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// /// /// Output format. "json" (default) returns { text, usage }. "verbose_json" additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.
diff --git a/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.CreateSpeech.g.cs b/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.CreateSpeech.g.cs index 696ea3db..65b4fa60 100644 --- a/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.CreateSpeech.g.cs +++ b/src/libs/OpenRouter/Generated/OpenRouter.TtsClient.CreateSpeech.g.cs @@ -1654,7 +1654,7 @@ partial void ProcessCreateSpeechResponseContent( /// Example: mistralai/voxtral-mini-tts-2603 /// /// - /// Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options + /// Provider-specific passthrough configuration /// /// /// Audio output format
diff --git a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json index d7d78e01..8c6ecd73 100644 --- a/src/libs/OpenRouter/Generated/autosdk.generated-examples.json +++ b/src/libs/OpenRouter/Generated/autosdk.generated-examples.json @@ -699,7 +699,7 @@ "Slug": "createinternchatcompletion", "Description": "Sends a prompt to one of your interns and streams the reply as OpenAI-compatible server-sent events ending with \u0060[DONE]\u0060. The run executes on the intern, which may pause to ask you something. It then streams one \u0060openrouter.provide_input\u0060 tool call and finishes with \u0060finish_reason: \u0022tool_calls\u0022\u0060, and the run stays open on the intern.\n\nEvery response, whether it ends with \u0060stop\u0060, \u0060tool_calls\u0060 or \u0060error\u0060, is followed by a final chunk with empty \u0060choices\u0060 that carries \u0060session_id\u0060, then \u0060data: [DONE]\u0060. That chunk carries the \u0060usage\u0060 the intern reported for the run, after \u0060stop\u0060 or \u0060error\u0060, and \u0060null\u0060 when the intern reported none. After \u0060tool_calls\u0060 its \u0060usage\u0060 is \u0060null\u0060 because the turn is not over. Read through \u0060[DONE]\u0060: the \u0060session_id\u0060 you need to reply arrives after the \u0060tool_calls\u0060 finish chunk.\n\nTo answer, send a second request with the same \u0060session_id\u0060, the assistant message echoing that tool call, and a \u0060tool\u0060 message whose \u0060tool_call_id\u0060 is the tool call id and whose \u0060content\u0060 is the answer. The answer is delivered to the run that asked and the stream continues from where it paused. A question stays open for its interaction deadline (5 minutes by default) and the run is cancelled when that passes. Rejected replies do not extend the deadline.\n\nClosing the connection after the \u0060[DONE]\u0060 that follows \u0060finish_reason: \u0022tool_calls\u0022\u0060 keeps the run alive. Disconnecting while a response is still streaming cancels the run. The stream writes a \u0060: keepalive\u0060 comment whenever nothing else has been written for 30 seconds, so a disconnect is noticed within that interval even while the intern is silent.\n\nA run the intern ends while you are still connected, by cancellation or by a deadline, ends the stream with a \u0060finish_reason: \u0022error\u0022\u0060 chunk carrying \u0060410\u0060 and reason \u0060run_ended\u0060, then the final empty-\u0060choices\u0060 chunk and \u0060[DONE]\u0060. That error reports only an ending the intern confirmed. A connection that breaks without that confirmation ends with reason \u0060stream_severed\u0060, and a client that has already disconnected is promised no final event.\n\nSet \u0060approval_mode\u0060 to \u0060manual\u0060 to have the intern ask before approval-bearing tools such as the shell. Omitted, the run self-drives and consents on your behalf. The mode belongs to the run started by that prompt and must be repeated on later prompts.\n\nAvailable to interns programme members. Callers outside the programme receive \u0060404\u0060 for every path under \u0060/api/v1/interns\u0060.", "Language": "http", - "Code": "### Stream a chat completion with an intern\n# @name createInternChatCompletion\nPOST {{host}}/interns/{{internId}}/chat/completions\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json, text/event-stream\n\n{\n \u0022approval_mode\u0022: \u0022manual\u0022,\n \u0022messages\u0022: [\n {\n \u0022content\u0022: \u0022Summarize the open pull requests.\u0022,\n \u0022role\u0022: \u0022user\u0022\n }\n ],\n \u0022stream\u0022: true\n}\n\n## Responses\n# 200\n# Description: The streamed completion. Chunks carry text, then a finish chunk: \u0060finish_reason: \u0022stop\u0022\u0060 when the turn is complete, \u0060finish_reason: \u0022tool_calls\u0022\u0060 when the intern is waiting for an answer, or \u0060finish_reason: \u0022error\u0022\u0060 for a failure after this status. A final chunk with empty \u0060choices\u0060 follows in every case, carrying \u0060session_id\u0060 and \u0060usage\u0060 (\u0060null\u0060 unless the intern reported usage, and always \u0060null\u0060 after \u0060tool_calls\u0060), and the stream ends with \u0060data: [DONE]\u0060.\n# Content-Type: application/json, text/event-stream\n# 202\n# Description: A turn is already running in this \u0060session_id\u0060, and the message was delivered into it instead of starting a new turn. Nothing streams here: the intern takes the message up on the running turn, whose stream continues on the request that started it. Sent only for a \u0060user\u0060 message with a \u0060session_id\u0060; a \u0060tool\u0060 reply into a running session gets \u0060409 busy\u0060, as does a message the intern could not take. Other sessions on the same intern are not affected and run in parallel.\n# Content-Type: application/json\n# 400\n# Description: The body is not a valid request (\u0060bad_request\u0060), or the intern did not accept the answer for the pending question, such as a permission option it did not offer.\n# Content-Type: application/json\n# 401\n# Description: No valid API key.\n# Content-Type: application/json\n# 403\n# Description: The key belongs to a member who has left the organization and holds no grant.\n# Content-Type: application/json\n# 404\n# Description: The caller is outside the interns programme, the intern does not exist for this key (\u0060not_found\u0060), or no pending question has this \u0060tool_call_id\u0060 in this session (\u0060interaction_unknown\u0060).\n# Content-Type: application/json\n# 408\n# Description: The request exceeded the route\u0027s own deadline before the handler answered (\u0060timeout\u0060). Distinct from the 504, which is the intern failing to answer within the turn budget.\n# Content-Type: application/json\n# 409\n# Description: The intern is not running (\u0060intern_not_ready\u0060), a turn is already running in this session and did not take the message within 15 seconds (\u0060busy\u0060, also sent when the turn is waiting on a question of its own), the question is no longer waiting (\u0060interaction_not_pending\u0060), or another request is already attached to the run (\u0060attachment_failed\u0060). Turns in different sessions on the same intern run in parallel. \u0060intern_not_ready\u0060 and \u0060busy\u0060 report \u0060retryable: true\u0060, and a \u0060busy\u0060 refusal carries \u0060Retry-After\u0060.\n# Content-Type: application/json\n# 410\n# Description: The run produced more output than the intern retains, so the paused stream cannot be resumed (\u0060attachment_failed\u0060).\n# Content-Type: application/json\n# 413\n# Description: The body exceeds 1 MiB (\u0060payload_too_large\u0060).\n# Content-Type: application/json\n# 429\n# Description: Too many turns for the user or organization this key acts as (\u0060rate_limited\u0060). It reports \u0060retryable: true\u0060 and carries \u0060Retry-After\u0060.\n# Content-Type: application/json\n# 502\n# Description: The intern could not be reached or rejected the request (\u0060intern_unreachable\u0060, \u0060intern_rejected\u0060), the intern refused the turn before any output (\u0060turn_failed\u0060), or its stream ended before the turn started (\u0060stream_severed\u0060). \u0060intern_unreachable\u0060 and \u0060stream_severed\u0060 are transient and report \u0060retryable: true\u0060; \u0060intern_rejected\u0060 reports \u0060false\u0060. A \u0060turn_failed\u0060 varies by failure and carries the intern\u0027s own classification of what went wrong, so read \u0060metadata.retryable\u0060 rather than assuming from the reason.\n# Content-Type: application/json\n# 503\n# Description: The intern cannot hold another run open across a question right now (\u0060busy\u0060). It reports \u0060retryable: true\u0060 and carries \u0060Retry-After\u0060.\n# Content-Type: application/json\n# 504\n# Description: The intern did not answer within the request budget (\u0060timeout\u0060).\n# Content-Type: application/json", + "Code": "### Stream a chat completion with an intern\n# @name createInternChatCompletion\nPOST {{host}}/interns/{{internId}}/chat/completions\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json, text/event-stream\n\n{\n \u0022approval_mode\u0022: \u0022manual\u0022,\n \u0022messages\u0022: [\n {\n \u0022content\u0022: \u0022Summarize the open pull requests.\u0022,\n \u0022role\u0022: \u0022user\u0022\n }\n ],\n \u0022stream\u0022: true\n}\n\n## Responses\n# 200\n# Description: The streamed completion. Chunks carry text, then a finish chunk: \u0060finish_reason: \u0022stop\u0022\u0060 when the turn is complete, \u0060finish_reason: \u0022tool_calls\u0022\u0060 when the intern is waiting for an answer, or \u0060finish_reason: \u0022error\u0022\u0060 for a failure after this status. A final chunk with empty \u0060choices\u0060 follows in every case, carrying \u0060session_id\u0060 and \u0060usage\u0060 (\u0060null\u0060 unless the intern reported usage, and always \u0060null\u0060 after \u0060tool_calls\u0060), and the stream ends with \u0060data: [DONE]\u0060.\n# Content-Type: text/event-stream\n# 202\n# Description: A turn is already running in this \u0060session_id\u0060, and the message was delivered into it instead of starting a new turn. Nothing streams here: the intern takes the message up on the running turn, whose stream continues on the request that started it. Sent only for a \u0060user\u0060 message with a \u0060session_id\u0060; a \u0060tool\u0060 reply into a running session gets \u0060409 busy\u0060, as does a message the intern could not take. Other sessions on the same intern are not affected and run in parallel.\n# Content-Type: application/json\n# 400\n# Description: The body is not a valid request (\u0060bad_request\u0060), or the intern did not accept the answer for the pending question, such as a permission option it did not offer.\n# Content-Type: application/json\n# 401\n# Description: No valid API key.\n# Content-Type: application/json\n# 403\n# Description: The key belongs to a member who has left the organization and holds no grant.\n# Content-Type: application/json\n# 404\n# Description: The caller is outside the interns programme, the intern does not exist for this key (\u0060not_found\u0060), or no pending question has this \u0060tool_call_id\u0060 in this session (\u0060interaction_unknown\u0060).\n# Content-Type: application/json\n# 408\n# Description: The request exceeded the route\u0027s own deadline before the handler answered (\u0060timeout\u0060). Distinct from the 504, which is the intern failing to answer within the turn budget.\n# Content-Type: application/json\n# 409\n# Description: The intern is not running (\u0060intern_not_ready\u0060), a turn is already running in this session and did not take the message within 15 seconds (\u0060busy\u0060, also sent when the turn is waiting on a question of its own), the question is no longer waiting (\u0060interaction_not_pending\u0060), or another request is already attached to the run (\u0060attachment_failed\u0060). Turns in different sessions on the same intern run in parallel. \u0060intern_not_ready\u0060 and \u0060busy\u0060 report \u0060retryable: true\u0060, and a \u0060busy\u0060 refusal carries \u0060Retry-After\u0060.\n# Content-Type: application/json\n# 410\n# Description: The run produced more output than the intern retains, so the paused stream cannot be resumed (\u0060attachment_failed\u0060).\n# Content-Type: application/json\n# 413\n# Description: The body exceeds 1 MiB (\u0060payload_too_large\u0060).\n# Content-Type: application/json\n# 429\n# Description: Too many turns for the user or organization this key acts as (\u0060rate_limited\u0060). It reports \u0060retryable: true\u0060 and carries \u0060Retry-After\u0060.\n# Content-Type: application/json\n# 502\n# Description: The intern could not be reached or rejected the request (\u0060intern_unreachable\u0060, \u0060intern_rejected\u0060), the intern refused the turn before any output (\u0060turn_failed\u0060), or its stream ended before the turn started (\u0060stream_severed\u0060). \u0060intern_unreachable\u0060 and \u0060stream_severed\u0060 are transient and report \u0060retryable: true\u0060; \u0060intern_rejected\u0060 reports \u0060false\u0060. A \u0060turn_failed\u0060 varies by failure and carries the intern\u0027s own classification of what went wrong, so read \u0060metadata.retryable\u0060 rather than assuming from the reason.\n# Content-Type: application/json\n# 503\n# Description: The intern cannot hold another run open across a question right now (\u0060busy\u0060). It reports \u0060retryable: true\u0060 and carries \u0060Retry-After\u0060.\n# Content-Type: application/json\n# 504\n# Description: The intern did not answer within the request budget (\u0060timeout\u0060).\n# Content-Type: application/json", "Format": "http", "OperationId": "createInternChatCompletion", "Setup": null @@ -827,6 +827,17 @@ }, { "Order": 76, + "Title": "Get a model with its V2 endpoint documents", + "Slug": "getmodelv2", + "Description": "Returns a single model identified by its author and slug (e.g. openai/gpt-4) together with each of its published endpoints in the Models API V2 document format. Known slug aliases are resolved. A variant suffix (e.g. openai/gpt-4:free) selects the record of that variant; a variant no endpoint serves is reported as not found. Routers (openrouter/auto) and \u0060~author/family-latest\u0060 aliases are records too. \u0060region\u0060 narrows the endpoints the same way it does on the list route; a model left without an endpoint is reported as not found. With an API key the record comes from that key\u0027s catalog, as on the list route, so a model the key cannot route to is not found.", + "Language": "http", + "Code": "### Get a model with its V2 endpoint documents\n# @name getModelV2\nGET {{host}}/api/v2/models/{{author}}/{{slug}}?region=eu\nAuthorization: Bearer {{token}}\nAccept: application/json\n\n## Responses\n# 200\n# Description: The model with its published V2 endpoint documents\n# Content-Type: application/json\n# 400\n# Description: Bad Request - Invalid request parameters or malformed input\n# Content-Type: application/json\n# 401\n# Description: Unauthorized - Authentication required or invalid credentials\n# Content-Type: application/json\n# 404\n# Description: Not Found - Resource does not exist\n# Content-Type: application/json\n# 500\n# Description: Internal Server Error - Unexpected server error\n# Content-Type: application/json", + "Format": "http", + "OperationId": "getModelV2", + "Setup": null + }, + { + "Order": 77, "Title": "List all models and their properties", "Slug": "getmodels", "Description": "Generated from OpenAPI examples.", @@ -837,7 +848,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 77, + "Order": 78, "Title": "List models filtered by user provider preferences, privacy settings, and guardrails", "Slug": "listmodelsuser", "Description": "List models filtered by user provider preferences, [privacy settings](https://openrouter.ai/docs/guides/privacy/provider-logging), and [guardrails](https://openrouter.ai/docs/guides/features/guardrails). Returns text-output models by default; pass \u0060output_modalities\u0060 (a comma-separated list of \u0060text\u0060, \u0060image\u0060, \u0060embeddings\u0060, \u0060audio\u0060, \u0060video\u0060, \u0060rerank\u0060, \u0060speech\u0060, \u0060transcription\u0060, or \u0060all\u0060) to include other modalities. If requesting through a regional hostname, the results will be filtered to models that satisfy in-region routing for that region.", @@ -848,7 +859,18 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 78, + "Order": 79, + "Title": "List models with V2 endpoint documents", + "Slug": "listmodelsv2", + "Description": "Returns every publicly served model together with each of its endpoints in the Models API V2 document format. The V2 document is the schema providers publish to OpenRouter, so each endpoint is reported in the shape it was declared, with pricing attached to the modality it applies to (\u0060inputs\u0060/\u0060outputs\u0060, each with its \u0060params\u0060). Operator-only fields such as capacity and \u0060discount_to_user\u0060 are not part of the public document.\n\nWithout credentials the response is the public catalog. With an API key it is the catalog that key can route to, the same one \u0060GET /api/v1/models/user\u0060 serves: models and endpoints the account was granted private access to are included, and endpoints the account or key guardrails, provider preferences, BYOK and privacy settings exclude are omitted, along with routers and aliases left with nothing to route to. A key that does not resolve is rejected with 401.\n\nEvery field of the response document is a filter, named by its dotted JSON path: \u0060\u003Cpath\u003E=\u003Cvalue\u003E\u0060 tests equality and \u0060\u003Cpath\u003E.\u003Coperator\u003E=\u003Cvalue\u003E\u0060 applies \u0060gt\u0060, \u0060gte\u0060, \u0060lt\u0060, \u0060lte\u0060, \u0060between\u0060, \u0060in\u0060, \u0060exists\u0060, \u0060contains\u0060, \u0060starts_with\u0060 or \u0060ends_with\u0060 as the field type allows; \u0060\u003Cpath\u003E.not.\u003Coperator\u003E=\u003Cvalue\u003E\u0060 (or \u0060\u003Cpath\u003E.not=\u003Cvalue\u003E\u0060 for not-equal) keeps the records where no value matches. Suffixes, arithmetic operators, parentheses and the list comma are read before percent-decoding, so an encoded character is always literal: a map key spelled like an operator or \u0060not\u0060 is reached by encoding one of its characters (\u0060params.n%6Ft.exists=true\u0060), a \u0060/\u0060 or \u0060\u002B\u0060 inside a literal is \u0060%2F\u0060 or \u0060%2B\u0060, and arithmetic is spelled with the bare characters (\u0060created/10\u0060, \u0060context_length\u002B1\u0060). \u0060in\u0060 takes a comma-separated list and \u0060between\u0060 the inclusive lower and upper bound (a literal comma is \u0060%2C\u0060); strings compare trimmed and lower-cased on both sides, so \u0060author=Anthropic\u0060 and \u0060name.contains=claude\u0060 match. A filter under \u0060endpoints.\u0060 keeps only the endpoints that satisfy every such filter and omits models left with none. A path through a repeated object is existential (\u0060endpoints.pricing.type=request\u0060 matches an endpoint with some request-priced entry); the members of a typed collection are addressed by their type (\u0060endpoints.inputs.text.params.max_length.value.gte=1000000\u0060, \u0060endpoints.inputs.text.pricing.prompt.cost_usd.lte=0.000001\u0060), and a dynamic key is written in the path (\u0060endpoints.outputs.text.params.tools.type=boolean\u0060, \u0060endpoints.outputs.text.params.temperature.range.max.gte=2\u0060). Both sides of an operator are operands of one grammar: a literal, a path, or an arithmetic expression over numeric paths and numbers, so a filter relates any two of them (\u0060endpoints.inputs.text.pricing.prompt.cost_usd.gte=endpoints.outputs.text.pricing.completion.cost_usd*100\u0060, \u006010000.lte=endpoints.inputs.text.params.max_length.value\u0060, \u0060endpoints.id=id\u0060). Arithmetic requires numeric paths, each operator applies to the type its operands share, and text that names no field path is a literal (\u0060id=openai/gpt-4\u0060), so the field names at the root of the document are reserved words. A parameter that is not a field path is rejected with a 400 whose \u0060error.metadata\u0060 names the \u0060code\u0060, \u0060parameter\u0060 and \u0060reason\u0060.\n\n\u0060sort\u0060 takes comma-separated paths or expressions, \u0060-\u0060 prefixed for descending; a key must be a scalar path or expression (\u0060created\u0060, \u0060endpoints.inputs.text.pricing.prompt.cost_usd\u0060); a model sorts by the best value in the sort direction across its endpoints and across the time windows of a price, missing values sort last and \u0060id\u0060 ascending breaks ties, so the order is total even without \u0060sort\u0060. Pagination is opt-in: pass \u0060limit\u0060 and follow \u0060links.next\u0060, which carries an opaque \u0060cursor\u0060 bound to the filters and sort; \u0060offset\u0060 remains supported. \u0060total_count\u0060 is the number of models matching the filters.", + "Language": "csharp", + "Code": "using var client = new OpenRouterClient(apiKey);\nvar response = await client.Models.ListV2Async();\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022author\u0022: \u0022openai\u0022,\n// \u0022canonical_slug\u0022: \u0022openai/gpt-4\u0022,\n// \u0022context_length\u0022: 8192,\n// \u0022created\u0022: 1687882411,\n// \u0022description\u0022: \u0022OpenAI flagship model.\u0022,\n// \u0022endpoints\u0022: [\n// {\n// \u0022created\u0022: 1687882411,\n// \u0022data_policy\u0022: {\n// \u0022retains_prompts\u0022: false,\n// \u0022training\u0022: false\n// },\n// \u0022id\u0022: \u0022gpt-4\u0022,\n// \u0022inputs\u0022: [\n// {\n// \u0022params\u0022: {\n// \u0022max_length\u0022: {\n// \u0022unit\u0022: \u0022token\u0022,\n// \u0022value\u0022: 8192\n// }\n// },\n// \u0022pricing\u0022: [\n// {\n// \u0022cost_usd\u0022: \u00220.00003\u0022,\n// \u0022type\u0022: \u0022prompt\u0022,\n// \u0022unit\u0022: \u0022token\u0022\n// }\n// ],\n// \u0022type\u0022: \u0022text\u0022\n// }\n// ],\n// \u0022name\u0022: \u0022GPT-4\u0022,\n// \u0022openrouter\u0022: {\n// \u0022slug\u0022: \u0022openai/gpt-4\u0022\n// },\n// \u0022outputs\u0022: [\n// {\n// \u0022max_length\u0022: {\n// \u0022unit\u0022: \u0022token\u0022,\n// \u0022value\u0022: 4096\n// },\n// \u0022params\u0022: {\n// \u0022max_tokens\u0022: {\n// \u0022type\u0022: \u0022unknown\u0022\n// },\n// \u0022temperature\u0022: {\n// \u0022type\u0022: \u0022unknown\u0022\n// },\n// \u0022tools\u0022: {\n// \u0022type\u0022: \u0022unknown\u0022\n// }\n// },\n// \u0022pricing\u0022: [\n// {\n// \u0022cost_usd\u0022: \u00220.00006\u0022,\n// \u0022type\u0022: \u0022completion\u0022,\n// \u0022unit\u0022: \u0022token\u0022\n// }\n// ],\n// \u0022type\u0022: \u0022text\u0022\n// }\n// ],\n// \u0022provider\u0022: {\n// \u0022name\u0022: \u0022OpenAI\u0022,\n// \u0022slug\u0022: \u0022openai\u0022,\n// \u0022tag\u0022: \u0022openai\u0022\n// },\n// \u0022schema_version\u0022: \u00222.4\u0022\n// }\n// ],\n// \u0022id\u0022: \u0022openai/gpt-4\u0022,\n// \u0022inputs\u0022: [\n// \u0022text\u0022\n// ],\n// \u0022kind\u0022: \u0022model\u0022,\n// \u0022name\u0022: \u0022GPT-4\u0022,\n// \u0022outputs\u0022: [\n// \u0022text\u0022\n// ],\n// \u0022variant\u0022: \u0022standard\u0022\n// }\n// ],\n// \u0022links\u0022: {\n// \u0022next\u0022: null\n// },\n// \u0022total_count\u0022: 1\n// }", + "Format": "sdk", + "OperationId": "listModelsV2", + "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." + }, + { + "Order": 80, "Title": "Create authorization code", "Slug": "createauthkeyscode", "Description": "Create an authorization code for the PKCE flow to generate a user-controlled API key", @@ -859,7 +881,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 79, + "Order": 81, "Title": "Exchange a workload identity token", "Slug": "createoauthtoken", "Description": "RFC 8693 token exchange. Presents a JWT from an issuer your organization trusts (Settings \u2192 Workload identity) and receives a short-lived OpenRouter access token that acts as the API key the matching federation policy targets.", @@ -870,7 +892,7 @@ "Setup": null }, { - "Order": 80, + "Order": 82, "Title": "Exchange authorization code for API key", "Slug": "exchangeauthcodeforapikey", "Description": "Exchange an authorization code from the PKCE flow for a user-controlled API key", @@ -881,7 +903,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 81, + "Order": 83, "Title": "OpenRouter access token signing keys", "Slug": "listoauthjwks", "Description": "RFC 7517 JWK Set containing the public keys OpenRouter signs access tokens with.", @@ -892,7 +914,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 82, + "Order": 84, "Title": "Create an observability destination", "Slug": "createobservabilitydestination", "Description": "Create a new observability destination. A maximum of 5 destinations per type is allowed. Defaults to the authenticated entity\u0027s default workspace; use the \u0060workspace_id\u0060 body field to scope to a different workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -903,7 +925,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 83, + "Order": 85, "Title": "Delete an observability destination", "Slug": "deleteobservabilitydestination", "Description": "Delete an existing observability destination. This performs a soft delete. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -914,7 +936,7 @@ "Setup": null }, { - "Order": 84, + "Order": 86, "Title": "Get an observability destination", "Slug": "getobservabilitydestination", "Description": "Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -925,7 +947,7 @@ "Setup": null }, { - "Order": 85, + "Order": 87, "Title": "List observability destinations", "Slug": "listobservabilitydestinations", "Description": "List the observability destinations configured for the authenticated entity\u0027s default workspace. Use the \u0060workspace_id\u0060 query parameter to scope the result to a different workspace. Only destinations with stable release status are surfaced \u2014 destinations of other types are excluded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -936,7 +958,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 86, + "Order": 88, "Title": "Update an observability destination", "Slug": "updateobservabilitydestination", "Description": "Update an existing observability destination. Only the fields provided in the request body are updated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -947,7 +969,7 @@ "Setup": null }, { - "Order": 87, + "Order": 89, "Title": "Get organization settings", "Slug": "getorganizationsettings", "Description": "Get the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -958,7 +980,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 88, + "Order": 90, "Title": "List organization members", "Slug": "listorganizationmembers", "Description": "List all members of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -969,7 +991,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 89, + "Order": 91, "Title": "Update organization settings", "Slug": "updateorganizationsettings", "Description": "Update the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -980,7 +1002,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 90, + "Order": 92, "Title": "Create a preset from a chat-completions request body", "Slug": "createpresetschatcompletions", "Description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. \u0060messages\u0060, \u0060stream\u0060, \u0060prompt\u0060) are silently ignored.", @@ -991,7 +1013,7 @@ "Setup": null }, { - "Order": 91, + "Order": 93, "Title": "Create a preset from a messages request body", "Slug": "createpresetsmessages", "Description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. \u0060messages\u0060, \u0060stream\u0060, \u0060prompt\u0060) are silently ignored.", @@ -1002,7 +1024,7 @@ "Setup": null }, { - "Order": 92, + "Order": 94, "Title": "Create a preset from a responses request body", "Slug": "createpresetsresponses", "Description": "Creates a preset (or a new version of an existing one) from an inference request body. Only fields that overlap with the preset config are persisted; other fields (e.g. \u0060messages\u0060, \u0060stream\u0060, \u0060prompt\u0060) are silently ignored.", @@ -1013,7 +1035,7 @@ "Setup": null }, { - "Order": 93, + "Order": 95, "Title": "Get a preset", "Slug": "getpreset", "Description": "Retrieves a preset by its slug with its currently designated version inline.", @@ -1024,7 +1046,7 @@ "Setup": null }, { - "Order": 94, + "Order": 96, "Title": "Get a specific version of a preset", "Slug": "getpresetversion", "Description": "Retrieves a specific version of a preset by its slug and version number.", @@ -1035,7 +1057,7 @@ "Setup": null }, { - "Order": 95, + "Order": 97, "Title": "List presets", "Slug": "listpresets", "Description": "Lists all presets for the authenticated user, ordered by most recently updated first.", @@ -1046,7 +1068,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 96, + "Order": 98, "Title": "List versions of a preset", "Slug": "listpresetversions", "Description": "Lists all versions of a preset, ordered by version number ascending (oldest first).", @@ -1057,7 +1079,7 @@ "Setup": null }, { - "Order": 97, + "Order": 99, "Title": "Activate a validated private endpoint", "Slug": "activateprivateendpoint", "Description": "Make a validated draft routable. Returns 409 when the endpoint was never validated, the validation is stale, or it is already active. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1068,7 +1090,7 @@ "Setup": null }, { - "Order": 98, + "Order": 100, "Title": "Create a private endpoint", "Slug": "createprivateendpoint", "Description": "Create a private endpoint as a draft. Drafts are not routable: validate one with \u0060POST /private-endpoints/{id}/validate\u0060, then activate it with \u0060POST /private-endpoints/{id}/activate\u0060. Pass \u0060activate\u0060 to do all three in one call; if validation fails the draft is kept and returned with the failed checks. Send an \u0060Idempotency-Key\u0060 header to make retries safe: a repeated key with the same request returns the endpoint the first request created; reusing it with different fields returns 422 \u0060idempotency_key_reused\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1079,7 +1101,7 @@ "Setup": null }, { - "Order": 99, + "Order": 101, "Title": "Delete a private endpoint", "Slug": "deleteprivateendpoint", "Description": "Delete a private endpoint and stop routing to it. Pass \u0060draft_only=true\u0060 to refuse (409) when the endpoint has been activated. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1090,7 +1112,7 @@ "Setup": null }, { - "Order": 100, + "Order": 102, "Title": "Disable a private endpoint", "Slug": "disableprivateendpoint", "Description": "Stop routing to an active endpoint without deleting it. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1101,7 +1123,7 @@ "Setup": null }, { - "Order": 101, + "Order": 103, "Title": "Enable a private endpoint", "Slug": "enableprivateendpoint", "Description": "Resume routing to a disabled endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1112,7 +1134,7 @@ "Setup": null }, { - "Order": 102, + "Order": 104, "Title": "Get a private endpoint", "Slug": "getprivateendpoint", "Description": "Get one private endpoint with its upstream configuration and current pricing. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1123,7 +1145,7 @@ "Setup": null }, { - "Order": 103, + "Order": 105, "Title": "List private endpoints", "Slug": "listprivateendpoints", "Description": "List the organization\u0027s private endpoints, including drafts. Requires the private endpoints entitlement. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1134,7 +1156,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 104, + "Order": 106, "Title": "Update a draft private endpoint", "Slug": "updateprivateendpoint", "Description": "Replace a draft endpoint\u0027s upstream configuration: send \u0060upstream_model_id\u0060, and \u0060base_url\u0060 to change it (an omitted \u0060base_url\u0060 keeps the stored one). Omitted data-policy declarations are kept while the upstream is unchanged and cleared when it changes. Any change clears earlier validation. Active endpoints return 409; delete and re-create them instead. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1145,7 +1167,7 @@ "Setup": null }, { - "Order": 105, + "Order": 107, "Title": "Set private endpoint pricing", "Slug": "updateprivateendpointpricing", "Description": "Set the negotiated per-token rates reported for requests routed to this endpoint. Applies to drafts and active endpoints; new rates take effect for subsequent requests. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1156,7 +1178,7 @@ "Setup": null }, { - "Order": 106, + "Order": 108, "Title": "Validate a draft private endpoint", "Slug": "validateprivateendpoint", "Description": "Send a live test request to the draft endpoint using the given workspace\u0027s BYOK credential for its provider. A passing validation is required before activation. Failed checks return 200 with \u0060passed: false\u0060. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1167,7 +1189,7 @@ "Setup": null }, { - "Order": 107, + "Order": 109, "Title": "List all providers", "Slug": "listproviders", "Description": "Generated from OpenAPI examples.", @@ -1178,7 +1200,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 108, + "Order": 110, "Title": "Submit a rerank request", "Slug": "creatererank", "Description": "Submits a rerank request to the rerank router", @@ -1189,7 +1211,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 109, + "Order": 111, "Title": "Create a response", "Slug": "createresponses", "Description": "Creates a streaming or non-streaming response using OpenResponses API format", @@ -1200,7 +1222,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 110, + "Order": 112, "Title": "Create a SCIM group mapping", "Slug": "createscimgroupmapping", "Description": "Create a SCIM group-to-workspace role mapping. Creating a mapping that already exists with the same role succeeds and re-applies the mapping to the group members. Requesting a different role for an existing mapping returns 409. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1211,7 +1233,7 @@ "Setup": null }, { - "Order": 111, + "Order": 113, "Title": "Start a SCIM directory sync", "Slug": "createscimsyncjob", "Description": "Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1222,7 +1244,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 112, + "Order": 114, "Title": "Delete a SCIM group mapping", "Slug": "deletescimgroupmapping", "Description": "Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1233,7 +1255,7 @@ "Setup": null }, { - "Order": 113, + "Order": 115, "Title": "Get SCIM directory sync status", "Slug": "getscimsyncjob", "Description": "Get SCIM directory sync status. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1244,7 +1266,7 @@ "Setup": null }, { - "Order": 114, + "Order": 116, "Title": "List SCIM groups", "Slug": "listscimgroups", "Description": "List SCIM groups for the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1255,7 +1277,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 115, + "Order": 117, "Title": "List SCIM group mappings", "Slug": "listscimgroupmappings", "Description": "List SCIM group-to-workspace mappings for the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1266,7 +1288,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 116, + "Order": 118, "Title": "Get a SCIM group mapping", "Slug": "getscimgroupmapping", "Description": "Get a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1277,7 +1299,7 @@ "Setup": null }, { - "Order": 117, + "Order": 119, "Title": "Update a SCIM group mapping", "Slug": "updatescimgroupmapping", "Description": "Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1288,7 +1310,7 @@ "Setup": null }, { - "Order": 118, + "Order": 120, "Title": "Create transcription", "Slug": "createaudiotranscriptions", "Description": "Transcribes audio into text. Accepts base64-encoded audio input as JSON, an OpenAI-style multipart/form-data file upload, or a URL the provider downloads directly, and returns the transcribed text.", @@ -1299,7 +1321,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 119, + "Order": 121, "Title": "Submit a System One request", "Slug": "createsystemone", "Description": "Sends state and typed questions to a System One model such as Jev and returns its answers. Compatible with the TypeSafe SDKs. Bare System One model IDs such as \u0060jev-1.13\u0060 and \u0060jev-latest\u0060 are mapped onto the \u0060typesafe/\u0060 namespace.", @@ -1310,7 +1332,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 120, + "Order": 122, "Title": "Get a server tool", "Slug": "gettool", "Description": "One server tool by canonical name or any accepted alias, with the models that run it natively.", @@ -1321,7 +1343,7 @@ "Setup": null }, { - "Order": 121, + "Order": 123, "Title": "List server tools", "Slug": "listtools", "Description": "Lists every server tool OpenRouter can run on behalf of a model: accepted \u0060tools[].type\u0060 spellings per API format, the engines behind it with their pricing, and how many endpoints run it natively.", @@ -1332,7 +1354,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 122, + "Order": 124, "Title": "Create speech", "Slug": "createaudiospeech", "Description": "Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).", @@ -1343,7 +1365,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 123, + "Order": 125, "Title": "Copy workspace secrets to an intern", "Slug": "copyvaultsecretstointern", "Description": "Copies the named workspace secrets into one intern\u0027s scope, replacing any intern secret with the same name. Each copy keeps the source value and host bindings. Every name must exist in the workspace scope or the request fails with 404 and nothing is copied. A workspace secret whose \u0060hosts\u0060 is \u0060null\u0060 cannot be copied: the request fails with 409 and nothing is copied until that secret is stored again with hosts. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1354,7 +1376,7 @@ "Setup": null }, { - "Order": 124, + "Order": 126, "Title": "Delete an intern secret", "Slug": "deleteinternvaultsecret", "Description": "Deletes a secret stored for one intern. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1365,7 +1387,7 @@ "Setup": null }, { - "Order": 125, + "Order": 127, "Title": "Delete a workspace secret", "Slug": "deletevaultsecret", "Description": "Deletes a secret from the workspace of the authenticated API key. Returns 204 with no body on success and 404 when the secret does not exist in the selected scope. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1376,7 +1398,7 @@ "Setup": null }, { - "Order": 126, + "Order": 128, "Title": "List the secrets an intern receives", "Slug": "listinterneffectivevaultsecrets", "Description": "Lists, one entry per name, the secret the intern\u0027s outbound requests receive: its own secrets, secrets from an attached vault, and workspace secrets, including ones stored before workspace-scoped storage. Where several vaults hold a name, the entry is the one that wins, in the order intern, attached, workspace. The same resolution decides what outbound requests receive, so this list and the intern\u0027s requests agree. \u0060scope\u0060 says which vault the entry comes from. Responses carry metadata only, never values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. Returns 404 when the intern\u0027s attached vault is no longer available, since the intern then receives no secrets. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1387,7 +1409,7 @@ "Setup": null }, { - "Order": 127, + "Order": 129, "Title": "List intern secrets", "Slug": "listinternvaultsecrets", "Description": "Lists secret metadata stored for one intern. The list includes secrets stored from the dashboard or at provisioning before workspace-scoped storage; where both exist under one name, the one stored through this API is listed. Those older secrets cannot be deleted or copied through this API, and storing the same name through this API replaces them. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1398,7 +1420,7 @@ "Setup": null }, { - "Order": 128, + "Order": 130, "Title": "List workspace secrets", "Slug": "listvaultsecrets", "Description": "Lists secret metadata for the workspace of the authenticated API key. The list includes secrets stored from the dashboard or at provisioning before workspace-scoped storage; where both exist under one name, the one stored through this API is listed. Those older secrets cannot be deleted or copied through this API, and storing the same name through this API replaces them. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with \u0060limit\u0060 and \u0060offset\u0060. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1409,7 +1431,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 129, + "Order": 131, "Title": "Store an intern secret", "Slug": "storeinternvaultsecret", "Description": "Creates or replaces a secret stored for one intern. The value is encrypted at rest and released only to the exact hostnames in \u0060hosts\u0060. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1420,7 +1442,7 @@ "Setup": null }, { - "Order": 130, + "Order": 132, "Title": "Store a workspace secret", "Slug": "storevaultsecret", "Description": "Creates or replaces a secret in the workspace of the authenticated API key. The value is encrypted at rest and released only to the exact hostnames in \u0060hosts\u0060. The response carries metadata only. Writes return 503 while vault writes are disabled for the caller. The scope is selected by the API key: workspace routes act on the key\u0027s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. An intern\u0027s own API key is confined to that intern: it can always read the intern\u0027s secrets and effective secrets, writes to them follow the rules above, and every other intern and every workspace route answers 404. Requests on regional hostnames such as \u0060eu.openrouter.ai\u0060 are refused. [API key](/docs/api-reference/authentication) required.", @@ -1431,7 +1453,7 @@ "Setup": null }, { - "Order": 131, + "Order": 133, "Title": "Submit a video generation request", "Slug": "createvideos", "Description": "Submits a video generation request and returns a polling URL to check status", @@ -1442,7 +1464,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 132, + "Order": 134, "Title": "Poll video generation status", "Slug": "getvideos", "Description": "Returns job status and content URLs when completed", @@ -1453,7 +1475,7 @@ "Setup": null }, { - "Order": 133, + "Order": 135, "Title": "Download generated video content", "Slug": "listvideoscontent", "Description": "Streams the generated video content from the upstream provider", @@ -1464,7 +1486,7 @@ "Setup": null }, { - "Order": 134, + "Order": 136, "Title": "List all video generation models", "Slug": "listvideosmodels", "Description": "Returns a list of all available video generation models and their properties", @@ -1475,7 +1497,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 135, + "Order": 137, "Title": "Bulk add members to a workspace", "Slug": "bulkaddworkspacemembers", "Description": "Add multiple organization members to a workspace. Members are assigned the same role they hold in the organization. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1486,7 +1508,7 @@ "Setup": null }, { - "Order": 136, + "Order": 138, "Title": "Bulk remove members from a workspace", "Slug": "bulkremoveworkspacemembers", "Description": "Remove multiple members from a workspace. Members with active API keys in the workspace cannot be removed. SCIM-managed members cannot be removed; changes must be made in your identity provider. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1497,7 +1519,7 @@ "Setup": null }, { - "Order": 137, + "Order": 139, "Title": "Create a workspace", "Slug": "createworkspace", "Description": "Create a new workspace for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1508,7 +1530,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 138, + "Order": 140, "Title": "Delete a workspace", "Slug": "deleteworkspace", "Description": "Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1519,7 +1541,7 @@ "Setup": null }, { - "Order": 139, + "Order": 141, "Title": "Delete a workspace budget", "Slug": "deleteworkspacebudget", "Description": "Remove the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1530,7 +1552,7 @@ "Setup": null }, { - "Order": 140, + "Order": 142, "Title": "Get a workspace", "Slug": "getworkspace", "Description": "Get a single workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1541,7 +1563,7 @@ "Setup": null }, { - "Order": 141, + "Order": 143, "Title": "Get a workspace budget", "Slug": "getworkspacebudget", "Description": "Retrieve the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1552,7 +1574,7 @@ "Setup": null }, { - "Order": 142, + "Order": 144, "Title": "List workspaces", "Slug": "listworkspaces", "Description": "List all workspaces for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1563,7 +1585,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 143, + "Order": 145, "Title": "List workspace budgets", "Slug": "listworkspacebudgets", "Description": "List all budgets configured for a workspace. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1574,7 +1596,7 @@ "Setup": null }, { - "Order": 144, + "Order": 146, "Title": "List workspace members", "Slug": "listworkspacemembers", "Description": "List all members of a workspace. Returns paginated results. For the default workspace, returns all organization members (implicit membership). [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1585,7 +1607,7 @@ "Setup": "This example assumes \u0060using OpenRouter;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 145, + "Order": 147, "Title": "Create or update a workspace budget", "Slug": "upsertworkspacebudget", "Description": "Create or update the budget for a given interval. Budget limits must strictly decrease as the interval narrows (lifetime \u003E monthly \u003E weekly \u003E daily). The optional \u0060include_byok_in_budgets\u0060 flag is a workspace-wide setting: when provided it applies to every budget interval for the workspace, not just the interval in this request. Note that a change made here is applied to budget enforcement immediately, but an already-open workspace settings page in the web dashboard may keep showing the previous value until it is reloaded. [Management key](/docs/guides/overview/auth/management-api-keys) required.", @@ -1596,7 +1618,7 @@ "Setup": null }, { - "Order": 146, + "Order": 148, "Title": "Update a workspace", "Slug": "updateworkspace", "Description": "Update an existing workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.", diff --git a/src/libs/OpenRouter/openapi.yaml b/src/libs/OpenRouter/openapi.yaml index 4a5560f2..e09fd358 100644 --- a/src/libs/OpenRouter/openapi.yaml +++ b/src/libs/OpenRouter/openapi.yaml @@ -12,6 +12,7 @@ "AppDisplayName": { "name": "X-OpenRouter-Title", "in": "header", + "x-speakeasy-name-override": "appTitle", "schema": { "type": "string" }, @@ -20,6 +21,7 @@ "AppCategories": { "name": "X-OpenRouter-Categories", "in": "header", + "x-speakeasy-name-override": "appCategories", "schema": { "type": "string" }, @@ -613,6 +615,27 @@ ], "type": "object" }, + "AliasTargetV2": { + "additionalProperties": false, + "description": "For an `alias` record, the model it currently resolves to; absent while the alias has no live target", + "properties": { + "name": { + "description": "Name of the model the alias currently resolves to", + "example": "Anthropic: Claude Opus 4.5", + "type": "string" + }, + "slug": { + "description": "Slug of the model the alias currently resolves to", + "example": "anthropic/claude-opus-4.5", + "type": "string" + } + }, + "required": [ + "slug", + "name" + ], + "type": "object" + }, "Alignment": { "additionalProperties": false, "description": "Beta. The result of the alignment plugin for this request; the shape may change.", @@ -6331,7 +6354,8 @@ "type": "integer" }, "error": { - "$ref": "#/components/schemas/ResponsesErrorField" + "$ref": "#/components/schemas/ResponsesErrorField", + "nullable": true }, "frequency_penalty": { "format": "double", @@ -6344,22 +6368,26 @@ "type": "string" }, "incomplete_details": { - "$ref": "#/components/schemas/IncompleteDetails" + "$ref": "#/components/schemas/IncompleteDetails", + "nullable": true }, "instructions": { - "$ref": "#/components/schemas/BaseInputs" + "$ref": "#/components/schemas/BaseInputs", + "nullable": true }, "max_output_tokens": { "type": [ "integer", "null" - ] + ], + "nullable": true }, "max_tool_calls": { "type": [ "integer", "null" - ] + ], + "nullable": true }, "metadata": { "$ref": "#/components/schemas/RequestMetadata" @@ -6453,7 +6481,8 @@ "$ref": "#/components/schemas/PromptCacheOptions" }, "reasoning": { - "$ref": "#/components/schemas/BaseReasoningConfig" + "$ref": "#/components/schemas/BaseReasoningConfig", + "nullable": true }, "safety_identifier": { "type": [ @@ -6478,7 +6507,8 @@ ] }, "text": { - "$ref": "#/components/schemas/TextConfig" + "$ref": "#/components/schemas/TextConfig", + "nullable": true }, "tool_choice": { "$ref": "#/components/schemas/OpenAIResponsesToolChoice" @@ -6581,7 +6611,8 @@ "type": "array" }, "top_logprobs": { - "type": "integer" + "type": "integer", + "nullable": true }, "top_p": { "format": "double", @@ -6591,7 +6622,8 @@ ] }, "truncation": { - "$ref": "#/components/schemas/Truncation" + "$ref": "#/components/schemas/Truncation", + "nullable": true }, "usage": { "$ref": "#/components/schemas/OpenAIResponsesUsage" @@ -14648,6 +14680,22 @@ ], "type": "object" }, + "DatacenterV2": { + "additionalProperties": false, + "properties": { + "country_code": { + "pattern": "^[A-Z]{2}$", + "type": "string" + }, + "region": { + "type": "string" + } + }, + "required": [ + "country_code" + ], + "type": "object" + }, "DatetimeServerTool": { "description": "OpenRouter built-in server tool: returns the current date and time", "example": { @@ -15183,28 +15231,32 @@ "type": [ "number", "null" - ] + ], + "nullable": true }, "presence_penalty": { "format": "double", "type": [ "number", "null" - ] + ], + "nullable": true }, "repetition_penalty": { "format": "double", "type": [ "number", "null" - ] + ], + "nullable": true }, "temperature": { "format": "double", "type": [ "number", "null" - ] + ], + "nullable": true }, "top_k": { "type": [ @@ -15217,7 +15269,8 @@ "type": [ "number", "null" - ] + ], + "nullable": true } }, "type": [ @@ -15389,6 +15442,17 @@ "x-speakeasy-ignore": true, "x-speakeasy-unknown-values": "allow" }, + "DescriptorUnitV2": { + "enum": [ + "second", + "pixel", + "byte", + "token", + "character" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, "EasyInputMessage": { "example": { "content": "What is the weather today?", @@ -15560,6 +15624,242 @@ ], "type": "object" }, + "EndpointDataPolicyV2": { + "additionalProperties": false, + "properties": { + "retains_prompts": { + "description": "Whether the provider retains prompts; `false` is a zero-data-retention endpoint, as listed by `GET /api/v1/endpoints/zdr`", + "example": false, + "type": "boolean" + }, + "retention_days": { + "description": "How long retained prompts are kept, when the provider states it", + "example": 30, + "type": "integer" + }, + "training": { + "description": "Whether the provider may train on prompts sent to this endpoint", + "example": false, + "type": "boolean" + } + }, + "required": [ + "training", + "retains_prompts" + ], + "type": "object" + }, + "EndpointDocumentV2": { + "additionalProperties": false, + "description": "A published endpoint in the Models API V2 document format, the same schema providers publish to OpenRouter, with modalities under `inputs`/`outputs` and their constraints under `params`, extended with the provider that serves it and its data policy", + "example": { + "created": 1687882411, + "data_policy": { + "retains_prompts": false, + "training": false + }, + "id": "gpt-4", + "inputs": [ + { + "params": { + "max_length": { + "unit": "token", + "value": 8192 + } + }, + "pricing": [ + { + "cost_usd": "0.00003", + "type": "prompt", + "unit": "token" + } + ], + "type": "text" + } + ], + "name": "GPT-4", + "openrouter": { + "slug": "openai/gpt-4" + }, + "outputs": [ + { + "max_length": { + "unit": "token", + "value": 4096 + }, + "params": { + "max_tokens": { + "type": "unknown" + }, + "temperature": { + "type": "unknown" + }, + "tools": { + "type": "unknown" + } + }, + "pricing": [ + { + "cost_usd": "0.00006", + "type": "completion", + "unit": "token" + } + ], + "type": "text" + } + ], + "provider": { + "name": "OpenAI", + "slug": "openai", + "tag": "openai" + }, + "schema_version": "2.4" + }, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/RequestCapacityEntryV2" + }, + "type": "array" + }, + "created": { + "type": "integer" + }, + "data_policy": { + "$ref": "#/components/schemas/EndpointDataPolicyV2" + }, + "datacenters": { + "items": { + "$ref": "#/components/schemas/DatacenterV2" + }, + "type": "array" + }, + "deployment_region": { + "minLength": 1, + "type": "string" + }, + "deprecation_date": { + "anyOf": [ + { + "format": "date", + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "description": { + "type": "string" + }, + "discount_to_user": { + "exclusiveMaximum": true, + "maximum": 1, + "type": "number" + }, + "hugging_face_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "inputs": { + "description": "Input modalities of the endpoint as full objects (the provider document's `input_modalities`), one entry per modality type with its `params` and pricing; the model-level `inputs` lists the types only", + "items": { + "$ref": "#/components/schemas/ModelInputV2" + }, + "minItems": 1, + "type": "array" + }, + "is_free": { + "type": "boolean" + }, + "is_ready": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "openrouter": { + "$ref": "#/components/schemas/EndpointOpenrouterV2" + }, + "outputs": { + "description": "Output modalities of the endpoint as full objects (the provider document's `output_modalities`), one entry per modality type with its `params` and pricing; the model-level `outputs` lists the types only", + "items": { + "$ref": "#/components/schemas/ModelOutputV2" + }, + "minItems": 1, + "type": "array" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type", + "items": { + "$ref": "#/components/schemas/RequestPricingEntryV2" + }, + "type": "array" + }, + "provider": { + "$ref": "#/components/schemas/EndpointProviderV2" + }, + "quantization": { + "enum": [ + "int4", + "int8", + "fp4", + "mxfp4", + "nvfp4", + "fp6", + "fp8", + "mxfp8", + "fp16", + "bf16", + "fp32", + null + ], + "type": [ + "string", + "null" + ], + "x-speakeasy-unknown-values": "allow" + }, + "schema_version": { + "description": "V2 document marker. Any \"2.x\" value is accepted; OpenRouter publishes \"2.4\".", + "pattern": "^2\\.\\d+$", + "type": "string" + }, + "service_tier": { + "enum": [ + "flex", + "priority", + "ultrafast", + "fast" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "tokenizer": { + "type": "string" + } + }, + "required": [ + "schema_version", + "id", + "name", + "inputs", + "outputs", + "provider", + "data_policy" + ], + "type": "object" + }, "EndpointInfo": { "example": { "model": "openai/gpt-4o", @@ -15584,6 +15884,44 @@ ], "type": "object" }, + "EndpointOpenrouterV2": { + "additionalProperties": false, + "properties": { + "slug": { + "type": "string" + } + }, + "required": [ + "slug" + ], + "type": "object" + }, + "EndpointProviderV2": { + "additionalProperties": false, + "properties": { + "name": { + "description": "Provider display name", + "example": "OpenAI", + "type": "string" + }, + "slug": { + "description": "Provider slug, as listed by `GET /api/v1/providers` and accepted by the `provider.order` and `provider.only` routing preferences", + "example": "openai", + "type": "string" + }, + "tag": { + "description": "Routing tag of the deployment serving this endpoint: the provider slug, extended with a region or tier segment when the provider runs several deployments (e.g. `azure/global`)", + "example": "openai", + "type": "string" + } + }, + "required": [ + "slug", + "tag", + "name" + ], + "type": "object" + }, "EndpointsMetadata": { "example": { "available": [ @@ -20359,6 +20697,43 @@ ], "type": "object" }, + "InputCapacityEntryV2": { + "additionalProperties": false, + "properties": { + "per": { + "enum": [ + "minute", + "hour", + "day" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": { + "enum": [ + "prompt", + "cached_prompt", + "cache_write" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "unit": { + "$ref": "#/components/schemas/InputPricingUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "per", + "value" + ], + "type": "object" + }, "InputFile": { "description": "File input content item", "example": { @@ -20538,6 +20913,191 @@ "type": "string", "x-speakeasy-unknown-values": "allow" }, + "InputPricingEntryV2": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "cost_usd": { + "description": "Non-negative decimal number string, e.g. \"0.000008\"", + "pattern": "^\\d+(\\.\\d+)?$", + "type": "string" + }, + "overrides": { + "items": { + "$ref": "#/components/schemas/PricingOverrideV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "prompt" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/InputPricingUnitV2" + }, + "utc_days": { + "description": "UTC weekdays the entry applies on; absent means every day", + "items": { + "$ref": "#/components/schemas/UtcDayV2" + }, + "minItems": 1, + "type": "array" + }, + "utc_end": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + }, + "utc_start": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "cost_usd" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cost_usd": { + "description": "Non-negative decimal number string, e.g. \"0.000008\"", + "pattern": "^\\d+(\\.\\d+)?$", + "type": "string" + }, + "implicit": { + "default": false, + "type": "boolean" + }, + "overrides": { + "items": { + "$ref": "#/components/schemas/PricingOverrideV2" + }, + "type": "array" + }, + "ttl_seconds": { + "minimum": 1, + "type": "integer" + }, + "type": { + "enum": [ + "cached_prompt" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/InputPricingUnitV2" + }, + "utc_days": { + "description": "UTC weekdays the entry applies on; absent means every day", + "items": { + "$ref": "#/components/schemas/UtcDayV2" + }, + "minItems": 1, + "type": "array" + }, + "utc_end": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + }, + "utc_start": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "cost_usd" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cost_usd": { + "description": "Non-negative decimal number string, e.g. \"0.000008\"", + "pattern": "^\\d+(\\.\\d+)?$", + "type": "string" + }, + "implicit": { + "default": false, + "type": "boolean" + }, + "overrides": { + "items": { + "$ref": "#/components/schemas/PricingOverrideV2" + }, + "type": "array" + }, + "ttl_seconds": { + "minimum": 1, + "type": "integer" + }, + "type": { + "enum": [ + "cache_write" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/InputPricingUnitV2" + }, + "utc_days": { + "description": "UTC weekdays the entry applies on; absent means every day", + "items": { + "$ref": "#/components/schemas/UtcDayV2" + }, + "minItems": 1, + "type": "array" + }, + "utc_end": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + }, + "utc_start": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "cost_usd" + ], + "type": "object" + } + ] + }, + "InputPricingUnitV2": { + "description": "`megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated.", + "enum": [ + "token", + "image", + "megapixel", + "second", + "character" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, "InputReference": { "description": "A reference asset used to guide video generation. Image references are supported by all providers; audio and video references are only honored by providers that support them (including BytePlus Seedance generation 2 and newer).", "discriminator": { @@ -26617,1600 +27177,2211 @@ "type": "string", "x-speakeasy-unknown-values": "allow" }, - "ModelLinks": { - "description": "Related API endpoints and resources for this model.", - "example": { - "details": "/api/v1/models/openai/gpt-5.4/endpoints" - }, - "properties": { - "details": { - "description": "URL for the model details/endpoints API", - "example": "/api/v1/models/openai/gpt-5.4/endpoints", - "type": "string" - } - }, - "required": [ - "details" - ], - "type": "object" - }, - "ModelName": { - "description": "Model to use for completion", - "example": "openai/gpt-4", - "type": "string" - }, - "ModelReasoning": { - "description": "Reasoning effort configuration. Omitted for non-reasoning models and dynamic router models.", + "ModelInputV2": { + "description": "An input modality of the endpoint: its `params` (the provider document's `supported_inputs`, with the text window as `max_length`), pricing, capacity and passthrough parameters", "example": { - "default_effort": "medium", - "default_enabled": true, - "mandatory": false, - "supported_efforts": [ - "high", - "medium", - "low", - "minimal" - ] - }, - "properties": { - "default_effort": { - "allOf": [ - { - "$ref": "#/components/schemas/ReasoningEffort" - }, - { - "description": "Default reasoning effort when the client enables reasoning without specifying effort. Maps to `reasoning.effort` in chat requests. When `\"none\"`, prefer omitting effort unless the user explicitly disables reasoning." - } - ] - }, - "default_enabled": { - "description": "Default reasoning enabled state when the client does not set `reasoning.enabled`.", - "type": "boolean" - }, - "mandatory": { - "description": "When true, reasoning cannot be disabled and effort \"none\" is rejected.", - "type": "boolean" - }, - "supported_efforts": { - "description": "Allowed reasoning effort values for this model, in descending effort order (highest first). Null means no allowlist — all gateway effort values are accepted.", - "items": { - "$ref": "#/components/schemas/ReasoningEffort" - }, - "type": [ - "array", - "null" - ] + "params": { + "max_length": { + "unit": "token", + "value": 8192 + } }, - "supports_max_tokens": { - "description": "Present and `true` when the model accepts `reasoning.max_tokens` in requests (Anthropic-style) instead of or in addition to `reasoning.effort`. Omitted otherwise.", - "type": "boolean" - } - }, - "required": [ - "mandatory" - ], - "type": "object" - }, - "ModelResponse": { - "description": "Single model response", - "example": { - "data": { - "architecture": { - "input_modalities": [ - "text" - ], - "instruct_type": "chatml", - "modality": "text->text", - "output_modalities": [ - "text" - ], - "tokenizer": "GPT" - }, - "canonical_slug": "openai/gpt-4", - "context_length": 8192, - "created": 1692901234, - "default_parameters": null, - "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", - "expiration_date": null, - "id": "openai/gpt-4", - "knowledge_cutoff": null, - "links": { - "details": "/api/v1/models/openai/gpt-4/endpoints" - }, - "name": "GPT-4", - "per_request_limits": null, - "pricing": { - "completion": "0.00006", - "image": "0", - "prompt": "0.00003", - "request": "0" - }, - "supported_parameters": [ - "temperature", - "top_p", - "max_tokens" - ], - "supported_voices": null, - "top_provider": { - "context_length": 8192, - "is_moderated": true, - "max_completion_tokens": 4096 + "pricing": [ + { + "cost_usd": "0.00003", + "type": "prompt", + "unit": "token" } - } - }, - "properties": { - "data": { - "$ref": "#/components/schemas/Model" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "ModelsCountResponse": { - "description": "Model count data", - "example": { - "data": { - "count": 150 - } + ], + "type": "text" }, - "properties": { - "data": { - "description": "Model count data", - "example": { - "count": 150 - }, + "oneOf": [ + { + "additionalProperties": false, "properties": { - "count": { - "description": "Total number of available models", - "example": 150, - "type": "integer" + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/InputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": false, + "properties": { + "max_length": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "max_prompt_length": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/InputPricingEntryV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "text" + ], + "type": "string" } }, "required": [ - "count" + "type" ], "type": "object" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "ModelsListResponse": { - "description": "List of available models", - "example": { - "data": [ - { - "architecture": { - "input_modalities": [ - "text" - ], - "instruct_type": "chatml", - "modality": "text->text", - "output_modalities": [ - "text" - ], - "tokenizer": "GPT" + }, + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/InputCapacityEntryV2" + }, + "type": "array" }, - "canonical_slug": "openai/gpt-4", - "context_length": 8192, - "created": 1692901234, - "default_parameters": null, - "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", - "expiration_date": null, - "id": "openai/gpt-4", - "knowledge_cutoff": null, - "links": { - "details": "/api/v1/models/openai/gpt-4/endpoints" + "params": { + "additionalProperties": false, + "properties": { + "detail_levels": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "auto", + "low", + "high", + "original" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + }, + "formats": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "image/png", + "image/jpeg", + "image/webp", + "image/gif" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + }, + "max_content_size_bytes": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "references": { + "additionalProperties": false, + "properties": { + "max": { + "type": "integer" + }, + "min": { + "type": "integer" + }, + "type": { + "enum": [ + "integer" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "role": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "reference", + "first_frame", + "last_frame" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + }, + "sources": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "url", + "base64" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + } + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" }, - "name": "GPT-4", - "per_request_limits": null, "pricing": { - "completion": "0.00006", - "image": "0", - "prompt": "0.00003", - "request": "0" + "description": "Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/InputPricingEntryV2" + }, + "type": "array" }, - "supported_parameters": [ - "temperature", - "top_p", - "max_tokens", - "frequency_penalty", - "presence_penalty" - ], - "supported_voices": null, - "top_provider": { - "context_length": 8192, - "is_moderated": true, - "max_completion_tokens": 4096 - } - } - ], - "links": { - "next": "/api/v1/models?offset=500&limit=500" - }, - "total_count": 150 - }, - "properties": { - "data": { - "$ref": "#/components/schemas/ModelsListResponseData" - }, - "links": { - "description": "Pagination links", - "properties": { - "next": { - "description": "URL for the next page of results, or null if this is the last page", - "example": "/api/v1/models?offset=500&limit=500", - "type": [ - "string", - "null" - ] + "type": { + "enum": [ + "image" + ], + "type": "string" } }, "required": [ - "next" + "type" ], "type": "object" }, - "total_count": { - "description": "Total number of models matching the query", - "example": 150, - "type": "integer" - } - }, - "required": [ - "data", - "total_count", - "links" - ], - "type": "object" - }, - "ModelsListResponseData": { - "description": "List of available models", - "example": [ { - "architecture": { - "input_modalities": [ - "text" - ], - "instruct_type": "chatml", - "modality": "text->text", - "output_modalities": [ - "text" - ], - "tokenizer": "GPT" + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/InputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": false, + "properties": { + "formats": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "video/mp4", + "video/webm" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + }, + "max_content_size_bytes": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "max_duration_seconds": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "exclusiveMinimum": true, + "minimum": 0, + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "sources": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "url", + "base64" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + } + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/InputPricingEntryV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "video" + ], + "type": "string" + } }, - "canonical_slug": "openai/gpt-4", - "context_length": 8192, - "created": 1692901234, - "default_parameters": null, - "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", - "expiration_date": null, - "id": "openai/gpt-4", - "knowledge_cutoff": null, - "links": { - "details": "/api/v1/models/openai/gpt-4/endpoints" + "required": [ + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/InputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": false, + "properties": { + "formats": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "audio/wav", + "audio/mpeg" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + }, + "max_content_size_bytes": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "max_duration_seconds": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "exclusiveMinimum": true, + "minimum": 0, + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "sources": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "url", + "base64" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + } + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/InputPricingEntryV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "audio" + ], + "type": "string" + } }, - "name": "GPT-4", - "per_request_limits": null, - "pricing": { - "completion": "0.00006", - "image": "0", - "prompt": "0.00003", - "request": "0" + "required": [ + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/InputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": false, + "properties": { + "formats": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "application/pdf", + "text/plain", + "text/markdown", + "text/html", + "text/csv", + "application/json" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + }, + "max_content_size_bytes": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "references": { + "additionalProperties": false, + "properties": { + "max": { + "type": "integer" + }, + "min": { + "type": "integer" + }, + "type": { + "enum": [ + "integer" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sources": { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "enum" + ], + "type": "string" + }, + "values": { + "items": { + "enum": [ + "url", + "base64" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + } + }, + "required": [ + "type", + "values" + ], + "type": "object" + } + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (ttl_seconds, implicit, utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/InputPricingEntryV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "file" + ], + "type": "string" + } }, - "supported_parameters": [ - "temperature", - "top_p", - "max_tokens" + "required": [ + "type" ], - "supported_voices": null, - "top_provider": { - "context_length": 8192, - "is_moderated": true, - "max_completion_tokens": 4096 - } + "type": "object" } - ], - "items": { - "$ref": "#/components/schemas/Model" - }, - "type": "array" + ] }, - "ModerationPlugin": { + "ModelLinks": { + "description": "Related API endpoints and resources for this model.", "example": { - "id": "moderation" + "details": "/api/v1/models/openai/gpt-5.4/endpoints" }, "properties": { - "id": { - "enum": [ - "moderation" - ], + "details": { + "description": "URL for the model details/endpoints API", + "example": "/api/v1/models/openai/gpt-5.4/endpoints", "type": "string" } }, "required": [ - "id" + "details" ], "type": "object" }, - "MultimodalMedia": { - "example": { - "data": "data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...", - "format": "wav" - }, - "properties": { - "data": { - "type": "string" - }, - "format": { - "type": "string" - } - }, - "required": [ - "data" - ], - "type": "object" + "ModelName": { + "description": "Model to use for completion", + "example": "openai/gpt-4", + "type": "string" }, - "NamespaceFunctionTool": { - "description": "A function tool grouped inside a namespace tool", + "ModelOutputV2": { + "description": "An output modality of the endpoint: its `params` (the provider document's `supported_parameters`), pricing, capacity, passthrough parameters and limits", "example": { - "name": "spawn_agent", - "type": "function" - }, - "properties": { - "allowed_callers": { - "items": { - "enum": [ - "direct", - "programmatic" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" - }, - "type": [ - "array", - "null" - ] - }, - "async": { - "description": "Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.", - "example": true, - "type": "boolean" - }, - "defer_loading": { - "type": "boolean" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": "string" - }, - "output_schema": { - "additionalProperties": {}, - "type": [ - "object", - "null" - ] - }, - "parameters": { - "additionalProperties": {}, - "type": [ - "object", - "null" - ] + "max_length": { + "unit": "token", + "value": 4096 }, - "strict": { - "type": [ - "boolean", - "null" - ] + "params": { + "max_tokens": { + "type": "unknown" + }, + "temperature": { + "type": "unknown" + } }, - "type": { - "enum": [ - "function" - ], - "type": "string" - } - }, - "required": [ - "type", - "name" - ], - "type": "object" - }, - "NamespaceTool": { - "description": "Groups function/custom tools under a shared namespace", - "example": { - "description": "Tools for spawning and managing sub-agents.", - "name": "multi_agent_v1", - "tools": [ + "pricing": [ { - "name": "spawn_agent", - "type": "function" + "cost_usd": "0.00006", + "type": "completion", + "unit": "token" } ], - "type": "namespace" + "type": "text" }, - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "tools": { - "items": { - "anyOf": [ - { - "$ref": "#/components/schemas/NamespaceFunctionTool" + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" }, - { - "$ref": "#/components/schemas/CustomTool" - } - ] + "type": "array" + }, + "max_length": { + "additionalProperties": false, + "properties": { + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" + }, + "streaming": { + "type": "boolean" + }, + "type": { + "enum": [ + "text" + ], + "type": "string" + } }, - "type": "array" - }, - "type": { - "enum": [ - "namespace" + "required": [ + "type", + "params" ], - "type": "string" - } - }, - "required": [ - "type", - "name", - "description", - "tools" - ], - "type": "object" - }, - "NotFoundResponse": { - "description": "Not Found - Resource does not exist", - "example": { - "error": { - "code": 404, - "message": "Resource not found" - } - }, - "properties": { - "error": { - "$ref": "#/components/schemas/NotFoundResponseErrorData" - }, - "openrouter_metadata": { - "additionalProperties": {}, - "type": [ - "object", - "null" - ] - }, - "user_id": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "error" - ], - "type": "object" - }, - "NotFoundResponseErrorData": { - "description": "Error data for NotFoundResponse", - "example": { - "code": 404, - "message": "Resource not found" - }, - "properties": { - "code": { - "type": "integer" - }, - "message": { - "type": "string" - }, - "metadata": { - "additionalProperties": {}, - "type": [ - "object", - "null" - ] - } - }, - "required": [ - "code", - "message" - ], - "type": "object" - }, - "OAuthErrorResponse": { - "description": "RFC 6749 §5.2 error response.", - "example": { - "error": "invalid_grant", - "error_description": "The subject token was not accepted." - }, - "properties": { - "error": { - "enum": [ - "invalid_request", - "invalid_grant", - "unsupported_grant_type", - "invalid_scope", - "server_error", - "temporarily_unavailable" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" + "type": "object" }, - "error_description": { - "type": "string" - } - }, - "required": [ - "error", - "error_description" - ], - "type": "object" - }, - "OAuthJwks": { - "description": "RFC 7517 JWK Set of the keys OpenRouter signs access tokens with.", - "example": { - "keys": [ - { - "alg": "ES256", - "crv": "P-256", - "kid": "or-2026-09", - "kty": "EC", - "use": "sig", - "x": "f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU", - "y": "x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0" - } - ] - }, - "properties": { - "keys": { - "items": { - "additionalProperties": false, - "properties": { - "alg": { - "enum": [ - "ES256" - ], - "type": "string" - }, - "crv": { - "enum": [ - "P-256" - ], - "type": "string" - }, - "kid": { - "minLength": 1, - "type": "string" + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" }, - "kty": { - "enum": [ - "EC" - ], - "type": "string" + "type": "array" + }, + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" }, - "use": { - "enum": [ - "sig" - ], - "type": "string" + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" }, - "x": { - "pattern": "^[A-Za-z0-9_-]+$", - "type": "string" + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" }, - "y": { - "pattern": "^[A-Za-z0-9_-]+$", - "type": "string" - } + "type": "array" }, - "required": [ - "kty", - "crv", - "kid", - "x", - "y", - "alg", - "use" - ], - "type": "object" - }, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "keys" - ], - "type": "object" - }, - "ObservabilityArizeDestination": { - "example": { - "api_key_hashes": null, - "broadcast_generation_cost": false, - "broadcast_generation_identity": false, - "broadcast_generation_request_context": false, - "config": { - "apiKey": "arize_...AbCd", - "baseUrl": "https://otlp.arize.com", - "modelId": "openrouter-prod", - "spaceKey": "space_...EfGh" - }, - "created_at": "2025-08-24T10:30:00Z", - "enabled": true, - "filter_rules": null, - "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Arize", - "privacy_mode": false, - "regions": [ - "global" - ], - "sampling_rate": 1, - "type": "arize", - "updated_at": "2025-08-24T15:45:00Z", - "workspace_id": "550e8400-e29b-41d4-a716-446655440000" - }, - "properties": { - "api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", - "example": null, - "items": { - "type": "string" + "streaming": { + "type": "boolean" + }, + "type": { + "enum": [ + "image" + ], + "type": "string" + } }, - "type": [ - "array", - "null" - ] - }, - "broadcast_generation_cost": { - "description": "When true, include cost and billing generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_identity": { - "description": "When true, include identity generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_request_context": { - "description": "When true, include request-context generation metadata.", - "example": false, - "type": "boolean" + "required": [ + "type", + "params" + ], + "type": "object" }, - "config": { + { + "additionalProperties": false, "properties": { - "apiKey": { - "minLength": 1, - "type": "string" + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" + }, + "type": "array" }, - "baseUrl": { - "default": "https://otlp.arize.com", - "type": "string" + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" }, - "headers": { + "passthrough_parameters": { "additionalProperties": { - "type": "string" + "$ref": "#/components/schemas/ParameterDescriptorV2" }, - "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "modelId": { - "description": "The name of the tracing project in Arize AX", - "minLength": 1, - "type": "string" + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" }, - "spaceKey": { - "minLength": 1, + "streaming": { + "type": "boolean" + }, + "type": { + "enum": [ + "video" + ], "type": "string" } }, "required": [ - "apiKey", - "spaceKey", - "modelId" + "type", + "params" ], "type": "object" }, - "created_at": { - "description": "ISO timestamp of when the destination was created.", - "example": "2025-08-24T10:30:00Z", - "type": "string" - }, - "enabled": { - "description": "Whether this destination is currently enabled.", - "example": true, - "type": "boolean" - }, - "filter_rules": { - "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" - }, - "id": { - "description": "Stable public identifier for this destination.", - "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "format": "uuid", - "type": "string" - }, - "name": { - "description": "Human-readable name for the destination.", - "example": "Production Langfuse", - "type": [ - "string", - "null" - ] - }, - "privacy_mode": { - "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", - "example": false, - "type": "boolean" - }, - "regions": { - "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", - "example": [ - "global" - ], - "items": { - "$ref": "#/components/schemas/ObservabilityDataRegion" + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" + }, + "streaming": { + "type": "boolean" + }, + "type": { + "enum": [ + "speech" + ], + "type": "string" + } }, - "minItems": 1, - "type": "array" - }, - "sampling_rate": { - "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", - "example": 1, - "format": "double", - "type": "number" - }, - "type": { - "enum": [ - "arize" + "required": [ + "type", + "params" ], - "type": "string" - }, - "updated_at": { - "description": "ISO timestamp of when the destination was last updated.", - "example": "2025-08-24T15:45:00Z", - "type": "string" - }, - "workspace_id": { - "description": "ID of the workspace this destination belongs to.", - "example": "550e8400-e29b-41d4-a716-446655440000", - "format": "uuid", - "type": "string" - } - }, - "required": [ - "id", - "workspace_id", - "regions", - "name", - "enabled", - "privacy_mode", - "broadcast_generation_cost", - "broadcast_generation_identity", - "broadcast_generation_request_context", - "sampling_rate", - "api_key_hashes", - "filter_rules", - "created_at", - "updated_at", - "type", - "config" - ], - "type": "object" - }, - "ObservabilityBraintrustDestination": { - "example": { - "api_key_hashes": null, - "broadcast_generation_cost": false, - "broadcast_generation_identity": false, - "broadcast_generation_request_context": false, - "config": { - "apiKey": "sk-...AbCd", - "baseUrl": "https://api.braintrust.dev", - "projectId": "proj_..." + "type": "object" }, - "created_at": "2025-08-24T10:30:00Z", - "enabled": true, - "filter_rules": null, - "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Braintrust", - "privacy_mode": false, - "regions": [ - "global" - ], - "sampling_rate": 1, - "type": "braintrust", - "updated_at": "2025-08-24T15:45:00Z", - "workspace_id": "550e8400-e29b-41d4-a716-446655440000" - }, - "properties": { - "api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", - "example": null, - "items": { - "type": "string" + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" + }, + "streaming": { + "type": "boolean" + }, + "type": { + "enum": [ + "transcription" + ], + "type": "string" + } }, - "type": [ - "array", - "null" - ] - }, - "broadcast_generation_cost": { - "description": "When true, include cost and billing generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_identity": { - "description": "When true, include identity generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_request_context": { - "description": "When true, include request-context generation metadata.", - "example": false, - "type": "boolean" + "required": [ + "type", + "params" + ], + "type": "object" }, - "config": { + { + "additionalProperties": false, "properties": { - "apiKey": { - "minLength": 1, - "type": "string" + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" + }, + "type": "array" }, - "baseUrl": { - "default": "https://api.braintrust.dev", - "type": "string" + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" }, - "headers": { + "passthrough_parameters": { "additionalProperties": { - "type": "string" + "$ref": "#/components/schemas/ParameterDescriptorV2" }, - "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "projectId": { - "minLength": 1, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "embeddings" + ], "type": "string" } }, "required": [ - "apiKey", - "projectId" + "type", + "params" ], "type": "object" }, - "created_at": { - "description": "ISO timestamp of when the destination was created.", - "example": "2025-08-24T10:30:00Z", - "type": "string" - }, - "enabled": { - "description": "Whether this destination is currently enabled.", - "example": true, - "type": "boolean" - }, - "filter_rules": { - "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" - }, - "id": { - "description": "Stable public identifier for this destination.", - "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "format": "uuid", - "type": "string" - }, - "name": { - "description": "Human-readable name for the destination.", - "example": "Production Langfuse", - "type": [ - "string", - "null" - ] - }, - "privacy_mode": { - "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", - "example": false, - "type": "boolean" - }, - "regions": { - "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", - "example": [ - "global" - ], - "items": { - "$ref": "#/components/schemas/ObservabilityDataRegion" + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "rerank" + ], + "type": "string" + } }, - "minItems": 1, - "type": "array" - }, - "sampling_rate": { - "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", - "example": 1, - "format": "double", - "type": "number" - }, - "type": { - "enum": [ - "braintrust" + "required": [ + "type", + "params" ], - "type": "string" - }, - "updated_at": { - "description": "ISO timestamp of when the destination was last updated.", - "example": "2025-08-24T15:45:00Z", - "type": "string" - }, - "workspace_id": { - "description": "ID of the workspace this destination belongs to.", - "example": "550e8400-e29b-41d4-a716-446655440000", - "format": "uuid", - "type": "string" - } - }, - "required": [ - "id", - "workspace_id", - "regions", - "name", - "enabled", - "privacy_mode", - "broadcast_generation_cost", - "broadcast_generation_identity", - "broadcast_generation_request_context", - "sampling_rate", - "api_key_hashes", - "filter_rules", - "created_at", - "updated_at", - "type", - "config" - ], - "type": "object" - }, - "ObservabilityClickhouseDestination": { - "example": { - "api_key_hashes": null, - "broadcast_generation_cost": false, - "broadcast_generation_identity": false, - "broadcast_generation_request_context": false, - "config": { - "database": "analytics", - "host": "https://clickhouse.example.com:8123", - "password": "********", - "table": "OPENROUTER_TRACES", - "username": "default" + "type": "object" }, - "created_at": "2025-08-24T10:30:00Z", - "enabled": true, - "filter_rules": null, - "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production ClickHouse", - "privacy_mode": false, - "regions": [ - "global" - ], - "sampling_rate": 1, - "type": "clickhouse", - "updated_at": "2025-08-24T15:45:00Z", - "workspace_id": "550e8400-e29b-41d4-a716-446655440000" - }, - "properties": { - "api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", - "example": null, - "items": { - "type": "string" + { + "additionalProperties": false, + "properties": { + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" + }, + "type": "array" + }, + "params": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "decisions" + ], + "type": "string" + } }, - "type": [ - "array", - "null" - ] - }, - "broadcast_generation_cost": { - "description": "When true, include cost and billing generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_identity": { - "description": "When true, include identity generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_request_context": { - "description": "When true, include request-context generation metadata.", - "example": false, - "type": "boolean" + "required": [ + "type", + "params" + ], + "type": "object" }, - "config": { + { + "additionalProperties": false, "properties": { - "database": { - "minLength": 1, - "type": "string" + "capacity": { + "description": "Entries must be unique by type, unit, and window", + "items": { + "$ref": "#/components/schemas/OutputCapacityEntryV2" + }, + "type": "array" }, - "headers": { + "params": { "additionalProperties": { - "type": "string" + "$ref": "#/components/schemas/ParameterDescriptorV2" }, - "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "host": { - "minLength": 1, - "type": "string" + "passthrough_parameters": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" }, - "password": { - "minLength": 1, - "type": "string" + "pricing": { + "description": "Entries must be unique by type together with the qualifier fields (utc_start, utc_end)", + "items": { + "$ref": "#/components/schemas/OutputPricingEntryV2" + }, + "type": "array" }, - "shouldIncludeCacheWriteTokens": { - "default": false, - "description": "Send the cache_write_tokens column (schema v2). Turn this on after the table has that column.", + "streaming": { "type": "boolean" }, - "table": { - "default": "OPENROUTER_TRACES", - "type": "string" - }, - "username": { - "description": "If you have not set a specific username in ClickHouse, simply type in 'default' below.", - "minLength": 1, + "type": { + "enum": [ + "audio" + ], "type": "string" } }, "required": [ - "host", - "database", - "username", - "password" + "type", + "params" ], "type": "object" + } + ] + }, + "ModelReasoning": { + "description": "Reasoning effort configuration. Omitted for non-reasoning models and dynamic router models.", + "example": { + "default_effort": "medium", + "default_enabled": true, + "mandatory": false, + "supported_efforts": [ + "high", + "medium", + "low", + "minimal" + ] + }, + "properties": { + "default_effort": { + "allOf": [ + { + "$ref": "#/components/schemas/ReasoningEffort" + }, + { + "description": "Default reasoning effort when the client enables reasoning without specifying effort. Maps to `reasoning.effort` in chat requests. When `\"none\"`, prefer omitting effort unless the user explicitly disables reasoning." + } + ] }, - "created_at": { - "description": "ISO timestamp of when the destination was created.", - "example": "2025-08-24T10:30:00Z", - "type": "string" - }, - "enabled": { - "description": "Whether this destination is currently enabled.", - "example": true, + "default_enabled": { + "description": "Default reasoning enabled state when the client does not set `reasoning.enabled`.", "type": "boolean" }, - "filter_rules": { - "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" - }, - "id": { - "description": "Stable public identifier for this destination.", - "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "format": "uuid", - "type": "string" + "mandatory": { + "description": "When true, reasoning cannot be disabled and effort \"none\" is rejected.", + "type": "boolean" }, - "name": { - "description": "Human-readable name for the destination.", - "example": "Production Langfuse", + "supported_efforts": { + "description": "Allowed reasoning effort values for this model, in descending effort order (highest first). Null means no allowlist — all gateway effort values are accepted.", + "items": { + "$ref": "#/components/schemas/ReasoningEffort" + }, "type": [ - "string", + "array", "null" ] }, - "privacy_mode": { - "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", - "example": false, + "supports_max_tokens": { + "description": "Present and `true` when the model accepts `reasoning.max_tokens` in requests (Anthropic-style) instead of or in addition to `reasoning.effort`. Omitted otherwise.", "type": "boolean" - }, - "regions": { - "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", - "example": [ - "global" - ], - "items": { - "$ref": "#/components/schemas/ObservabilityDataRegion" + } + }, + "required": [ + "mandatory" + ], + "type": "object" + }, + "ModelResponse": { + "description": "Single model response", + "example": { + "data": { + "architecture": { + "input_modalities": [ + "text" + ], + "instruct_type": "chatml", + "modality": "text->text", + "output_modalities": [ + "text" + ], + "tokenizer": "GPT" }, - "minItems": 1, - "type": "array" - }, - "sampling_rate": { - "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", - "example": 1, - "format": "double", - "type": "number" - }, - "type": { - "enum": [ - "clickhouse" + "canonical_slug": "openai/gpt-4", + "context_length": 8192, + "created": 1692901234, + "default_parameters": null, + "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", + "expiration_date": null, + "id": "openai/gpt-4", + "knowledge_cutoff": null, + "links": { + "details": "/api/v1/models/openai/gpt-4/endpoints" + }, + "name": "GPT-4", + "per_request_limits": null, + "pricing": { + "completion": "0.00006", + "image": "0", + "prompt": "0.00003", + "request": "0" + }, + "supported_parameters": [ + "temperature", + "top_p", + "max_tokens" ], - "type": "string" - }, - "updated_at": { - "description": "ISO timestamp of when the destination was last updated.", - "example": "2025-08-24T15:45:00Z", - "type": "string" - }, - "workspace_id": { - "description": "ID of the workspace this destination belongs to.", - "example": "550e8400-e29b-41d4-a716-446655440000", - "format": "uuid", - "type": "string" + "supported_voices": null, + "top_provider": { + "context_length": 8192, + "is_moderated": true, + "max_completion_tokens": 4096 + } + } + }, + "properties": { + "data": { + "$ref": "#/components/schemas/Model" } }, "required": [ - "id", - "workspace_id", - "regions", - "name", - "enabled", - "privacy_mode", - "broadcast_generation_cost", - "broadcast_generation_identity", - "broadcast_generation_request_context", - "sampling_rate", - "api_key_hashes", - "filter_rules", - "created_at", - "updated_at", - "type", - "config" + "data" ], "type": "object" }, - "ObservabilityDatadogDestination": { + "ModelsCountResponse": { + "description": "Model count data", "example": { - "api_key_hashes": null, - "broadcast_generation_cost": false, - "broadcast_generation_identity": false, - "broadcast_generation_request_context": false, - "config": { - "apiKey": "************...AbCd", - "mlApp": "my-llm-app", - "url": "https://api.datadoghq.com" - }, - "created_at": "2025-08-24T10:30:00Z", - "enabled": true, - "filter_rules": null, - "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Datadog", - "privacy_mode": false, - "regions": [ - "global" - ], - "sampling_rate": 1, - "type": "datadog", - "updated_at": "2025-08-24T15:45:00Z", - "workspace_id": "550e8400-e29b-41d4-a716-446655440000" + "data": { + "count": 150 + } }, "properties": { - "api_key_hashes": { - "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", - "example": null, - "items": { - "type": "string" + "data": { + "description": "Model count data", + "example": { + "count": 150 }, - "type": [ - "array", - "null" - ] - }, - "broadcast_generation_cost": { - "description": "When true, include cost and billing generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_identity": { - "description": "When true, include identity generation metadata.", - "example": false, - "type": "boolean" - }, - "broadcast_generation_request_context": { - "description": "When true, include request-context generation metadata.", - "example": false, - "type": "boolean" - }, - "config": { "properties": { - "apiKey": { - "description": "Datadog API key must have LLM Observability permissions. Create at: ", - "minLength": 1, - "type": "string" - }, - "headers": { - "additionalProperties": { - "type": "string" - }, - "description": "Custom HTTP headers to include in requests to this destination.", - "type": "object" - }, - "mlApp": { - "description": "Name to identify your application in Datadog LLM Observability", - "minLength": 1, - "type": "string" - }, - "url": { - "default": "https://api.datadoghq.com", - "description": "Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.us5.datadoghq.com, https://api.datadoghq.eu)", - "type": "string" + "count": { + "description": "Total number of available models", + "example": 150, + "type": "integer" } }, "required": [ - "apiKey", - "mlApp" + "count" ], "type": "object" - }, - "created_at": { - "description": "ISO timestamp of when the destination was created.", - "example": "2025-08-24T10:30:00Z", - "type": "string" - }, - "enabled": { - "description": "Whether this destination is currently enabled.", - "example": true, - "type": "boolean" - }, - "filter_rules": { - "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" - }, - "id": { - "description": "Stable public identifier for this destination.", - "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "format": "uuid", - "type": "string" - }, - "name": { - "description": "Human-readable name for the destination.", - "example": "Production Langfuse", - "type": [ - "string", - "null" - ] - }, - "privacy_mode": { - "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", - "example": false, - "type": "boolean" - }, - "regions": { - "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", - "example": [ - "global" - ], - "items": { - "$ref": "#/components/schemas/ObservabilityDataRegion" - }, - "minItems": 1, - "type": "array" - }, - "sampling_rate": { - "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", - "example": 1, - "format": "double", - "type": "number" - }, - "type": { - "enum": [ - "datadog" - ], - "type": "string" - }, - "updated_at": { - "description": "ISO timestamp of when the destination was last updated.", - "example": "2025-08-24T15:45:00Z", - "type": "string" - }, - "workspace_id": { - "description": "ID of the workspace this destination belongs to.", - "example": "550e8400-e29b-41d4-a716-446655440000", - "format": "uuid", - "type": "string" } }, "required": [ - "id", - "workspace_id", - "regions", - "name", - "enabled", - "privacy_mode", - "broadcast_generation_cost", - "broadcast_generation_identity", - "broadcast_generation_request_context", - "sampling_rate", - "api_key_hashes", - "filter_rules", - "created_at", - "updated_at", - "type", - "config" + "data" ], "type": "object" }, - "ObservabilityDataRegion": { - "enum": [ - "global", - "europe", - "us" - ], - "example": "global", - "type": "string", - "x-speakeasy-unknown-values": "allow" - }, - "ObservabilityDataRegionInput": { - "description": "`eu` is accepted as an alias for `europe` and normalizes to `europe`.", - "enum": [ - "global", - "europe", - "us", - "eu" - ], - "example": "global", - "type": "string", - "x-speakeasy-unknown-values": "allow" - }, - "ObservabilityDestination": { - "discriminator": { - "mapping": { - "arize": "#/components/schemas/ObservabilityArizeDestination", - "braintrust": "#/components/schemas/ObservabilityBraintrustDestination", - "clickhouse": "#/components/schemas/ObservabilityClickhouseDestination", - "datadog": "#/components/schemas/ObservabilityDatadogDestination", - "grafana": "#/components/schemas/ObservabilityGrafanaDestination", - "langfuse": "#/components/schemas/ObservabilityLangfuseDestination", - "langsmith": "#/components/schemas/ObservabilityLangsmithDestination", - "newrelic": "#/components/schemas/ObservabilityNewrelicDestination", - "opik": "#/components/schemas/ObservabilityOpikDestination", - "otel-collector": "#/components/schemas/ObservabilityOtelCollectorDestination", - "posthog": "#/components/schemas/ObservabilityPosthogDestination", - "ramp": "#/components/schemas/ObservabilityRampDestination", - "s3": "#/components/schemas/ObservabilityS3Destination", - "sentry": "#/components/schemas/ObservabilitySentryDestination", - "snowflake": "#/components/schemas/ObservabilitySnowflakeDestination", - "weave": "#/components/schemas/ObservabilityWeaveDestination", - "webhook": "#/components/schemas/ObservabilityWebhookDestination" - }, - "propertyName": "type" - }, + "ModelsListResponse": { + "description": "List of available models", "example": { - "api_key_hashes": null, - "broadcast_generation_cost": false, - "broadcast_generation_identity": false, - "broadcast_generation_request_context": false, - "config": { - "baseUrl": "https://us.cloud.langfuse.com", - "publicKey": "pk-l...EfGh", - "secretKey": "sk-l...AbCd" - }, - "created_at": "2025-08-24T10:30:00Z", - "enabled": true, - "filter_rules": null, - "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Langfuse", - "privacy_mode": false, - "regions": [ - "global" + "data": [ + { + "architecture": { + "input_modalities": [ + "text" + ], + "instruct_type": "chatml", + "modality": "text->text", + "output_modalities": [ + "text" + ], + "tokenizer": "GPT" + }, + "canonical_slug": "openai/gpt-4", + "context_length": 8192, + "created": 1692901234, + "default_parameters": null, + "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", + "expiration_date": null, + "id": "openai/gpt-4", + "knowledge_cutoff": null, + "links": { + "details": "/api/v1/models/openai/gpt-4/endpoints" + }, + "name": "GPT-4", + "per_request_limits": null, + "pricing": { + "completion": "0.00006", + "image": "0", + "prompt": "0.00003", + "request": "0" + }, + "supported_parameters": [ + "temperature", + "top_p", + "max_tokens", + "frequency_penalty", + "presence_penalty" + ], + "supported_voices": null, + "top_provider": { + "context_length": 8192, + "is_moderated": true, + "max_completion_tokens": 4096 + } + } ], - "sampling_rate": 1, - "type": "langfuse", - "updated_at": "2025-08-24T15:45:00Z", - "workspace_id": "550e8400-e29b-41d4-a716-446655440000" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/ObservabilityArizeDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityBraintrustDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityClickhouseDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityDatadogDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityGrafanaDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityLangfuseDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityLangsmithDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityNewrelicDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityOpikDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityOtelCollectorDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityPosthogDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityRampDestination" - }, - { - "$ref": "#/components/schemas/ObservabilityS3Destination" - }, - { - "$ref": "#/components/schemas/ObservabilitySentryDestination" + "links": { + "next": "/api/v1/models?offset=500&limit=500" }, - { - "$ref": "#/components/schemas/ObservabilitySnowflakeDestination" + "total_count": 150 + }, + "properties": { + "data": { + "$ref": "#/components/schemas/ModelsListResponseData" }, - { - "$ref": "#/components/schemas/ObservabilityWeaveDestination" + "links": { + "description": "Pagination links", + "properties": { + "next": { + "description": "URL for the next page of results, or null if this is the last page", + "example": "/api/v1/models?offset=500&limit=500", + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "next" + ], + "type": "object" }, + "total_count": { + "description": "Total number of models matching the query", + "example": 150, + "type": "integer" + } + }, + "required": [ + "data", + "total_count", + "links" + ], + "type": "object" + }, + "ModelsListResponseData": { + "description": "List of available models", + "example": [ { - "$ref": "#/components/schemas/ObservabilityWebhookDestination" + "architecture": { + "input_modalities": [ + "text" + ], + "instruct_type": "chatml", + "modality": "text->text", + "output_modalities": [ + "text" + ], + "tokenizer": "GPT" + }, + "canonical_slug": "openai/gpt-4", + "context_length": 8192, + "created": 1692901234, + "default_parameters": null, + "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", + "expiration_date": null, + "id": "openai/gpt-4", + "knowledge_cutoff": null, + "links": { + "details": "/api/v1/models/openai/gpt-4/endpoints" + }, + "name": "GPT-4", + "per_request_limits": null, + "pricing": { + "completion": "0.00006", + "image": "0", + "prompt": "0.00003", + "request": "0" + }, + "supported_parameters": [ + "temperature", + "top_p", + "max_tokens" + ], + "supported_voices": null, + "top_provider": { + "context_length": 8192, + "is_moderated": true, + "max_completion_tokens": 4096 + } } - ] + ], + "items": { + "$ref": "#/components/schemas/Model" + }, + "type": "array" }, - "ObservabilityFilterRuleGroup": { + "ModelsV2ListResponse": { "example": { - "logic": "and", - "rules": [ + "data": [ { - "field": "model", - "operator": "equals", - "value": "openai/gpt-4o" - } - ] - }, - "properties": { - "logic": { - "default": "and", - "enum": [ - "and", - "or" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" - }, - "rules": { - "items": { - "properties": { - "field": { - "enum": [ - "model", - "provider", - "session_id", - "user_id", - "api_key_name", - "finish_reason", - "input", - "output", - "total_cost", - "total_tokens", - "prompt_tokens", - "completion_tokens" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "contains", - "not_contains", - "regex", - "starts_with", - "ends_with", - "gt", - "lt", - "gte", - "lte", - "exists", - "not_exists" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" - }, - "value": { - "anyOf": [ + "author": "openai", + "canonical_slug": "openai/gpt-4", + "context_length": 8192, + "created": 1687882411, + "description": "OpenAI flagship model.", + "endpoints": [ + { + "created": 1687882411, + "data_policy": { + "retains_prompts": false, + "training": false + }, + "id": "gpt-4", + "inputs": [ { - "type": "string" - }, + "params": { + "max_length": { + "unit": "token", + "value": 8192 + } + }, + "pricing": [ + { + "cost_usd": "0.00003", + "type": "prompt", + "unit": "token" + } + ], + "type": "text" + } + ], + "name": "GPT-4", + "openrouter": { + "slug": "openai/gpt-4" + }, + "outputs": [ { - "type": "number" + "max_length": { + "unit": "token", + "value": 4096 + }, + "params": { + "max_tokens": { + "type": "unknown" + }, + "temperature": { + "type": "unknown" + }, + "tools": { + "type": "unknown" + } + }, + "pricing": [ + { + "cost_usd": "0.00006", + "type": "completion", + "unit": "token" + } + ], + "type": "text" } - ] + ], + "provider": { + "name": "OpenAI", + "slug": "openai", + "tag": "openai" + }, + "schema_version": "2.4" } - }, - "required": [ - "field", - "operator" ], - "type": "object" - }, - "type": "array" - } + "id": "openai/gpt-4", + "inputs": [ + "text" + ], + "kind": "model", + "name": "GPT-4", + "outputs": [ + "text" + ], + "variant": "standard" + } + ], + "links": { + "next": null + }, + "total_count": 1 }, - "required": [ - "rules" - ], - "type": "object" - }, - "ObservabilityFilterRulesConfig": { - "description": "Optional structured filter rules controlling which events are forwarded.", - "example": null, "properties": { - "enabled": { - "default": true, - "type": "boolean" - }, - "groups": { + "data": { "items": { - "$ref": "#/components/schemas/ObservabilityFilterRuleGroup" + "$ref": "#/components/schemas/ModelV2" }, "type": "array" + }, + "links": { + "description": "Pagination links", + "properties": { + "next": { + "description": "URL of the next page, or null on the last page or when pagination was not requested", + "example": "/api/v2/models?limit=500&cursor=eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ", + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "next" + ], + "type": "object" + }, + "total_count": { + "description": "Number of models that match the request filters, across all pages", + "example": 150, + "type": "integer" } }, "required": [ - "groups" + "data", + "total_count", + "links" ], - "type": [ - "object", - "null" - ] + "type": "object" }, - "ObservabilityFilterRulesConfigNullable": { - "description": "Optional structured filter rules controlling which events are forwarded.", - "example": null, + "ModelV2": { + "additionalProperties": false, + "example": { + "author": "openai", + "canonical_slug": "openai/gpt-4", + "context_length": 8192, + "created": 1687882411, + "description": "OpenAI flagship model.", + "endpoints": [ + { + "created": 1687882411, + "data_policy": { + "retains_prompts": false, + "training": false + }, + "id": "gpt-4", + "inputs": [ + { + "params": { + "max_length": { + "unit": "token", + "value": 8192 + } + }, + "pricing": [ + { + "cost_usd": "0.00003", + "type": "prompt", + "unit": "token" + } + ], + "type": "text" + } + ], + "name": "GPT-4", + "openrouter": { + "slug": "openai/gpt-4" + }, + "outputs": [ + { + "max_length": { + "unit": "token", + "value": 4096 + }, + "params": { + "max_tokens": { + "type": "unknown" + }, + "temperature": { + "type": "unknown" + }, + "tools": { + "type": "unknown" + } + }, + "pricing": [ + { + "cost_usd": "0.00006", + "type": "completion", + "unit": "token" + } + ], + "type": "text" + } + ], + "provider": { + "name": "OpenAI", + "slug": "openai", + "tag": "openai" + }, + "schema_version": "2.4" + } + ], + "id": "openai/gpt-4", + "inputs": [ + "text" + ], + "kind": "model", + "name": "GPT-4", + "outputs": [ + "text" + ], + "variant": "standard" + }, "properties": { - "enabled": { - "default": true, - "type": "boolean" + "alias_target": { + "$ref": "#/components/schemas/AliasTargetV2" }, - "groups": { + "author": { + "description": "Author slug, the first segment of the model slug", + "example": "openai", + "type": "string" + }, + "canonical_slug": { + "description": "Permanent slug that identifies this model version", + "example": "openai/gpt-4", + "type": "string" + }, + "context_length": { + "description": "Context window of the model in tokens, as listed by `GET /api/v1/models`", + "example": 8192, + "type": "integer" + }, + "created": { + "description": "Unix timestamp (seconds) when the model was added to OpenRouter", + "example": 1687882411, + "type": "integer" + }, + "description": { + "description": "Model description", + "example": "OpenAI flagship model.", + "type": "string" + }, + "endpoints": { + "description": "Published endpoints serving this model, one V2 document each. An `alias` carries the endpoints of its target; a `router` has none, it routes to other models", "items": { - "$ref": "#/components/schemas/ObservabilityFilterRuleGroup" + "$ref": "#/components/schemas/EndpointDocumentV2" }, "type": "array" - } + }, + "hugging_face_id": { + "description": "Hugging Face model identifier, when the weights are published there", + "example": "meta-llama/Llama-3.1-8B-Instruct", + "type": "string" + }, + "id": { + "description": "Model slug used in API requests", + "example": "openai/gpt-4", + "type": "string" + }, + "inputs": { + "description": "Input modality types registered on the model, independent of which endpoints the request returns; each entry of `endpoints[].inputs` carries the full modality object of that endpoint", + "example": [ + "text", + "image" + ], + "items": { + "enum": [ + "text", + "image", + "file", + "audio", + "video" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + }, + "kind": { + "description": "What the record is: `model` for a served model variant, `router` for an OpenRouter router (`openrouter/auto`), `alias` for a `~author/family-latest` pointer. `kind.not=router` lists catalog models only", + "enum": [ + "model", + "router", + "alias" + ], + "example": "model", + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "name": { + "description": "Human-readable model name", + "example": "GPT-4", + "type": "string" + }, + "outputs": { + "description": "Output modality types registered on the model, independent of which endpoints the request returns; each entry of `endpoints[].outputs` carries the full modality object of that endpoint", + "example": [ + "text" + ], + "items": { + "enum": [ + "text", + "image", + "embeddings", + "audio", + "video", + "rerank", + "decisions", + "speech", + "transcription" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": "array" + }, + "variant": { + "description": "Variant of the model this record serves, the suffix of `id` (`openai/gpt-4:free` is `free`). Every record other than `free` is paid, so `variant.not=free` lists paid models and `variant=batch` the batch variants", + "enum": [ + "free", + "extended", + "standard", + "thinking", + "batch" + ], + "example": "standard", + "type": "string", + "x-speakeasy-unknown-values": "allow" + } }, "required": [ - "groups" + "id", + "canonical_slug", + "author", + "name", + "variant", + "kind", + "created", + "context_length", + "inputs", + "outputs", + "endpoints" ], - "type": [ - "object", - "null" - ] + "type": "object" }, - "ObservabilityGrafanaDestination": { + "ModelV2Response": { + "example": { + "data": { + "author": "openai", + "canonical_slug": "openai/gpt-4", + "context_length": 8192, + "created": 1687882411, + "description": "OpenAI flagship model.", + "endpoints": [ + { + "created": 1687882411, + "data_policy": { + "retains_prompts": false, + "training": false + }, + "id": "gpt-4", + "inputs": [ + { + "params": { + "max_length": { + "unit": "token", + "value": 8192 + } + }, + "pricing": [ + { + "cost_usd": "0.00003", + "type": "prompt", + "unit": "token" + } + ], + "type": "text" + } + ], + "name": "GPT-4", + "openrouter": { + "slug": "openai/gpt-4" + }, + "outputs": [ + { + "max_length": { + "unit": "token", + "value": 4096 + }, + "params": { + "max_tokens": { + "type": "unknown" + }, + "temperature": { + "type": "unknown" + }, + "tools": { + "type": "unknown" + } + }, + "pricing": [ + { + "cost_usd": "0.00006", + "type": "completion", + "unit": "token" + } + ], + "type": "text" + } + ], + "provider": { + "name": "OpenAI", + "slug": "openai", + "tag": "openai" + }, + "schema_version": "2.4" + } + ], + "id": "openai/gpt-4", + "inputs": [ + "text" + ], + "kind": "model", + "name": "GPT-4", + "outputs": [ + "text" + ], + "variant": "standard" + } + }, + "properties": { + "data": { + "$ref": "#/components/schemas/ModelV2" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ModerationPlugin": { + "example": { + "id": "moderation" + }, + "properties": { + "id": { + "enum": [ + "moderation" + ], + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "MultimodalMedia": { + "example": { + "data": "data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAA...", + "format": "wav" + }, + "properties": { + "data": { + "type": "string" + }, + "format": { + "type": "string" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NamespaceFunctionTool": { + "description": "A function tool grouped inside a namespace tool", + "example": { + "name": "spawn_agent", + "type": "function" + }, + "properties": { + "allowed_callers": { + "items": { + "enum": [ + "direct", + "programmatic" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": [ + "array", + "null" + ] + }, + "async": { + "description": "Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.", + "example": true, + "type": "boolean" + }, + "defer_loading": { + "type": "boolean" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "name": { + "type": "string" + }, + "output_schema": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] + }, + "parameters": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] + }, + "strict": { + "type": [ + "boolean", + "null" + ] + }, + "type": { + "enum": [ + "function" + ], + "type": "string" + } + }, + "required": [ + "type", + "name" + ], + "type": "object" + }, + "NamespaceTool": { + "description": "Groups function/custom tools under a shared namespace", + "example": { + "description": "Tools for spawning and managing sub-agents.", + "name": "multi_agent_v1", + "tools": [ + { + "name": "spawn_agent", + "type": "function" + } + ], + "type": "namespace" + }, + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "tools": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/NamespaceFunctionTool" + }, + { + "$ref": "#/components/schemas/CustomTool" + } + ] + }, + "type": "array" + }, + "type": { + "enum": [ + "namespace" + ], + "type": "string" + } + }, + "required": [ + "type", + "name", + "description", + "tools" + ], + "type": "object" + }, + "NotFoundResponse": { + "description": "Not Found - Resource does not exist", + "example": { + "error": { + "code": 404, + "message": "Resource not found" + } + }, + "properties": { + "error": { + "$ref": "#/components/schemas/NotFoundResponseErrorData" + }, + "openrouter_metadata": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] + }, + "user_id": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "error" + ], + "type": "object" + }, + "NotFoundResponseErrorData": { + "description": "Error data for NotFoundResponse", + "example": { + "code": 404, + "message": "Resource not found" + }, + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "metadata": { + "additionalProperties": {}, + "type": [ + "object", + "null" + ] + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + }, + "OAuthErrorResponse": { + "description": "RFC 6749 §5.2 error response.", + "example": { + "error": "invalid_grant", + "error_description": "The subject token was not accepted." + }, + "properties": { + "error": { + "enum": [ + "invalid_request", + "invalid_grant", + "unsupported_grant_type", + "invalid_scope", + "server_error", + "temporarily_unavailable" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "error_description": { + "type": "string" + } + }, + "required": [ + "error", + "error_description" + ], + "type": "object" + }, + "OAuthJwks": { + "description": "RFC 7517 JWK Set of the keys OpenRouter signs access tokens with.", + "example": { + "keys": [ + { + "alg": "ES256", + "crv": "P-256", + "kid": "or-2026-09", + "kty": "EC", + "use": "sig", + "x": "f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU", + "y": "x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0" + } + ] + }, + "properties": { + "keys": { + "items": { + "additionalProperties": false, + "properties": { + "alg": { + "enum": [ + "ES256" + ], + "type": "string" + }, + "crv": { + "enum": [ + "P-256" + ], + "type": "string" + }, + "kid": { + "minLength": 1, + "type": "string" + }, + "kty": { + "enum": [ + "EC" + ], + "type": "string" + }, + "use": { + "enum": [ + "sig" + ], + "type": "string" + }, + "x": { + "pattern": "^[A-Za-z0-9_-]+$", + "type": "string" + }, + "y": { + "pattern": "^[A-Za-z0-9_-]+$", + "type": "string" + } + }, + "required": [ + "kty", + "crv", + "kid", + "x", + "y", + "alg", + "use" + ], + "type": "object" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "keys" + ], + "type": "object" + }, + "ObservabilityArizeDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "apiKey": "glc_...AbCd", - "baseUrl": "https://otlp-gateway-prod-us-west-0.grafana.net", - "instanceId": "123456" + "apiKey": "arize_...AbCd", + "baseUrl": "https://otlp.arize.com", + "modelId": "openrouter-prod", + "spaceKey": "space_...EfGh" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Grafana", + "name": "Production Arize", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "grafana", + "type": "arize", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -28248,7 +29419,7 @@ "type": "string" }, "baseUrl": { - "default": "https://otlp-gateway-prod-us-west-0.grafana.net", + "default": "https://otlp.arize.com", "type": "string" }, "headers": { @@ -28258,14 +29429,20 @@ "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "instanceId": { + "modelId": { + "description": "The name of the tracing project in Arize AX", + "minLength": 1, + "type": "string" + }, + "spaceKey": { "minLength": 1, "type": "string" } }, "required": [ "apiKey", - "instanceId" + "spaceKey", + "modelId" ], "type": "object" }, @@ -28320,7 +29497,7 @@ }, "type": { "enum": [ - "grafana" + "arize" ], "type": "string" }, @@ -28356,28 +29533,28 @@ ], "type": "object" }, - "ObservabilityLangfuseDestination": { + "ObservabilityBraintrustDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "baseUrl": "https://us.cloud.langfuse.com", - "publicKey": "pk-l...EfGh", - "secretKey": "sk-l...AbCd" + "apiKey": "sk-...AbCd", + "baseUrl": "https://api.braintrust.dev", + "projectId": "proj_..." }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Langfuse", + "name": "Production Braintrust", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "langfuse", + "type": "braintrust", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -28410,8 +29587,12 @@ }, "config": { "properties": { + "apiKey": { + "minLength": 1, + "type": "string" + }, "baseUrl": { - "default": "https://us.cloud.langfuse.com", + "default": "https://api.braintrust.dev", "type": "string" }, "headers": { @@ -28421,18 +29602,14 @@ "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "publicKey": { - "minLength": 1, - "type": "string" - }, - "secretKey": { + "projectId": { "minLength": 1, "type": "string" } }, "required": [ - "secretKey", - "publicKey" + "apiKey", + "projectId" ], "type": "object" }, @@ -28487,7 +29664,7 @@ }, "type": { "enum": [ - "langfuse" + "braintrust" ], "type": "string" }, @@ -28523,28 +29700,30 @@ ], "type": "object" }, - "ObservabilityLangsmithDestination": { + "ObservabilityClickhouseDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "apiKey": "lsv2_...AbCd", - "endpoint": "https://api.smith.langchain.com", - "project": "main" + "database": "analytics", + "host": "https://clickhouse.example.com:8123", + "password": "********", + "table": "OPENROUTER_TRACES", + "username": "default" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production LangSmith", + "name": "Production ClickHouse", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "langsmith", + "type": "clickhouse", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -28577,14 +29756,10 @@ }, "config": { "properties": { - "apiKey": { + "database": { "minLength": 1, "type": "string" }, - "endpoint": { - "default": "https://api.smith.langchain.com", - "type": "string" - }, "headers": { "additionalProperties": { "type": "string" @@ -28592,19 +29767,34 @@ "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "project": { - "default": "main", - "description": "The name for this project, such as pr-openrouter-demo. Defaults to \"main\" if not set.", + "host": { "minLength": 1, "type": "string" }, - "workspaceId": { - "description": "Required for org-scoped API keys. Find this in your LangSmith workspace settings.", + "password": { + "minLength": 1, + "type": "string" + }, + "shouldIncludeCacheWriteTokens": { + "default": false, + "description": "Send the cache_write_tokens column (schema v2). Turn this on after the table has that column.", + "type": "boolean" + }, + "table": { + "default": "OPENROUTER_TRACES", + "type": "string" + }, + "username": { + "description": "If you have not set a specific username in ClickHouse, simply type in 'default' below.", + "minLength": 1, "type": "string" } }, "required": [ - "apiKey" + "host", + "database", + "username", + "password" ], "type": "object" }, @@ -28659,7 +29849,7 @@ }, "type": { "enum": [ - "langsmith" + "clickhouse" ], "type": "string" }, @@ -28695,27 +29885,28 @@ ], "type": "object" }, - "ObservabilityNewrelicDestination": { + "ObservabilityDatadogDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "licenseKey": "****...AbCd", - "region": "us" + "apiKey": "************...AbCd", + "mlApp": "my-llm-app", + "url": "https://api.datadoghq.com" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production New Relic", + "name": "Production Datadog", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "newrelic", + "type": "datadog", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -28748,6 +29939,11 @@ }, "config": { "properties": { + "apiKey": { + "description": "Datadog API key must have LLM Observability permissions. Create at: ", + "minLength": 1, + "type": "string" + }, "headers": { "additionalProperties": { "type": "string" @@ -28755,22 +29951,20 @@ "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "licenseKey": { + "mlApp": { + "description": "Name to identify your application in Datadog LLM Observability", "minLength": 1, "type": "string" }, - "region": { - "default": "us", - "enum": [ - "us", - "eu" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" + "url": { + "default": "https://api.datadoghq.com", + "description": "Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.us5.datadoghq.com, https://api.datadoghq.eu)", + "type": "string" } }, "required": [ - "licenseKey" + "apiKey", + "mlApp" ], "type": "object" }, @@ -28825,7 +30019,7 @@ }, "type": { "enum": [ - "newrelic" + "datadog" ], "type": "string" }, @@ -28861,28 +30055,283 @@ ], "type": "object" }, - "ObservabilityOpikDestination": { + "ObservabilityDataRegion": { + "enum": [ + "global", + "europe", + "us" + ], + "example": "global", + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "ObservabilityDataRegionInput": { + "description": "`eu` is accepted as an alias for `europe` and normalizes to `europe`.", + "enum": [ + "global", + "europe", + "us", + "eu" + ], + "example": "global", + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "ObservabilityDestination": { + "discriminator": { + "mapping": { + "arize": "#/components/schemas/ObservabilityArizeDestination", + "braintrust": "#/components/schemas/ObservabilityBraintrustDestination", + "clickhouse": "#/components/schemas/ObservabilityClickhouseDestination", + "datadog": "#/components/schemas/ObservabilityDatadogDestination", + "grafana": "#/components/schemas/ObservabilityGrafanaDestination", + "langfuse": "#/components/schemas/ObservabilityLangfuseDestination", + "langsmith": "#/components/schemas/ObservabilityLangsmithDestination", + "newrelic": "#/components/schemas/ObservabilityNewrelicDestination", + "opik": "#/components/schemas/ObservabilityOpikDestination", + "otel-collector": "#/components/schemas/ObservabilityOtelCollectorDestination", + "posthog": "#/components/schemas/ObservabilityPosthogDestination", + "ramp": "#/components/schemas/ObservabilityRampDestination", + "s3": "#/components/schemas/ObservabilityS3Destination", + "sentry": "#/components/schemas/ObservabilitySentryDestination", + "snowflake": "#/components/schemas/ObservabilitySnowflakeDestination", + "weave": "#/components/schemas/ObservabilityWeaveDestination", + "webhook": "#/components/schemas/ObservabilityWebhookDestination" + }, + "propertyName": "type" + }, "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "apiKey": "****...AbCd", - "projectName": "openrouter-prod", - "workspace": "my-workspace" + "baseUrl": "https://us.cloud.langfuse.com", + "publicKey": "pk-l...EfGh", + "secretKey": "sk-l...AbCd" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Opik", + "name": "Production Langfuse", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "opik", + "type": "langfuse", + "updated_at": "2025-08-24T15:45:00Z", + "workspace_id": "550e8400-e29b-41d4-a716-446655440000" + }, + "oneOf": [ + { + "$ref": "#/components/schemas/ObservabilityArizeDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityBraintrustDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityClickhouseDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityDatadogDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityGrafanaDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityLangfuseDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityLangsmithDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityNewrelicDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityOpikDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityOtelCollectorDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityPosthogDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityRampDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityS3Destination" + }, + { + "$ref": "#/components/schemas/ObservabilitySentryDestination" + }, + { + "$ref": "#/components/schemas/ObservabilitySnowflakeDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityWeaveDestination" + }, + { + "$ref": "#/components/schemas/ObservabilityWebhookDestination" + } + ] + }, + "ObservabilityFilterRuleGroup": { + "example": { + "logic": "and", + "rules": [ + { + "field": "model", + "operator": "equals", + "value": "openai/gpt-4o" + } + ] + }, + "properties": { + "logic": { + "default": "and", + "enum": [ + "and", + "or" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "rules": { + "items": { + "properties": { + "field": { + "enum": [ + "model", + "provider", + "session_id", + "user_id", + "api_key_name", + "finish_reason", + "input", + "output", + "total_cost", + "total_tokens", + "prompt_tokens", + "completion_tokens" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "contains", + "not_contains", + "regex", + "starts_with", + "ends_with", + "gt", + "lt", + "gte", + "lte", + "exists", + "not_exists" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + } + }, + "required": [ + "field", + "operator" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "rules" + ], + "type": "object" + }, + "ObservabilityFilterRulesConfig": { + "description": "Optional structured filter rules controlling which events are forwarded.", + "example": null, + "properties": { + "enabled": { + "default": true, + "type": "boolean" + }, + "groups": { + "items": { + "$ref": "#/components/schemas/ObservabilityFilterRuleGroup" + }, + "type": "array" + } + }, + "required": [ + "groups" + ], + "type": [ + "object", + "null" + ] + }, + "ObservabilityFilterRulesConfigNullable": { + "description": "Optional structured filter rules controlling which events are forwarded.", + "example": null, + "properties": { + "enabled": { + "default": true, + "type": "boolean" + }, + "groups": { + "items": { + "$ref": "#/components/schemas/ObservabilityFilterRuleGroup" + }, + "type": "array" + } + }, + "required": [ + "groups" + ], + "type": [ + "object", + "null" + ] + }, + "ObservabilityGrafanaDestination": { + "example": { + "api_key_hashes": null, + "broadcast_generation_cost": false, + "broadcast_generation_identity": false, + "broadcast_generation_request_context": false, + "config": { + "apiKey": "glc_...AbCd", + "baseUrl": "https://otlp-gateway-prod-us-west-0.grafana.net", + "instanceId": "123456" + }, + "created_at": "2025-08-24T10:30:00Z", + "enabled": true, + "filter_rules": null, + "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "name": "Production Grafana", + "privacy_mode": false, + "regions": [ + "global" + ], + "sampling_rate": 1, + "type": "grafana", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -28919,6 +30368,10 @@ "minLength": 1, "type": "string" }, + "baseUrl": { + "default": "https://otlp-gateway-prod-us-west-0.grafana.net", + "type": "string" + }, "headers": { "additionalProperties": { "type": "string" @@ -28926,19 +30379,14 @@ "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "projectName": { - "minLength": 1, - "type": "string" - }, - "workspace": { + "instanceId": { "minLength": 1, "type": "string" } }, "required": [ "apiKey", - "workspace", - "projectName" + "instanceId" ], "type": "object" }, @@ -28993,7 +30441,7 @@ }, "type": { "enum": [ - "opik" + "grafana" ], "type": "string" }, @@ -29029,26 +30477,28 @@ ], "type": "object" }, - "ObservabilityOtelCollectorDestination": { + "ObservabilityLangfuseDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "endpoint": "https://otel.example.com:4318" + "baseUrl": "https://us.cloud.langfuse.com", + "publicKey": "pk-l...EfGh", + "secretKey": "sk-l...AbCd" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production OTel Collector", + "name": "Production Langfuse", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "otel-collector", + "type": "langfuse", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -29081,19 +30531,29 @@ }, "config": { "properties": { - "endpoint": { + "baseUrl": { + "default": "https://us.cloud.langfuse.com", "type": "string" }, "headers": { "additionalProperties": { "type": "string" }, - "description": "Custom HTTP headers as a JSON object. For Axiom, use {\"Authorization\": \"Bearer xaat-xxx\", \"X-Axiom-Dataset\": \"your-dataset\"}", + "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" + }, + "publicKey": { + "minLength": 1, + "type": "string" + }, + "secretKey": { + "minLength": 1, + "type": "string" } }, "required": [ - "endpoint" + "secretKey", + "publicKey" ], "type": "object" }, @@ -29148,7 +30608,7 @@ }, "type": { "enum": [ - "otel-collector" + "langfuse" ], "type": "string" }, @@ -29184,27 +30644,28 @@ ], "type": "object" }, - "ObservabilityPosthogDestination": { + "ObservabilityLangsmithDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "apiKey": "phc_...AbCd", - "endpoint": "https://us.i.posthog.com" + "apiKey": "lsv2_...AbCd", + "endpoint": "https://api.smith.langchain.com", + "project": "main" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production PostHog", + "name": "Production LangSmith", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "posthog", + "type": "langsmith", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -29242,7 +30703,7 @@ "type": "string" }, "endpoint": { - "default": "https://us.i.posthog.com", + "default": "https://api.smith.langchain.com", "type": "string" }, "headers": { @@ -29251,6 +30712,16 @@ }, "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" + }, + "project": { + "default": "main", + "description": "The name for this project, such as pr-openrouter-demo. Defaults to \"main\" if not set.", + "minLength": 1, + "type": "string" + }, + "workspaceId": { + "description": "Required for org-scoped API keys. Find this in your LangSmith workspace settings.", + "type": "string" } }, "required": [ @@ -29309,7 +30780,7 @@ }, "type": { "enum": [ - "posthog" + "langsmith" ], "type": "string" }, @@ -29345,27 +30816,27 @@ ], "type": "object" }, - "ObservabilityRampDestination": { + "ObservabilityNewrelicDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "apiKey": "rmp_...AbCd", - "baseUrl": "https://api.ramp.com/developer/v1/ai-usage/openrouter" + "licenseKey": "****...AbCd", + "region": "us" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Ramp", + "name": "Production New Relic", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "ramp", + "type": "newrelic", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -29398,25 +30869,29 @@ }, "config": { "properties": { - "apiKey": { - "description": "Generate this in your Ramp integration settings.", - "minLength": 1, - "type": "string" - }, - "baseUrl": { - "default": "https://api.ramp.com/developer/v1/ai-usage/openrouter", - "type": "string" - }, "headers": { "additionalProperties": { "type": "string" }, - "description": "Custom HTTP headers to include in requests to Ramp.", + "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" + }, + "licenseKey": { + "minLength": 1, + "type": "string" + }, + "region": { + "default": "us", + "enum": [ + "us", + "eu" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" } }, "required": [ - "apiKey" + "licenseKey" ], "type": "object" }, @@ -29471,7 +30946,7 @@ }, "type": { "enum": [ - "ramp" + "newrelic" ], "type": "string" }, @@ -29507,28 +30982,28 @@ ], "type": "object" }, - "ObservabilityS3Destination": { + "ObservabilityOpikDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "accessKeyId": "AKIA...AbCd", - "bucketName": "openrouter-traces", - "secretAccessKey": "****...EfGh" + "apiKey": "****...AbCd", + "projectName": "openrouter-prod", + "workspace": "my-workspace" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production S3", + "name": "Production Opik", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "s3", + "type": "opik", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -29561,19 +31036,10 @@ }, "config": { "properties": { - "accessKeyId": { - "minLength": 1, - "type": "string" - }, - "bucketName": { + "apiKey": { "minLength": 1, "type": "string" }, - "endpoint": { - "description": "Only for S3-compatible services like Cloudflare R2 (https://account-id.r2.cloudflarestorage.com) or MinIO. Leave blank for standard AWS S3.", - "format": "uri", - "type": "string" - }, "headers": { "additionalProperties": { "type": "string" @@ -29581,30 +31047,19 @@ "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "pathTemplate": { - "default": "{prefix}/{date}", - "description": "Template for S3 object path. The filename ({traceId}-{timestamp}.json) is automatically appended. Available variables: {prefix}, {date}, {year}, {month}, {day}, {apiKeyName}", - "type": "string" - }, - "prefix": { - "default": "openrouter-traces", - "type": "string" - }, - "region": { - "type": "string" - }, - "secretAccessKey": { + "projectName": { "minLength": 1, "type": "string" }, - "sessionToken": { + "workspace": { + "minLength": 1, "type": "string" } }, "required": [ - "bucketName", - "accessKeyId", - "secretAccessKey" + "apiKey", + "workspace", + "projectName" ], "type": "object" }, @@ -29659,7 +31114,7 @@ }, "type": { "enum": [ - "s3" + "opik" ], "type": "string" }, @@ -29695,27 +31150,26 @@ ], "type": "object" }, - "ObservabilitySentryDestination": { + "ObservabilityOtelCollectorDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "dsn": "https://abc123@o0.ingest.sentry.io/0", - "otlpEndpoint": "https://o0.ingest.sentry.io/api/0/otlp" + "endpoint": "https://otel.example.com:4318" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Sentry", + "name": "Production OTel Collector", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "sentry", + "type": "otel-collector", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -29748,25 +31202,19 @@ }, "config": { "properties": { - "dsn": { - "minLength": 1, - "pattern": "^https:\\/\\/([^:@]+)(?::[^@]*)?@([^/]+)(?:\\/[^/]+)*\\/(\\d+)\\/?$", + "endpoint": { "type": "string" }, "headers": { "additionalProperties": { "type": "string" }, - "description": "Custom HTTP headers to include in requests to this destination.", + "description": "Custom HTTP headers as a JSON object. For Axiom, use {\"Authorization\": \"Bearer xaat-xxx\", \"X-Axiom-Dataset\": \"your-dataset\"}", "type": "object" - }, - "otlpEndpoint": { - "type": "string" } }, "required": [ - "otlpEndpoint", - "dsn" + "endpoint" ], "type": "object" }, @@ -29821,7 +31269,7 @@ }, "type": { "enum": [ - "sentry" + "otel-collector" ], "type": "string" }, @@ -29857,27 +31305,27 @@ ], "type": "object" }, - "ObservabilitySnowflakeDestination": { + "ObservabilityPosthogDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "account": "xy12345.us-east-1", - "token": "****...AbCd" + "apiKey": "phc_...AbCd", + "endpoint": "https://us.i.posthog.com" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Snowflake", + "name": "Production PostHog", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "snowflake", + "type": "posthog", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -29910,14 +31358,12 @@ }, "config": { "properties": { - "account": { - "maxLength": 255, + "apiKey": { "minLength": 1, - "pattern": "^[a-zA-Z0-9_]+(?:[.-][a-zA-Z0-9_]+)*$", "type": "string" }, - "database": { - "default": "SNOWFLAKE_LEARNING_DB", + "endpoint": { + "default": "https://us.i.posthog.com", "type": "string" }, "headers": { @@ -29926,32 +31372,172 @@ }, "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" - }, - "schema": { - "default": "PUBLIC", - "type": "string" - }, - "shouldIncludeCacheWriteTokens": { - "default": false, - "description": "Send the cache_write_tokens column (schema v2). Turn this on after the table has that column.", - "type": "boolean" - }, - "table": { - "default": "OPENROUTER_TRACES", - "type": "string" - }, - "token": { + } + }, + "required": [ + "apiKey" + ], + "type": "object" + }, + "created_at": { + "description": "ISO timestamp of when the destination was created.", + "example": "2025-08-24T10:30:00Z", + "type": "string" + }, + "enabled": { + "description": "Whether this destination is currently enabled.", + "example": true, + "type": "boolean" + }, + "filter_rules": { + "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" + }, + "id": { + "description": "Stable public identifier for this destination.", + "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "format": "uuid", + "type": "string" + }, + "name": { + "description": "Human-readable name for the destination.", + "example": "Production Langfuse", + "type": [ + "string", + "null" + ] + }, + "privacy_mode": { + "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", + "example": false, + "type": "boolean" + }, + "regions": { + "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", + "example": [ + "global" + ], + "items": { + "$ref": "#/components/schemas/ObservabilityDataRegion" + }, + "minItems": 1, + "type": "array" + }, + "sampling_rate": { + "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", + "example": 1, + "format": "double", + "type": "number" + }, + "type": { + "enum": [ + "posthog" + ], + "type": "string" + }, + "updated_at": { + "description": "ISO timestamp of when the destination was last updated.", + "example": "2025-08-24T15:45:00Z", + "type": "string" + }, + "workspace_id": { + "description": "ID of the workspace this destination belongs to.", + "example": "550e8400-e29b-41d4-a716-446655440000", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id", + "workspace_id", + "regions", + "name", + "enabled", + "privacy_mode", + "broadcast_generation_cost", + "broadcast_generation_identity", + "broadcast_generation_request_context", + "sampling_rate", + "api_key_hashes", + "filter_rules", + "created_at", + "updated_at", + "type", + "config" + ], + "type": "object" + }, + "ObservabilityRampDestination": { + "example": { + "api_key_hashes": null, + "broadcast_generation_cost": false, + "broadcast_generation_identity": false, + "broadcast_generation_request_context": false, + "config": { + "apiKey": "rmp_...AbCd", + "baseUrl": "https://api.ramp.com/developer/v1/ai-usage/openrouter" + }, + "created_at": "2025-08-24T10:30:00Z", + "enabled": true, + "filter_rules": null, + "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "name": "Production Ramp", + "privacy_mode": false, + "regions": [ + "global" + ], + "sampling_rate": 1, + "type": "ramp", + "updated_at": "2025-08-24T15:45:00Z", + "workspace_id": "550e8400-e29b-41d4-a716-446655440000" + }, + "properties": { + "api_key_hashes": { + "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", + "example": null, + "items": { + "type": "string" + }, + "type": [ + "array", + "null" + ] + }, + "broadcast_generation_cost": { + "description": "When true, include cost and billing generation metadata.", + "example": false, + "type": "boolean" + }, + "broadcast_generation_identity": { + "description": "When true, include identity generation metadata.", + "example": false, + "type": "boolean" + }, + "broadcast_generation_request_context": { + "description": "When true, include request-context generation metadata.", + "example": false, + "type": "boolean" + }, + "config": { + "properties": { + "apiKey": { + "description": "Generate this in your Ramp integration settings.", "minLength": 1, "type": "string" }, - "warehouse": { - "default": "COMPUTE_WH", + "baseUrl": { + "default": "https://api.ramp.com/developer/v1/ai-usage/openrouter", "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "description": "Custom HTTP headers to include in requests to Ramp.", + "type": "object" } }, "required": [ - "account", - "token" + "apiKey" ], "type": "object" }, @@ -30006,7 +31592,7 @@ }, "type": { "enum": [ - "snowflake" + "ramp" ], "type": "string" }, @@ -30042,29 +31628,28 @@ ], "type": "object" }, - "ObservabilityWeaveDestination": { + "ObservabilityS3Destination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "apiKey": "****...AbCd", - "baseUrl": "https://trace.wandb.ai", - "entity": "my-team", - "project": "openrouter-prod" + "accessKeyId": "AKIA...AbCd", + "bucketName": "openrouter-traces", + "secretAccessKey": "****...EfGh" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Weave", + "name": "Production S3", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "weave", + "type": "s3", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -30097,16 +31682,17 @@ }, "config": { "properties": { - "apiKey": { + "accessKeyId": { "minLength": 1, "type": "string" }, - "baseUrl": { - "default": "https://trace.wandb.ai", + "bucketName": { + "minLength": 1, "type": "string" }, - "entity": { - "minLength": 1, + "endpoint": { + "description": "Only for S3-compatible services like Cloudflare R2 (https://account-id.r2.cloudflarestorage.com) or MinIO. Leave blank for standard AWS S3.", + "format": "uri", "type": "string" }, "headers": { @@ -30116,15 +31702,30 @@ "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "project": { + "pathTemplate": { + "default": "{prefix}/{date}", + "description": "Template for S3 object path. The filename ({traceId}-{timestamp}.json) is automatically appended. Available variables: {prefix}, {date}, {year}, {month}, {day}, {apiKeyName}", + "type": "string" + }, + "prefix": { + "default": "openrouter-traces", + "type": "string" + }, + "region": { + "type": "string" + }, + "secretAccessKey": { "minLength": 1, "type": "string" + }, + "sessionToken": { + "type": "string" } }, "required": [ - "apiKey", - "entity", - "project" + "bucketName", + "accessKeyId", + "secretAccessKey" ], "type": "object" }, @@ -30179,7 +31780,7 @@ }, "type": { "enum": [ - "weave" + "s3" ], "type": "string" }, @@ -30215,26 +31816,27 @@ ], "type": "object" }, - "ObservabilityWebhookDestination": { + "ObservabilitySentryDestination": { "example": { "api_key_hashes": null, "broadcast_generation_cost": false, "broadcast_generation_identity": false, "broadcast_generation_request_context": false, "config": { - "url": "https://example.com/openrouter-events" + "dsn": "https://abc123@o0.ingest.sentry.io/0", + "otlpEndpoint": "https://o0.ingest.sentry.io/api/0/otlp" }, "created_at": "2025-08-24T10:30:00Z", "enabled": true, "filter_rules": null, "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", - "name": "Production Webhook", + "name": "Production Sentry", "privacy_mode": false, "regions": [ "global" ], "sampling_rate": 1, - "type": "webhook", + "type": "sentry", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, @@ -30267,27 +31869,25 @@ }, "config": { "properties": { + "dsn": { + "minLength": 1, + "pattern": "^https:\\/\\/([^:@]+)(?::[^@]*)?@([^/]+)(?:\\/[^/]+)*\\/(\\d+)\\/?$", + "type": "string" + }, "headers": { "additionalProperties": { "type": "string" }, + "description": "Custom HTTP headers to include in requests to this destination.", "type": "object" }, - "method": { - "default": "POST", - "enum": [ - "POST", - "PUT" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" - }, - "url": { + "otlpEndpoint": { "type": "string" } }, "required": [ - "url" + "otlpEndpoint", + "dsn" ], "type": "object" }, @@ -30342,7 +31942,7 @@ }, "type": { "enum": [ - "webhook" + "sentry" ], "type": "string" }, @@ -30378,215 +31978,736 @@ ], "type": "object" }, - "OpenAIFile": { - "description": "A stored file in OpenAI's Files API shape.", + "ObservabilitySnowflakeDestination": { "example": { - "_shape": "openai", - "bytes": 1024000, - "created_at": 1735689600, - "filename": "document.pdf", - "id": "or_file_011CNha8iCJcU1wXNR6q4V8w", - "object": "file", - "purpose": "user_data", - "status": "processed" + "api_key_hashes": null, + "broadcast_generation_cost": false, + "broadcast_generation_identity": false, + "broadcast_generation_request_context": false, + "config": { + "account": "xy12345.us-east-1", + "token": "****...AbCd" + }, + "created_at": "2025-08-24T10:30:00Z", + "enabled": true, + "filter_rules": null, + "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "name": "Production Snowflake", + "privacy_mode": false, + "regions": [ + "global" + ], + "sampling_rate": 1, + "type": "snowflake", + "updated_at": "2025-08-24T15:45:00Z", + "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, "properties": { - "_shape": { - "enum": [ - "openai" - ], - "type": "string" + "api_key_hashes": { + "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", + "example": null, + "items": { + "type": "string" + }, + "type": [ + "array", + "null" + ] }, - "bytes": { - "type": "integer" + "broadcast_generation_cost": { + "description": "When true, include cost and billing generation metadata.", + "example": false, + "type": "boolean" }, - "created_at": { - "type": "integer" + "broadcast_generation_identity": { + "description": "When true, include identity generation metadata.", + "example": false, + "type": "boolean" }, - "filename": { + "broadcast_generation_request_context": { + "description": "When true, include request-context generation metadata.", + "example": false, + "type": "boolean" + }, + "config": { + "properties": { + "account": { + "maxLength": 255, + "minLength": 1, + "pattern": "^[a-zA-Z0-9_]+(?:[.-][a-zA-Z0-9_]+)*$", + "type": "string" + }, + "database": { + "default": "SNOWFLAKE_LEARNING_DB", + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "description": "Custom HTTP headers to include in requests to this destination.", + "type": "object" + }, + "schema": { + "default": "PUBLIC", + "type": "string" + }, + "shouldIncludeCacheWriteTokens": { + "default": false, + "description": "Send the cache_write_tokens column (schema v2). Turn this on after the table has that column.", + "type": "boolean" + }, + "table": { + "default": "OPENROUTER_TRACES", + "type": "string" + }, + "token": { + "minLength": 1, + "type": "string" + }, + "warehouse": { + "default": "COMPUTE_WH", + "type": "string" + } + }, + "required": [ + "account", + "token" + ], + "type": "object" + }, + "created_at": { + "description": "ISO timestamp of when the destination was created.", + "example": "2025-08-24T10:30:00Z", "type": "string" }, + "enabled": { + "description": "Whether this destination is currently enabled.", + "example": true, + "type": "boolean" + }, + "filter_rules": { + "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" + }, "id": { + "description": "Stable public identifier for this destination.", + "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "format": "uuid", "type": "string" }, - "object": { - "enum": [ - "file" - ], - "type": "string" + "name": { + "description": "Human-readable name for the destination.", + "example": "Production Langfuse", + "type": [ + "string", + "null" + ] }, - "purpose": { - "enum": [ - "assistants", - "batch", - "fine-tune", - "vision", - "user_data", - "evals", - "assistants_output", - "batch_output", - "fine-tune-results" - ], - "type": "string", - "x-speakeasy-unknown-values": "allow" + "privacy_mode": { + "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", + "example": false, + "type": "boolean" }, - "status": { - "enum": [ - "processed" + "regions": { + "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", + "example": [ + "global" ], - "type": "string" - } - }, - "required": [ - "_shape", - "id", - "object", - "bytes", - "created_at", - "filename", - "purpose", - "status" - ], - "type": "object" - }, - "OpenAIFileDeleted": { - "description": "Deletion result in OpenAI's shape.", - "example": { - "_shape": "openai", - "deleted": true, - "id": "or_file_011CNha8iCJcU1wXNR6q4V8w", - "object": "file" - }, - "properties": { - "_shape": { + "items": { + "$ref": "#/components/schemas/ObservabilityDataRegion" + }, + "minItems": 1, + "type": "array" + }, + "sampling_rate": { + "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", + "example": 1, + "format": "double", + "type": "number" + }, + "type": { "enum": [ - "openai" + "snowflake" ], "type": "string" }, - "deleted": { - "const": true, - "type": "boolean" - }, - "id": { + "updated_at": { + "description": "ISO timestamp of when the destination was last updated.", + "example": "2025-08-24T15:45:00Z", "type": "string" }, - "object": { - "enum": [ - "file" - ], + "workspace_id": { + "description": "ID of the workspace this destination belongs to.", + "example": "550e8400-e29b-41d4-a716-446655440000", + "format": "uuid", "type": "string" } }, "required": [ - "_shape", "id", - "object", - "deleted" + "workspace_id", + "regions", + "name", + "enabled", + "privacy_mode", + "broadcast_generation_cost", + "broadcast_generation_identity", + "broadcast_generation_request_context", + "sampling_rate", + "api_key_hashes", + "filter_rules", + "created_at", + "updated_at", + "type", + "config" ], "type": "object" }, - "OpenAIFileList": { - "description": "A page of files in OpenAI's shape.", + "ObservabilityWeaveDestination": { "example": { - "_shape": "openai", - "data": [], - "first_id": null, - "has_more": false, - "last_id": null, - "object": "list" + "api_key_hashes": null, + "broadcast_generation_cost": false, + "broadcast_generation_identity": false, + "broadcast_generation_request_context": false, + "config": { + "apiKey": "****...AbCd", + "baseUrl": "https://trace.wandb.ai", + "entity": "my-team", + "project": "openrouter-prod" + }, + "created_at": "2025-08-24T10:30:00Z", + "enabled": true, + "filter_rules": null, + "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "name": "Production Weave", + "privacy_mode": false, + "regions": [ + "global" + ], + "sampling_rate": 1, + "type": "weave", + "updated_at": "2025-08-24T15:45:00Z", + "workspace_id": "550e8400-e29b-41d4-a716-446655440000" }, "properties": { - "_shape": { - "enum": [ - "openai" - ], - "type": "string" - }, - "data": { + "api_key_hashes": { + "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", + "example": null, "items": { - "$ref": "#/components/schemas/OpenAIFile" + "type": "string" }, - "type": "array" - }, - "first_id": { "type": [ - "string", + "array", "null" ] }, - "has_more": { + "broadcast_generation_cost": { + "description": "When true, include cost and billing generation metadata.", + "example": false, "type": "boolean" }, - "last_id": { - "type": [ - "string", - "null" - ] + "broadcast_generation_identity": { + "description": "When true, include identity generation metadata.", + "example": false, + "type": "boolean" }, - "object": { - "enum": [ - "list" + "broadcast_generation_request_context": { + "description": "When true, include request-context generation metadata.", + "example": false, + "type": "boolean" + }, + "config": { + "properties": { + "apiKey": { + "minLength": 1, + "type": "string" + }, + "baseUrl": { + "default": "https://trace.wandb.ai", + "type": "string" + }, + "entity": { + "minLength": 1, + "type": "string" + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "description": "Custom HTTP headers to include in requests to this destination.", + "type": "object" + }, + "project": { + "minLength": 1, + "type": "string" + } + }, + "required": [ + "apiKey", + "entity", + "project" ], + "type": "object" + }, + "created_at": { + "description": "ISO timestamp of when the destination was created.", + "example": "2025-08-24T10:30:00Z", "type": "string" - } - }, - "required": [ - "_shape", - "object", - "data", - "has_more", - "first_id", - "last_id" - ], - "type": "object" - }, - "OpenAIResponseCustomToolCall": { - "example": { - "call_id": "call-abc123", - "id": "ctc-abc123", - "input": "*** Begin Patch\n*** End Patch", - "name": "apply_patch", - "type": "custom_tool_call" - }, - "properties": { - "async": { - "description": "True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.", + }, + "enabled": { + "description": "Whether this destination is currently enabled.", "example": true, "type": "boolean" }, - "call_id": { - "type": "string" + "filter_rules": { + "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" }, "id": { - "type": "string" - }, - "input": { + "description": "Stable public identifier for this destination.", + "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "format": "uuid", "type": "string" }, "name": { - "type": "string" + "description": "Human-readable name for the destination.", + "example": "Production Langfuse", + "type": [ + "string", + "null" + ] }, - "namespace": { - "description": "Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)", - "type": "string" + "privacy_mode": { + "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", + "example": false, + "type": "boolean" + }, + "regions": { + "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", + "example": [ + "global" + ], + "items": { + "$ref": "#/components/schemas/ObservabilityDataRegion" + }, + "minItems": 1, + "type": "array" + }, + "sampling_rate": { + "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", + "example": 1, + "format": "double", + "type": "number" }, "type": { "enum": [ - "custom_tool_call" + "weave" ], "type": "string" + }, + "updated_at": { + "description": "ISO timestamp of when the destination was last updated.", + "example": "2025-08-24T15:45:00Z", + "type": "string" + }, + "workspace_id": { + "description": "ID of the workspace this destination belongs to.", + "example": "550e8400-e29b-41d4-a716-446655440000", + "format": "uuid", + "type": "string" } }, "required": [ - "type", - "call_id", + "id", + "workspace_id", + "regions", "name", - "input" - ], - "type": "object" - }, - "OpenAIResponseCustomToolCallOutput": { + "enabled", + "privacy_mode", + "broadcast_generation_cost", + "broadcast_generation_identity", + "broadcast_generation_request_context", + "sampling_rate", + "api_key_hashes", + "filter_rules", + "created_at", + "updated_at", + "type", + "config" + ], + "type": "object" + }, + "ObservabilityWebhookDestination": { + "example": { + "api_key_hashes": null, + "broadcast_generation_cost": false, + "broadcast_generation_identity": false, + "broadcast_generation_request_context": false, + "config": { + "url": "https://example.com/openrouter-events" + }, + "created_at": "2025-08-24T10:30:00Z", + "enabled": true, + "filter_rules": null, + "id": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "name": "Production Webhook", + "privacy_mode": false, + "regions": [ + "global" + ], + "sampling_rate": 1, + "type": "webhook", + "updated_at": "2025-08-24T15:45:00Z", + "workspace_id": "550e8400-e29b-41d4-a716-446655440000" + }, + "properties": { + "api_key_hashes": { + "description": "Optional allowlist of OpenRouter API key hashes (`api_keys.hash`) whose traffic is forwarded to this destination. `null` means all keys.", + "example": null, + "items": { + "type": "string" + }, + "type": [ + "array", + "null" + ] + }, + "broadcast_generation_cost": { + "description": "When true, include cost and billing generation metadata.", + "example": false, + "type": "boolean" + }, + "broadcast_generation_identity": { + "description": "When true, include identity generation metadata.", + "example": false, + "type": "boolean" + }, + "broadcast_generation_request_context": { + "description": "When true, include request-context generation metadata.", + "example": false, + "type": "boolean" + }, + "config": { + "properties": { + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "method": { + "default": "POST", + "enum": [ + "POST", + "PUT" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "created_at": { + "description": "ISO timestamp of when the destination was created.", + "example": "2025-08-24T10:30:00Z", + "type": "string" + }, + "enabled": { + "description": "Whether this destination is currently enabled.", + "example": true, + "type": "boolean" + }, + "filter_rules": { + "$ref": "#/components/schemas/ObservabilityFilterRulesConfig" + }, + "id": { + "description": "Stable public identifier for this destination.", + "example": "99999999-aaaa-bbbb-cccc-dddddddddddd", + "format": "uuid", + "type": "string" + }, + "name": { + "description": "Human-readable name for the destination.", + "example": "Production Langfuse", + "type": [ + "string", + "null" + ] + }, + "privacy_mode": { + "description": "When true, request/response bodies are not forwarded to this destination — only metadata.", + "example": false, + "type": "boolean" + }, + "regions": { + "description": "Data regions this destination applies to. Requests served in a region only fan out to destinations that include that region.", + "example": [ + "global" + ], + "items": { + "$ref": "#/components/schemas/ObservabilityDataRegion" + }, + "minItems": 1, + "type": "array" + }, + "sampling_rate": { + "description": "Sampling rate for events sent to this destination, between 0.0001 and 1 (1 = 100%).", + "example": 1, + "format": "double", + "type": "number" + }, + "type": { + "enum": [ + "webhook" + ], + "type": "string" + }, + "updated_at": { + "description": "ISO timestamp of when the destination was last updated.", + "example": "2025-08-24T15:45:00Z", + "type": "string" + }, + "workspace_id": { + "description": "ID of the workspace this destination belongs to.", + "example": "550e8400-e29b-41d4-a716-446655440000", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "id", + "workspace_id", + "regions", + "name", + "enabled", + "privacy_mode", + "broadcast_generation_cost", + "broadcast_generation_identity", + "broadcast_generation_request_context", + "sampling_rate", + "api_key_hashes", + "filter_rules", + "created_at", + "updated_at", + "type", + "config" + ], + "type": "object" + }, + "OpenAIFile": { + "description": "A stored file in OpenAI's Files API shape.", + "example": { + "_shape": "openai", + "bytes": 1024000, + "created_at": 1735689600, + "filename": "document.pdf", + "id": "or_file_011CNha8iCJcU1wXNR6q4V8w", + "object": "file", + "purpose": "user_data", + "status": "processed" + }, + "properties": { + "_shape": { + "enum": [ + "openai" + ], + "type": "string" + }, + "bytes": { + "type": "integer" + }, + "created_at": { + "type": "integer" + }, + "filename": { + "type": "string" + }, + "id": { + "type": "string" + }, + "object": { + "enum": [ + "file" + ], + "type": "string" + }, + "purpose": { + "enum": [ + "assistants", + "batch", + "fine-tune", + "vision", + "user_data", + "evals", + "assistants_output", + "batch_output", + "fine-tune-results" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "status": { + "enum": [ + "processed" + ], + "type": "string" + } + }, + "required": [ + "_shape", + "id", + "object", + "bytes", + "created_at", + "filename", + "purpose", + "status" + ], + "type": "object" + }, + "OpenAIFileDeleted": { + "description": "Deletion result in OpenAI's shape.", + "example": { + "_shape": "openai", + "deleted": true, + "id": "or_file_011CNha8iCJcU1wXNR6q4V8w", + "object": "file" + }, + "properties": { + "_shape": { + "enum": [ + "openai" + ], + "type": "string" + }, + "deleted": { + "const": true, + "type": "boolean" + }, + "id": { + "type": "string" + }, + "object": { + "enum": [ + "file" + ], + "type": "string" + } + }, + "required": [ + "_shape", + "id", + "object", + "deleted" + ], + "type": "object" + }, + "OpenAIFileList": { + "description": "A page of files in OpenAI's shape.", + "example": { + "_shape": "openai", + "data": [], + "first_id": null, + "has_more": false, + "last_id": null, + "object": "list" + }, + "properties": { + "_shape": { + "enum": [ + "openai" + ], + "type": "string" + }, + "data": { + "items": { + "$ref": "#/components/schemas/OpenAIFile" + }, + "type": "array" + }, + "first_id": { + "type": [ + "string", + "null" + ] + }, + "has_more": { + "type": "boolean" + }, + "last_id": { + "type": [ + "string", + "null" + ] + }, + "object": { + "enum": [ + "list" + ], + "type": "string" + } + }, + "required": [ + "_shape", + "object", + "data", + "has_more", + "first_id", + "last_id" + ], + "type": "object" + }, + "OpenAIResponseCustomToolCall": { + "example": { + "call_id": "call-abc123", + "id": "ctc-abc123", + "input": "*** Begin Patch\n*** End Patch", + "name": "apply_patch", + "type": "custom_tool_call" + }, + "properties": { + "async": { + "description": "True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.", + "example": true, + "type": "boolean" + }, + "call_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "input": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace": { + "description": "Namespace qualifier for tools registered as part of a namespace tool group (e.g. an MCP server)", + "type": "string" + }, + "type": { + "enum": [ + "custom_tool_call" + ], + "type": "string" + } + }, + "required": [ + "type", + "call_id", + "name", + "input" + ], + "type": "object" + }, + "OpenAIResponseCustomToolCallOutput": { "example": { "call_id": "call-abc123", "output": "patch applied successfully", @@ -32713,6 +34834,70 @@ ], "type": "object" }, + "OutputCapacityEntryV2": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "per": { + "enum": [ + "minute", + "hour", + "day" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": { + "enum": [ + "completion", + "internal_reasoning" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "unit": { + "$ref": "#/components/schemas/OutputPricingUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "per", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "concurrency" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/RequestUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "value" + ], + "type": "object" + } + ] + }, "OutputCodeInterpreterCallItem": { "allOf": [ { @@ -34315,6 +36500,72 @@ "type": "string", "x-speakeasy-unknown-values": "allow" }, + "OutputPricingEntryV2": { + "additionalProperties": false, + "properties": { + "cost_usd": { + "description": "Non-negative decimal number string, e.g. \"0.000008\"", + "pattern": "^\\d+(\\.\\d+)?$", + "type": "string" + }, + "overrides": { + "items": { + "$ref": "#/components/schemas/PricingOverrideV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "completion", + "internal_reasoning" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "unit": { + "$ref": "#/components/schemas/OutputPricingUnitV2" + }, + "utc_days": { + "description": "UTC weekdays the entry applies on; absent means every day", + "items": { + "$ref": "#/components/schemas/UtcDayV2" + }, + "minItems": 1, + "type": "array" + }, + "utc_end": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + }, + "utc_start": { + "description": "HHMM UTC clock time; the minute component must be 00-59", + "maximum": 2359, + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "cost_usd" + ], + "type": "object" + }, + "OutputPricingUnitV2": { + "description": "`megapixel` prices resolution-scaled media: `cost_usd` is the rate per megapixel (1,000,000 pixels) of media area, so cost scales linearly with the pixel dimensions of the input consumed or output generated.", + "enum": [ + "token", + "image", + "megapixel", + "second", + "character", + "request" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, "OutputReasoningItem": { "allOf": [ { @@ -35019,6 +37270,77 @@ "type": "string", "x-speakeasy-unknown-values": "allow" }, + "ParameterDescriptorV2": { + "additionalProperties": false, + "description": "Descriptor for one request parameter: `type` plus the optional `min`, `max`, `default`, `values`, `unit`, `max_items`, `properties` and `items` constraints. Recursive through `properties` and `items`; the full JSON Schema is in the Models API V2 schema asset.", + "properties": { + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "max": { + "type": "number" + }, + "max_items": { + "minimum": 1, + "type": "integer" + }, + "min": { + "type": "number" + }, + "properties": { + "additionalProperties": { + "$ref": "#/components/schemas/ParameterDescriptorV2" + }, + "type": "object" + }, + "type": { + "enum": [ + "range", + "integer", + "boolean", + "enum", + "array", + "object", + "unknown" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "unit": { + "$ref": "#/components/schemas/DescriptorUnitV2" + }, + "values": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "type": "array" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "ParetoRouterPlugin": { "example": { "enabled": true, @@ -35935,6 +38257,142 @@ }, "type": "object" }, + "PricingOverrideV2": { + "additionalProperties": false, + "properties": { + "cost_usd": { + "description": "Non-negative decimal number string, e.g. \"0.000008\"", + "pattern": "^\\d+(\\.\\d+)?$", + "type": "string" + }, + "when": { + "$ref": "#/components/schemas/PricingPredicateV2" + } + }, + "required": [ + "when", + "cost_usd" + ], + "type": "object" + }, + "PricingPredicateV2": { + "description": "Either a parameter predicate (a map of request parameter name to pricing condition) or a composition predicate (`allOf`, `anyOf`, `not`). Recursive; the full JSON Schema is in the Models API V2 schema asset.", + "oneOf": [ + { + "additionalProperties": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "equals": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "equals" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "gte": { + "type": "number" + } + }, + "required": [ + "gte" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "lte": { + "type": "number" + } + }, + "required": [ + "lte" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "min_items": { + "minimum": 0, + "type": "integer" + } + }, + "required": [ + "min_items" + ], + "type": "object" + } + ] + }, + "description": "Parameter predicate: request parameter name to pricing condition", + "minProperties": 1, + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "allOf": { + "items": { + "$ref": "#/components/schemas/PricingPredicateV2" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "allOf" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "anyOf": { + "items": { + "$ref": "#/components/schemas/PricingPredicateV2" + }, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "anyOf" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "not": { + "$ref": "#/components/schemas/PricingPredicateV2" + } + }, + "required": [ + "not" + ], + "type": "object" + } + ], + "type": "object" + }, "PrivateEndpoint": { "example": { "base_url": "https://contoso.openai.azure.com", @@ -39036,6 +41494,102 @@ "type": "response.refusal.done" } }, + "RequestCapacityEntryV2": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "per": { + "enum": [ + "minute", + "hour", + "day" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": { + "enum": [ + "request" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/RequestUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "per", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "per": { + "enum": [ + "minute", + "hour", + "day" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, + "type": { + "enum": [ + "web_search" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/SearchUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "per", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "type": { + "enum": [ + "concurrency" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/RequestUnitV2" + }, + "value": { + "minimum": 1, + "type": "integer" + } + }, + "required": [ + "type", + "unit", + "value" + ], + "type": "object" + } + ] + }, "RequestMetadata": { "additionalProperties": { "maxLength": 512, @@ -39051,6 +41605,72 @@ "null" ] }, + "RequestPricingEntryV2": { + "oneOf": [ + { + "additionalProperties": false, + "properties": { + "cost_usd": { + "description": "Non-negative decimal number string, e.g. \"0.000008\"", + "pattern": "^\\d+(\\.\\d+)?$", + "type": "string" + }, + "overrides": { + "items": { + "$ref": "#/components/schemas/PricingOverrideV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "request" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/RequestUnitV2" + } + }, + "required": [ + "type", + "unit", + "cost_usd" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cost_usd": { + "description": "Non-negative decimal number string, e.g. \"0.000008\"", + "pattern": "^\\d+(\\.\\d+)?$", + "type": "string" + }, + "overrides": { + "items": { + "$ref": "#/components/schemas/PricingOverrideV2" + }, + "type": "array" + }, + "type": { + "enum": [ + "web_search" + ], + "type": "string" + }, + "unit": { + "$ref": "#/components/schemas/SearchUnitV2" + } + }, + "required": [ + "type", + "unit", + "cost_usd" + ], + "type": "object" + } + ] + }, "RequestTimeoutResponse": { "description": "Request Timeout - Operation exceeded time limit", "example": { @@ -39109,6 +41729,12 @@ ], "type": "object" }, + "RequestUnitV2": { + "enum": [ + "request" + ], + "type": "string" + }, "ResponseHealingPlugin": { "example": { "enabled": true, @@ -40020,6 +42646,12 @@ "type": "string", "x-speakeasy-unknown-values": "allow" }, + "SearchUnitV2": { + "enum": [ + "search" + ], + "type": "string" + }, "ServerTool": { "properties": { "aliases": { @@ -41178,33 +43810,10 @@ "type": "string" }, "provider": { - "description": "Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options", + "description": "Provider-specific passthrough configuration", "properties": { - "data_collection": { - "description": "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data.", - "enum": [ - "deny", - "allow", - null - ], - "example": "allow", - "title": "SpeechRequestDataCollection", - "type": [ - "string", - "null" - ], - "x-speakeasy-unknown-values": "allow" - }, "options": { "$ref": "#/components/schemas/ProviderOptions" - }, - "zdr": { - "description": "Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.", - "example": true, - "type": [ - "boolean", - "null" - ] } }, "type": "object" @@ -42052,33 +44661,10 @@ "type": "string" }, "provider": { - "description": "Provider configuration: data policy routing preferences (`zdr`, `data_collection`) and provider-specific passthrough options", + "description": "Provider-specific passthrough configuration", "properties": { - "data_collection": { - "description": "Data collection setting. If no available model provider meets the requirement, your request will return an error.\n- allow: (default) allow providers which store user data non-transiently and may train on it\n\n- deny: use only providers which do not collect user data.", - "enum": [ - "deny", - "allow", - null - ], - "example": "allow", - "title": "STTRequestDataCollection", - "type": [ - "string", - "null" - ], - "x-speakeasy-unknown-values": "allow" - }, "options": { "$ref": "#/components/schemas/ProviderOptions" - }, - "zdr": { - "description": "Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.", - "example": true, - "type": [ - "boolean", - "null" - ] } }, "type": "object" @@ -43389,7 +45975,8 @@ "type": [ "integer", "null" - ] + ], + "nullable": true }, "is_moderated": { "description": "Whether the top provider moderates content", @@ -43402,7 +45989,8 @@ "type": [ "integer", "null" - ] + ], + "nullable": true } }, "required": [ @@ -45201,6 +47789,19 @@ "total_tokens": 35 } }, + "UtcDayV2": { + "enum": [ + "monday", + "tuesday", + "wednesday", + "thursday", + "friday", + "saturday", + "sunday" + ], + "type": "string", + "x-speakeasy-unknown-values": "allow" + }, "ValidatePrivateEndpointRequest": { "properties": { "workspace_id": { @@ -47960,38 +50561,5447 @@ }, "description": "Unauthorized - Authentication required or invalid credentials" }, - "403": { - "content": { - "application/json": { - "example": { - "error": { - "code": 403, - "message": "Only management keys can perform this operation" - } - }, - "schema": { - "$ref": "#/components/schemas/ForbiddenResponse" - } - } - }, - "description": "Forbidden - Authentication successful but insufficient permissions" - }, - "408": { - "content": { - "application/json": { - "example": { - "error": { - "code": 408, - "message": "Operation timed out. Please try again later." - } - }, - "schema": { - "$ref": "#/components/schemas/RequestTimeoutResponse" - } - } - }, - "description": "Request Timeout - Operation exceeded time limit" - }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, + "408": { + "content": { + "application/json": { + "example": { + "error": { + "code": 408, + "message": "Operation timed out. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/RequestTimeoutResponse" + } + } + }, + "description": "Request Timeout - Operation exceeded time limit" + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "Internal Server Error" + } + }, + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + }, + "description": "Internal Server Error - Unexpected server error" + } + }, + "summary": "Query analytics data", + "tags": [ + "Analytics" + ], + "parameters": [] + }, + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/api/alpha/decisions": { + "post": { + "description": "Submits a Decisions request to the Decisions router", + "operationId": "createApiAlphaDecisions", + "requestBody": { + "content": { + "application/json": { + "example": { + "model": "typesafe/jev-1.13", + "questions": { + "is_bug": { + "criteria": { + "false": "The customer is asking a question or requesting a feature.", + "true": "The customer describes broken or unexpected product behavior." + }, + "instructions": "Is the customer reporting a software defect?", + "type": "noul" + }, + "team": { + "criteria": { + "account": "Login, permissions, or profile issues.", + "frontend": "Rendering, layout, or browser compatibility issues.", + "payments": "Checkout, billing, or payment processing issues." + }, + "instructions": "Which team should own this ticket?", + "type": "choice" + }, + "urgency": { + "criteria": [ + "Can wait for the next release", + "Should be fixed this week", + "Blocking revenue right now" + ], + "instructions": "How urgent is this ticket?", + "type": "score" + } + }, + "state": { + "customer_tier": "enterprise", + "ticket": "My checkout page shows a blank screen after I click Pay. I have tried two browsers." + } + }, + "schema": { + "$ref": "#/components/schemas/DecisionsRequest" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "example": { + "answers": { + "is_bug": { + "noul": 0.96, + "type": "noul" + }, + "team": { + "choice": "payments", + "confidence": 0.75, + "probabilities": { + "account": 0, + "frontend": 0.16, + "payments": 0.84 + }, + "type": "choice" + }, + "urgency": { + "confidence": 0.99, + "legend": { + "0": "Can wait for the next release", + "1": "Should be fixed this week", + "2": "Blocking revenue right now" + }, + "probabilities": { + "0": 0, + "1": 0.01, + "2": 0.99 + }, + "score": 1.99, + "type": "score" + } + }, + "id": "gen-dec-1789738314-X5e5eKGQdvR9rblyX250", + "model": "typesafe/jev-1.13-20260917", + "provider": "TypeSafe", + "usage": { + "cost": 0.000019992, + "input_tokens": 476, + "output_tokens": 70 + } + }, + "schema": { + "$ref": "#/components/schemas/DecisionsResponse" + } + } + }, + "description": "Decisions response" + }, + "400": { + "content": { + "application/json": { + "example": { + "error": { + "code": 400, + "message": "Invalid request parameters" + } + }, + "schema": { + "$ref": "#/components/schemas/BadRequestResponse" + } + } + }, + "description": "Bad Request - Invalid request parameters or malformed input" + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, + "402": { + "content": { + "application/json": { + "example": { + "error": { + "code": 402, + "message": "Insufficient credits. Add more using https://openrouter.ai/credits" + } + }, + "schema": { + "$ref": "#/components/schemas/PaymentRequiredResponse" + } + } + }, + "description": "Payment Required - Insufficient credits or quota to complete request" + }, + "403": { + "content": { + "application/json": { + "example": { + "error": { + "code": 403, + "message": "Only management keys can perform this operation" + } + }, + "schema": { + "$ref": "#/components/schemas/ForbiddenResponse" + } + } + }, + "description": "Forbidden - Authentication successful but insufficient permissions" + }, + "404": { + "content": { + "application/json": { + "example": { + "error": { + "code": 404, + "message": "Resource not found" + } + }, + "schema": { + "$ref": "#/components/schemas/NotFoundResponse" + } + } + }, + "description": "Not Found - Resource does not exist" + }, + "413": { + "content": { + "application/json": { + "example": { + "error": { + "code": 413, + "message": "Request payload too large" + } + }, + "schema": { + "$ref": "#/components/schemas/PayloadTooLargeResponse" + } + } + }, + "description": "Payload Too Large - Request payload exceeds size limits" + }, + "429": { + "content": { + "application/json": { + "example": { + "error": { + "code": 429, + "message": "Rate limit exceeded" + } + }, + "schema": { + "$ref": "#/components/schemas/TooManyRequestsResponse" + } + } + }, + "description": "Too Many Requests - Rate limit exceeded" + }, + "500": { + "content": { + "application/json": { + "example": { + "error": { + "code": 500, + "message": "Internal Server Error" + } + }, + "schema": { + "$ref": "#/components/schemas/InternalServerResponse" + } + } + }, + "description": "Internal Server Error - Unexpected server error" + }, + "502": { + "content": { + "application/json": { + "example": { + "error": { + "code": 502, + "message": "Provider returned error" + } + }, + "schema": { + "$ref": "#/components/schemas/BadGatewayResponse" + } + } + }, + "description": "Bad Gateway - Provider/upstream API failure" + }, + "503": { + "content": { + "application/json": { + "example": { + "error": { + "code": 503, + "message": "Service temporarily unavailable" + } + }, + "schema": { + "$ref": "#/components/schemas/ServiceUnavailableResponse" + } + } + }, + "description": "Service Unavailable - Service temporarily unavailable" + }, + "524": { + "content": { + "application/json": { + "example": { + "error": { + "code": 524, + "message": "Request timed out. Please try again later." + } + }, + "schema": { + "$ref": "#/components/schemas/EdgeNetworkTimeoutResponse" + } + } + }, + "description": "Infrastructure Timeout - Provider request timed out at edge network" + }, + "529": { + "content": { + "application/json": { + "example": { + "error": { + "code": 529, + "message": "Provider returned error" + } + }, + "schema": { + "$ref": "#/components/schemas/ProviderOverloadedResponse" + } + } + }, + "description": "Provider Overloaded - Provider is temporarily overloaded" + } + }, + "servers": [ + { + "url": "https://openrouter.ai" + } + ], + "summary": "Submit a Decisions request", + "tags": [ + "alpha.decisions" + ], + "x-speakeasy-name-override": "create", + "parameters": [] + }, + "parameters": [ + { + "$ref": "#/components/parameters/AppIdentifier" + }, + { + "$ref": "#/components/parameters/AppDisplayName" + }, + { + "$ref": "#/components/parameters/AppCategories" + } + ] + }, + "/api/v2/models": { + "get": { + "description": "Returns every publicly served model together with each of its endpoints in the Models API V2 document format. The V2 document is the schema providers publish to OpenRouter, so each endpoint is reported in the shape it was declared, with pricing attached to the modality it applies to (`inputs`/`outputs`, each with its `params`). Operator-only fields such as capacity and `discount_to_user` are not part of the public document.\n\nWithout credentials the response is the public catalog. With an API key it is the catalog that key can route to, the same one `GET /api/v1/models/user` serves: models and endpoints the account was granted private access to are included, and endpoints the account or key guardrails, provider preferences, BYOK and privacy settings exclude are omitted, along with routers and aliases left with nothing to route to. A key that does not resolve is rejected with 401.\n\nEvery field of the response document is a filter, named by its dotted JSON path: `=` tests equality and `.=` applies `gt`, `gte`, `lt`, `lte`, `between`, `in`, `exists`, `contains`, `starts_with` or `ends_with` as the field type allows; `.not.=` (or `.not=` for not-equal) keeps the records where no value matches. Suffixes, arithmetic operators, parentheses and the list comma are read before percent-decoding, so an encoded character is always literal: a map key spelled like an operator or `not` is reached by encoding one of its characters (`params.n%6Ft.exists=true`), a `/` or `+` inside a literal is `%2F` or `%2B`, and arithmetic is spelled with the bare characters (`created/10`, `context_length+1`). `in` takes a comma-separated list and `between` the inclusive lower and upper bound (a literal comma is `%2C`); strings compare trimmed and lower-cased on both sides, so `author=Anthropic` and `name.contains=claude` match. A filter under `endpoints.` keeps only the endpoints that satisfy every such filter and omits models left with none. A path through a repeated object is existential (`endpoints.pricing.type=request` matches an endpoint with some request-priced entry); the members of a typed collection are addressed by their type (`endpoints.inputs.text.params.max_length.value.gte=1000000`, `endpoints.inputs.text.pricing.prompt.cost_usd.lte=0.000001`), and a dynamic key is written in the path (`endpoints.outputs.text.params.tools.type=boolean`, `endpoints.outputs.text.params.temperature.range.max.gte=2`). Both sides of an operator are operands of one grammar: a literal, a path, or an arithmetic expression over numeric paths and numbers, so a filter relates any two of them (`endpoints.inputs.text.pricing.prompt.cost_usd.gte=endpoints.outputs.text.pricing.completion.cost_usd*100`, `10000.lte=endpoints.inputs.text.params.max_length.value`, `endpoints.id=id`). Arithmetic requires numeric paths, each operator applies to the type its operands share, and text that names no field path is a literal (`id=openai/gpt-4`), so the field names at the root of the document are reserved words. A parameter that is not a field path is rejected with a 400 whose `error.metadata` names the `code`, `parameter` and `reason`.\n\n`sort` takes comma-separated paths or expressions, `-` prefixed for descending; a key must be a scalar path or expression (`created`, `endpoints.inputs.text.pricing.prompt.cost_usd`); a model sorts by the best value in the sort direction across its endpoints and across the time windows of a price, missing values sort last and `id` ascending breaks ties, so the order is total even without `sort`. Pagination is opt-in: pass `limit` and follow `links.next`, which carries an opaque `cursor` bound to the filters and sort; `offset` remains supported. `total_count` is the number of models matching the filters.", + "operationId": "listModelsV2", + "parameters": [ + { + "description": "Number of records to skip (0 when omitted); kept for compatibility, prefer `cursor`. Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.", + "in": "query", + "name": "offset", + "required": false, + "schema": { + "description": "Number of records to skip (0 when omitted); kept for compatibility, prefer `cursor`. Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.", + "example": 0, + "minimum": 0, + "type": [ + "integer", + "null" + ] + } + }, + { + "description": "Maximum number of records to return (500 when omitted, max 1000). Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.", + "in": "query", + "name": "limit", + "required": false, + "schema": { + "description": "Maximum number of records to return (500 when omitted, max 1000). Supplying limit, cursor or offset paginates the list; when all are omitted, the full list is returned.", + "example": 500, + "maximum": 1000, + "minimum": 1, + "type": "integer" + } + }, + { + "description": "Opaque keyset cursor from the previous page's `links.next`. Bound to the filters and sort it was issued for; a cursor sent with different filters or sort is rejected.", + "in": "query", + "name": "cursor", + "required": false, + "schema": { + "description": "Opaque keyset cursor from the previous page's `links.next`. Bound to the filters and sort it was issued for; a cursor sent with different filters or sort is rejected.", + "example": "eyJ2IjoxLCJxIjoiYjVmMWE4MDEiLCJrIjpbIm9wZW5haS9ncHQtNCJdfQ", + "minLength": 1, + "type": "string" + } + }, + { + "description": "Only return endpoints in the given data region (\"eu\" or \"us\"); models left without an endpoint are omitted.", + "in": "query", + "name": "region", + "required": false, + "schema": { + "description": "Only return endpoints in the given data region (\"eu\" or \"us\"); models left without an endpoint are omitted.", + "enum": [ + "eu", + "us" + ], + "example": "eu", + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + }, + { + "description": "Comma-separated sort keys, each a path below or an arithmetic expression over numeric paths; prefix with `-` for descending. A key under `endpoints.` ranks each model by its best endpoint value in the sort direction. Missing values sort last and `id` ascending breaks ties. Keys: `id`, `canonical_slug`, `author`, `name`, `variant`, `kind`, `alias_target.slug`, `alias_target.name`, `created`, `description`, `context_length`, `hugging_face_id`, `endpoints.schema_version`, `endpoints.id`, `endpoints.hugging_face_id`, `endpoints.name`, `endpoints.created`, `endpoints.quantization`, `endpoints.tokenizer`, `endpoints.description`, `endpoints.pricing.request.unit`, `endpoints.pricing.request.cost_usd`, `endpoints.pricing.web_search.unit`, `endpoints.pricing.web_search.cost_usd`, `endpoints.capacity.request.unit`, `endpoints.capacity.request.per`, `endpoints.capacity.request.value`, `endpoints.capacity.web_search.unit`, `endpoints.capacity.web_search.per`, `endpoints.capacity.web_search.value`, `endpoints.capacity.concurrency.unit`, `endpoints.capacity.concurrency.value`, `endpoints.deprecation_date`, `endpoints.is_ready`, `endpoints.is_free`, `endpoints.service_tier`, `endpoints.discount_to_user`, `endpoints.openrouter.slug`, `endpoints.deployment_region`, `endpoints.inputs.text.pricing.prompt.unit`, `endpoints.inputs.text.pricing.prompt.cost_usd`, `endpoints.inputs.text.pricing.prompt.utc_start`, `endpoints.inputs.text.pricing.prompt.utc_end`, `endpoints.inputs.text.pricing.cached_prompt.unit`, `endpoints.inputs.text.pricing.cached_prompt.cost_usd`, `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.text.pricing.cached_prompt.implicit`, `endpoints.inputs.text.pricing.cached_prompt.utc_start`, `endpoints.inputs.text.pricing.cached_prompt.utc_end`, `endpoints.inputs.text.pricing.cache_write.unit`, `endpoints.inputs.text.pricing.cache_write.cost_usd`, `endpoints.inputs.text.pricing.cache_write.ttl_seconds`, `endpoints.inputs.text.pricing.cache_write.implicit`, `endpoints.inputs.text.pricing.cache_write.utc_start`, `endpoints.inputs.text.pricing.cache_write.utc_end`, `endpoints.inputs.text.capacity.prompt.unit`, `endpoints.inputs.text.capacity.prompt.per`, `endpoints.inputs.text.capacity.prompt.value`, `endpoints.inputs.text.capacity.cached_prompt.unit`, `endpoints.inputs.text.capacity.cached_prompt.per`, `endpoints.inputs.text.capacity.cached_prompt.value`, `endpoints.inputs.text.capacity.cache_write.unit`, `endpoints.inputs.text.capacity.cache_write.per`, `endpoints.inputs.text.capacity.cache_write.value`, `endpoints.inputs.text.params.max_prompt_length.value`, `endpoints.inputs.text.params.max_prompt_length.unit`, `endpoints.inputs.text.params.max_length.value`, `endpoints.inputs.text.params.max_length.unit`, `endpoints.inputs.image.pricing.prompt.unit`, `endpoints.inputs.image.pricing.prompt.cost_usd`, `endpoints.inputs.image.pricing.prompt.utc_start`, `endpoints.inputs.image.pricing.prompt.utc_end`, `endpoints.inputs.image.pricing.cached_prompt.unit`, `endpoints.inputs.image.pricing.cached_prompt.cost_usd`, `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.image.pricing.cached_prompt.implicit`, `endpoints.inputs.image.pricing.cached_prompt.utc_start`, `endpoints.inputs.image.pricing.cached_prompt.utc_end`, `endpoints.inputs.image.pricing.cache_write.unit`, `endpoints.inputs.image.pricing.cache_write.cost_usd`, `endpoints.inputs.image.pricing.cache_write.ttl_seconds`, `endpoints.inputs.image.pricing.cache_write.implicit`, `endpoints.inputs.image.pricing.cache_write.utc_start`, `endpoints.inputs.image.pricing.cache_write.utc_end`, `endpoints.inputs.image.capacity.prompt.unit`, `endpoints.inputs.image.capacity.prompt.per`, `endpoints.inputs.image.capacity.prompt.value`, `endpoints.inputs.image.capacity.cached_prompt.unit`, `endpoints.inputs.image.capacity.cached_prompt.per`, `endpoints.inputs.image.capacity.cached_prompt.value`, `endpoints.inputs.image.capacity.cache_write.unit`, `endpoints.inputs.image.capacity.cache_write.per`, `endpoints.inputs.image.capacity.cache_write.value`, `endpoints.inputs.image.params.sources.type`, `endpoints.inputs.image.params.formats.type`, `endpoints.inputs.image.params.detail_levels.type`, `endpoints.inputs.image.params.references.type`, `endpoints.inputs.image.params.references.min`, `endpoints.inputs.image.params.references.max`, `endpoints.inputs.image.params.references.unit`, `endpoints.inputs.image.params.role.type`, `endpoints.inputs.image.params.max_content_size_bytes.value`, `endpoints.inputs.image.params.max_content_size_bytes.unit`, `endpoints.inputs.video.pricing.prompt.unit`, `endpoints.inputs.video.pricing.prompt.cost_usd`, `endpoints.inputs.video.pricing.prompt.utc_start`, `endpoints.inputs.video.pricing.prompt.utc_end`, `endpoints.inputs.video.pricing.cached_prompt.unit`, `endpoints.inputs.video.pricing.cached_prompt.cost_usd`, `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.video.pricing.cached_prompt.implicit`, `endpoints.inputs.video.pricing.cached_prompt.utc_start`, `endpoints.inputs.video.pricing.cached_prompt.utc_end`, `endpoints.inputs.video.pricing.cache_write.unit`, `endpoints.inputs.video.pricing.cache_write.cost_usd`, `endpoints.inputs.video.pricing.cache_write.ttl_seconds`, `endpoints.inputs.video.pricing.cache_write.implicit`, `endpoints.inputs.video.pricing.cache_write.utc_start`, `endpoints.inputs.video.pricing.cache_write.utc_end`, `endpoints.inputs.video.capacity.prompt.unit`, `endpoints.inputs.video.capacity.prompt.per`, `endpoints.inputs.video.capacity.prompt.value`, `endpoints.inputs.video.capacity.cached_prompt.unit`, `endpoints.inputs.video.capacity.cached_prompt.per`, `endpoints.inputs.video.capacity.cached_prompt.value`, `endpoints.inputs.video.capacity.cache_write.unit`, `endpoints.inputs.video.capacity.cache_write.per`, `endpoints.inputs.video.capacity.cache_write.value`, `endpoints.inputs.video.params.sources.type`, `endpoints.inputs.video.params.formats.type`, `endpoints.inputs.video.params.max_duration_seconds.value`, `endpoints.inputs.video.params.max_duration_seconds.unit`, `endpoints.inputs.video.params.max_content_size_bytes.value`, `endpoints.inputs.video.params.max_content_size_bytes.unit`, `endpoints.inputs.audio.pricing.prompt.unit`, `endpoints.inputs.audio.pricing.prompt.cost_usd`, `endpoints.inputs.audio.pricing.prompt.utc_start`, `endpoints.inputs.audio.pricing.prompt.utc_end`, `endpoints.inputs.audio.pricing.cached_prompt.unit`, `endpoints.inputs.audio.pricing.cached_prompt.cost_usd`, `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.audio.pricing.cached_prompt.implicit`, `endpoints.inputs.audio.pricing.cached_prompt.utc_start`, `endpoints.inputs.audio.pricing.cached_prompt.utc_end`, `endpoints.inputs.audio.pricing.cache_write.unit`, `endpoints.inputs.audio.pricing.cache_write.cost_usd`, `endpoints.inputs.audio.pricing.cache_write.ttl_seconds`, `endpoints.inputs.audio.pricing.cache_write.implicit`, `endpoints.inputs.audio.pricing.cache_write.utc_start`, `endpoints.inputs.audio.pricing.cache_write.utc_end`, `endpoints.inputs.audio.capacity.prompt.unit`, `endpoints.inputs.audio.capacity.prompt.per`, `endpoints.inputs.audio.capacity.prompt.value`, `endpoints.inputs.audio.capacity.cached_prompt.unit`, `endpoints.inputs.audio.capacity.cached_prompt.per`, `endpoints.inputs.audio.capacity.cached_prompt.value`, `endpoints.inputs.audio.capacity.cache_write.unit`, `endpoints.inputs.audio.capacity.cache_write.per`, `endpoints.inputs.audio.capacity.cache_write.value`, `endpoints.inputs.audio.params.sources.type`, `endpoints.inputs.audio.params.formats.type`, `endpoints.inputs.audio.params.max_duration_seconds.value`, `endpoints.inputs.audio.params.max_duration_seconds.unit`, `endpoints.inputs.audio.params.max_content_size_bytes.value`, `endpoints.inputs.audio.params.max_content_size_bytes.unit`, `endpoints.inputs.file.pricing.prompt.unit`, `endpoints.inputs.file.pricing.prompt.cost_usd`, `endpoints.inputs.file.pricing.prompt.utc_start`, `endpoints.inputs.file.pricing.prompt.utc_end`, `endpoints.inputs.file.pricing.cached_prompt.unit`, `endpoints.inputs.file.pricing.cached_prompt.cost_usd`, `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.file.pricing.cached_prompt.implicit`, `endpoints.inputs.file.pricing.cached_prompt.utc_start`, `endpoints.inputs.file.pricing.cached_prompt.utc_end`, `endpoints.inputs.file.pricing.cache_write.unit`, `endpoints.inputs.file.pricing.cache_write.cost_usd`, `endpoints.inputs.file.pricing.cache_write.ttl_seconds`, `endpoints.inputs.file.pricing.cache_write.implicit`, `endpoints.inputs.file.pricing.cache_write.utc_start`, `endpoints.inputs.file.pricing.cache_write.utc_end`, `endpoints.inputs.file.capacity.prompt.unit`, `endpoints.inputs.file.capacity.prompt.per`, `endpoints.inputs.file.capacity.prompt.value`, `endpoints.inputs.file.capacity.cached_prompt.unit`, `endpoints.inputs.file.capacity.cached_prompt.per`, `endpoints.inputs.file.capacity.cached_prompt.value`, `endpoints.inputs.file.capacity.cache_write.unit`, `endpoints.inputs.file.capacity.cache_write.per`, `endpoints.inputs.file.capacity.cache_write.value`, `endpoints.inputs.file.params.sources.type`, `endpoints.inputs.file.params.formats.type`, `endpoints.inputs.file.params.references.type`, `endpoints.inputs.file.params.references.min`, `endpoints.inputs.file.params.references.max`, `endpoints.inputs.file.params.references.unit`, `endpoints.inputs.file.params.max_content_size_bytes.value`, `endpoints.inputs.file.params.max_content_size_bytes.unit`, `endpoints.outputs.text.max_length.value`, `endpoints.outputs.text.max_length.unit`, `endpoints.outputs.text.pricing.completion.unit`, `endpoints.outputs.text.pricing.completion.cost_usd`, `endpoints.outputs.text.pricing.completion.utc_start`, `endpoints.outputs.text.pricing.completion.utc_end`, `endpoints.outputs.text.pricing.internal_reasoning.unit`, `endpoints.outputs.text.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.text.pricing.internal_reasoning.utc_start`, `endpoints.outputs.text.pricing.internal_reasoning.utc_end`, `endpoints.outputs.text.capacity.completion.unit`, `endpoints.outputs.text.capacity.completion.per`, `endpoints.outputs.text.capacity.completion.value`, `endpoints.outputs.text.capacity.internal_reasoning.unit`, `endpoints.outputs.text.capacity.internal_reasoning.per`, `endpoints.outputs.text.capacity.internal_reasoning.value`, `endpoints.outputs.text.capacity.concurrency.unit`, `endpoints.outputs.text.capacity.concurrency.value`, `endpoints.outputs.text.streaming`, `endpoints.outputs.image.pricing.completion.unit`, `endpoints.outputs.image.pricing.completion.cost_usd`, `endpoints.outputs.image.pricing.completion.utc_start`, `endpoints.outputs.image.pricing.completion.utc_end`, `endpoints.outputs.image.pricing.internal_reasoning.unit`, `endpoints.outputs.image.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.image.pricing.internal_reasoning.utc_start`, `endpoints.outputs.image.pricing.internal_reasoning.utc_end`, `endpoints.outputs.image.capacity.completion.unit`, `endpoints.outputs.image.capacity.completion.per`, `endpoints.outputs.image.capacity.completion.value`, `endpoints.outputs.image.capacity.internal_reasoning.unit`, `endpoints.outputs.image.capacity.internal_reasoning.per`, `endpoints.outputs.image.capacity.internal_reasoning.value`, `endpoints.outputs.image.capacity.concurrency.unit`, `endpoints.outputs.image.capacity.concurrency.value`, `endpoints.outputs.image.streaming`, `endpoints.outputs.video.pricing.completion.unit`, `endpoints.outputs.video.pricing.completion.cost_usd`, `endpoints.outputs.video.pricing.completion.utc_start`, `endpoints.outputs.video.pricing.completion.utc_end`, `endpoints.outputs.video.pricing.internal_reasoning.unit`, `endpoints.outputs.video.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.video.pricing.internal_reasoning.utc_start`, `endpoints.outputs.video.pricing.internal_reasoning.utc_end`, `endpoints.outputs.video.capacity.completion.unit`, `endpoints.outputs.video.capacity.completion.per`, `endpoints.outputs.video.capacity.completion.value`, `endpoints.outputs.video.capacity.internal_reasoning.unit`, `endpoints.outputs.video.capacity.internal_reasoning.per`, `endpoints.outputs.video.capacity.internal_reasoning.value`, `endpoints.outputs.video.capacity.concurrency.unit`, `endpoints.outputs.video.capacity.concurrency.value`, `endpoints.outputs.video.streaming`, `endpoints.outputs.speech.pricing.completion.unit`, `endpoints.outputs.speech.pricing.completion.cost_usd`, `endpoints.outputs.speech.pricing.completion.utc_start`, `endpoints.outputs.speech.pricing.completion.utc_end`, `endpoints.outputs.speech.pricing.internal_reasoning.unit`, `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_start`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_end`, `endpoints.outputs.speech.capacity.completion.unit`, `endpoints.outputs.speech.capacity.completion.per`, `endpoints.outputs.speech.capacity.completion.value`, `endpoints.outputs.speech.capacity.internal_reasoning.unit`, `endpoints.outputs.speech.capacity.internal_reasoning.per`, `endpoints.outputs.speech.capacity.internal_reasoning.value`, `endpoints.outputs.speech.capacity.concurrency.unit`, `endpoints.outputs.speech.capacity.concurrency.value`, `endpoints.outputs.speech.streaming`, `endpoints.outputs.transcription.pricing.completion.unit`, `endpoints.outputs.transcription.pricing.completion.cost_usd`, `endpoints.outputs.transcription.pricing.completion.utc_start`, `endpoints.outputs.transcription.pricing.completion.utc_end`, `endpoints.outputs.transcription.pricing.internal_reasoning.unit`, `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end`, `endpoints.outputs.transcription.capacity.completion.unit`, `endpoints.outputs.transcription.capacity.completion.per`, `endpoints.outputs.transcription.capacity.completion.value`, `endpoints.outputs.transcription.capacity.internal_reasoning.unit`, `endpoints.outputs.transcription.capacity.internal_reasoning.per`, `endpoints.outputs.transcription.capacity.internal_reasoning.value`, `endpoints.outputs.transcription.capacity.concurrency.unit`, `endpoints.outputs.transcription.capacity.concurrency.value`, `endpoints.outputs.transcription.streaming`, `endpoints.outputs.embeddings.pricing.completion.unit`, `endpoints.outputs.embeddings.pricing.completion.cost_usd`, `endpoints.outputs.embeddings.pricing.completion.utc_start`, `endpoints.outputs.embeddings.pricing.completion.utc_end`, `endpoints.outputs.embeddings.pricing.internal_reasoning.unit`, `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end`, `endpoints.outputs.embeddings.capacity.completion.unit`, `endpoints.outputs.embeddings.capacity.completion.per`, `endpoints.outputs.embeddings.capacity.completion.value`, `endpoints.outputs.embeddings.capacity.internal_reasoning.unit`, `endpoints.outputs.embeddings.capacity.internal_reasoning.per`, `endpoints.outputs.embeddings.capacity.internal_reasoning.value`, `endpoints.outputs.embeddings.capacity.concurrency.unit`, `endpoints.outputs.embeddings.capacity.concurrency.value`, `endpoints.outputs.rerank.pricing.completion.unit`, `endpoints.outputs.rerank.pricing.completion.cost_usd`, `endpoints.outputs.rerank.pricing.completion.utc_start`, `endpoints.outputs.rerank.pricing.completion.utc_end`, `endpoints.outputs.rerank.pricing.internal_reasoning.unit`, `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end`, `endpoints.outputs.rerank.capacity.completion.unit`, `endpoints.outputs.rerank.capacity.completion.per`, `endpoints.outputs.rerank.capacity.completion.value`, `endpoints.outputs.rerank.capacity.internal_reasoning.unit`, `endpoints.outputs.rerank.capacity.internal_reasoning.per`, `endpoints.outputs.rerank.capacity.internal_reasoning.value`, `endpoints.outputs.rerank.capacity.concurrency.unit`, `endpoints.outputs.rerank.capacity.concurrency.value`, `endpoints.outputs.decisions.pricing.completion.unit`, `endpoints.outputs.decisions.pricing.completion.cost_usd`, `endpoints.outputs.decisions.pricing.completion.utc_start`, `endpoints.outputs.decisions.pricing.completion.utc_end`, `endpoints.outputs.decisions.pricing.internal_reasoning.unit`, `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end`, `endpoints.outputs.decisions.capacity.completion.unit`, `endpoints.outputs.decisions.capacity.completion.per`, `endpoints.outputs.decisions.capacity.completion.value`, `endpoints.outputs.decisions.capacity.internal_reasoning.unit`, `endpoints.outputs.decisions.capacity.internal_reasoning.per`, `endpoints.outputs.decisions.capacity.internal_reasoning.value`, `endpoints.outputs.decisions.capacity.concurrency.unit`, `endpoints.outputs.decisions.capacity.concurrency.value`, `endpoints.outputs.audio.pricing.completion.unit`, `endpoints.outputs.audio.pricing.completion.cost_usd`, `endpoints.outputs.audio.pricing.completion.utc_start`, `endpoints.outputs.audio.pricing.completion.utc_end`, `endpoints.outputs.audio.pricing.internal_reasoning.unit`, `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_start`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_end`, `endpoints.outputs.audio.capacity.completion.unit`, `endpoints.outputs.audio.capacity.completion.per`, `endpoints.outputs.audio.capacity.completion.value`, `endpoints.outputs.audio.capacity.internal_reasoning.unit`, `endpoints.outputs.audio.capacity.internal_reasoning.per`, `endpoints.outputs.audio.capacity.internal_reasoning.value`, `endpoints.outputs.audio.capacity.concurrency.unit`, `endpoints.outputs.audio.capacity.concurrency.value`, `endpoints.outputs.audio.streaming`, `endpoints.provider.slug`, `endpoints.provider.tag`, `endpoints.provider.name`, `endpoints.data_policy.training`, `endpoints.data_policy.retains_prompts`, `endpoints.data_policy.retention_days`.", + "in": "query", + "name": "sort", + "required": false, + "schema": { + "description": "Comma-separated sort keys, each a path below or an arithmetic expression over numeric paths; prefix with `-` for descending. A key under `endpoints.` ranks each model by its best endpoint value in the sort direction. Missing values sort last and `id` ascending breaks ties. Keys: `id`, `canonical_slug`, `author`, `name`, `variant`, `kind`, `alias_target.slug`, `alias_target.name`, `created`, `description`, `context_length`, `hugging_face_id`, `endpoints.schema_version`, `endpoints.id`, `endpoints.hugging_face_id`, `endpoints.name`, `endpoints.created`, `endpoints.quantization`, `endpoints.tokenizer`, `endpoints.description`, `endpoints.pricing.request.unit`, `endpoints.pricing.request.cost_usd`, `endpoints.pricing.web_search.unit`, `endpoints.pricing.web_search.cost_usd`, `endpoints.capacity.request.unit`, `endpoints.capacity.request.per`, `endpoints.capacity.request.value`, `endpoints.capacity.web_search.unit`, `endpoints.capacity.web_search.per`, `endpoints.capacity.web_search.value`, `endpoints.capacity.concurrency.unit`, `endpoints.capacity.concurrency.value`, `endpoints.deprecation_date`, `endpoints.is_ready`, `endpoints.is_free`, `endpoints.service_tier`, `endpoints.discount_to_user`, `endpoints.openrouter.slug`, `endpoints.deployment_region`, `endpoints.inputs.text.pricing.prompt.unit`, `endpoints.inputs.text.pricing.prompt.cost_usd`, `endpoints.inputs.text.pricing.prompt.utc_start`, `endpoints.inputs.text.pricing.prompt.utc_end`, `endpoints.inputs.text.pricing.cached_prompt.unit`, `endpoints.inputs.text.pricing.cached_prompt.cost_usd`, `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.text.pricing.cached_prompt.implicit`, `endpoints.inputs.text.pricing.cached_prompt.utc_start`, `endpoints.inputs.text.pricing.cached_prompt.utc_end`, `endpoints.inputs.text.pricing.cache_write.unit`, `endpoints.inputs.text.pricing.cache_write.cost_usd`, `endpoints.inputs.text.pricing.cache_write.ttl_seconds`, `endpoints.inputs.text.pricing.cache_write.implicit`, `endpoints.inputs.text.pricing.cache_write.utc_start`, `endpoints.inputs.text.pricing.cache_write.utc_end`, `endpoints.inputs.text.capacity.prompt.unit`, `endpoints.inputs.text.capacity.prompt.per`, `endpoints.inputs.text.capacity.prompt.value`, `endpoints.inputs.text.capacity.cached_prompt.unit`, `endpoints.inputs.text.capacity.cached_prompt.per`, `endpoints.inputs.text.capacity.cached_prompt.value`, `endpoints.inputs.text.capacity.cache_write.unit`, `endpoints.inputs.text.capacity.cache_write.per`, `endpoints.inputs.text.capacity.cache_write.value`, `endpoints.inputs.text.params.max_prompt_length.value`, `endpoints.inputs.text.params.max_prompt_length.unit`, `endpoints.inputs.text.params.max_length.value`, `endpoints.inputs.text.params.max_length.unit`, `endpoints.inputs.image.pricing.prompt.unit`, `endpoints.inputs.image.pricing.prompt.cost_usd`, `endpoints.inputs.image.pricing.prompt.utc_start`, `endpoints.inputs.image.pricing.prompt.utc_end`, `endpoints.inputs.image.pricing.cached_prompt.unit`, `endpoints.inputs.image.pricing.cached_prompt.cost_usd`, `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.image.pricing.cached_prompt.implicit`, `endpoints.inputs.image.pricing.cached_prompt.utc_start`, `endpoints.inputs.image.pricing.cached_prompt.utc_end`, `endpoints.inputs.image.pricing.cache_write.unit`, `endpoints.inputs.image.pricing.cache_write.cost_usd`, `endpoints.inputs.image.pricing.cache_write.ttl_seconds`, `endpoints.inputs.image.pricing.cache_write.implicit`, `endpoints.inputs.image.pricing.cache_write.utc_start`, `endpoints.inputs.image.pricing.cache_write.utc_end`, `endpoints.inputs.image.capacity.prompt.unit`, `endpoints.inputs.image.capacity.prompt.per`, `endpoints.inputs.image.capacity.prompt.value`, `endpoints.inputs.image.capacity.cached_prompt.unit`, `endpoints.inputs.image.capacity.cached_prompt.per`, `endpoints.inputs.image.capacity.cached_prompt.value`, `endpoints.inputs.image.capacity.cache_write.unit`, `endpoints.inputs.image.capacity.cache_write.per`, `endpoints.inputs.image.capacity.cache_write.value`, `endpoints.inputs.image.params.sources.type`, `endpoints.inputs.image.params.formats.type`, `endpoints.inputs.image.params.detail_levels.type`, `endpoints.inputs.image.params.references.type`, `endpoints.inputs.image.params.references.min`, `endpoints.inputs.image.params.references.max`, `endpoints.inputs.image.params.references.unit`, `endpoints.inputs.image.params.role.type`, `endpoints.inputs.image.params.max_content_size_bytes.value`, `endpoints.inputs.image.params.max_content_size_bytes.unit`, `endpoints.inputs.video.pricing.prompt.unit`, `endpoints.inputs.video.pricing.prompt.cost_usd`, `endpoints.inputs.video.pricing.prompt.utc_start`, `endpoints.inputs.video.pricing.prompt.utc_end`, `endpoints.inputs.video.pricing.cached_prompt.unit`, `endpoints.inputs.video.pricing.cached_prompt.cost_usd`, `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.video.pricing.cached_prompt.implicit`, `endpoints.inputs.video.pricing.cached_prompt.utc_start`, `endpoints.inputs.video.pricing.cached_prompt.utc_end`, `endpoints.inputs.video.pricing.cache_write.unit`, `endpoints.inputs.video.pricing.cache_write.cost_usd`, `endpoints.inputs.video.pricing.cache_write.ttl_seconds`, `endpoints.inputs.video.pricing.cache_write.implicit`, `endpoints.inputs.video.pricing.cache_write.utc_start`, `endpoints.inputs.video.pricing.cache_write.utc_end`, `endpoints.inputs.video.capacity.prompt.unit`, `endpoints.inputs.video.capacity.prompt.per`, `endpoints.inputs.video.capacity.prompt.value`, `endpoints.inputs.video.capacity.cached_prompt.unit`, `endpoints.inputs.video.capacity.cached_prompt.per`, `endpoints.inputs.video.capacity.cached_prompt.value`, `endpoints.inputs.video.capacity.cache_write.unit`, `endpoints.inputs.video.capacity.cache_write.per`, `endpoints.inputs.video.capacity.cache_write.value`, `endpoints.inputs.video.params.sources.type`, `endpoints.inputs.video.params.formats.type`, `endpoints.inputs.video.params.max_duration_seconds.value`, `endpoints.inputs.video.params.max_duration_seconds.unit`, `endpoints.inputs.video.params.max_content_size_bytes.value`, `endpoints.inputs.video.params.max_content_size_bytes.unit`, `endpoints.inputs.audio.pricing.prompt.unit`, `endpoints.inputs.audio.pricing.prompt.cost_usd`, `endpoints.inputs.audio.pricing.prompt.utc_start`, `endpoints.inputs.audio.pricing.prompt.utc_end`, `endpoints.inputs.audio.pricing.cached_prompt.unit`, `endpoints.inputs.audio.pricing.cached_prompt.cost_usd`, `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.audio.pricing.cached_prompt.implicit`, `endpoints.inputs.audio.pricing.cached_prompt.utc_start`, `endpoints.inputs.audio.pricing.cached_prompt.utc_end`, `endpoints.inputs.audio.pricing.cache_write.unit`, `endpoints.inputs.audio.pricing.cache_write.cost_usd`, `endpoints.inputs.audio.pricing.cache_write.ttl_seconds`, `endpoints.inputs.audio.pricing.cache_write.implicit`, `endpoints.inputs.audio.pricing.cache_write.utc_start`, `endpoints.inputs.audio.pricing.cache_write.utc_end`, `endpoints.inputs.audio.capacity.prompt.unit`, `endpoints.inputs.audio.capacity.prompt.per`, `endpoints.inputs.audio.capacity.prompt.value`, `endpoints.inputs.audio.capacity.cached_prompt.unit`, `endpoints.inputs.audio.capacity.cached_prompt.per`, `endpoints.inputs.audio.capacity.cached_prompt.value`, `endpoints.inputs.audio.capacity.cache_write.unit`, `endpoints.inputs.audio.capacity.cache_write.per`, `endpoints.inputs.audio.capacity.cache_write.value`, `endpoints.inputs.audio.params.sources.type`, `endpoints.inputs.audio.params.formats.type`, `endpoints.inputs.audio.params.max_duration_seconds.value`, `endpoints.inputs.audio.params.max_duration_seconds.unit`, `endpoints.inputs.audio.params.max_content_size_bytes.value`, `endpoints.inputs.audio.params.max_content_size_bytes.unit`, `endpoints.inputs.file.pricing.prompt.unit`, `endpoints.inputs.file.pricing.prompt.cost_usd`, `endpoints.inputs.file.pricing.prompt.utc_start`, `endpoints.inputs.file.pricing.prompt.utc_end`, `endpoints.inputs.file.pricing.cached_prompt.unit`, `endpoints.inputs.file.pricing.cached_prompt.cost_usd`, `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds`, `endpoints.inputs.file.pricing.cached_prompt.implicit`, `endpoints.inputs.file.pricing.cached_prompt.utc_start`, `endpoints.inputs.file.pricing.cached_prompt.utc_end`, `endpoints.inputs.file.pricing.cache_write.unit`, `endpoints.inputs.file.pricing.cache_write.cost_usd`, `endpoints.inputs.file.pricing.cache_write.ttl_seconds`, `endpoints.inputs.file.pricing.cache_write.implicit`, `endpoints.inputs.file.pricing.cache_write.utc_start`, `endpoints.inputs.file.pricing.cache_write.utc_end`, `endpoints.inputs.file.capacity.prompt.unit`, `endpoints.inputs.file.capacity.prompt.per`, `endpoints.inputs.file.capacity.prompt.value`, `endpoints.inputs.file.capacity.cached_prompt.unit`, `endpoints.inputs.file.capacity.cached_prompt.per`, `endpoints.inputs.file.capacity.cached_prompt.value`, `endpoints.inputs.file.capacity.cache_write.unit`, `endpoints.inputs.file.capacity.cache_write.per`, `endpoints.inputs.file.capacity.cache_write.value`, `endpoints.inputs.file.params.sources.type`, `endpoints.inputs.file.params.formats.type`, `endpoints.inputs.file.params.references.type`, `endpoints.inputs.file.params.references.min`, `endpoints.inputs.file.params.references.max`, `endpoints.inputs.file.params.references.unit`, `endpoints.inputs.file.params.max_content_size_bytes.value`, `endpoints.inputs.file.params.max_content_size_bytes.unit`, `endpoints.outputs.text.max_length.value`, `endpoints.outputs.text.max_length.unit`, `endpoints.outputs.text.pricing.completion.unit`, `endpoints.outputs.text.pricing.completion.cost_usd`, `endpoints.outputs.text.pricing.completion.utc_start`, `endpoints.outputs.text.pricing.completion.utc_end`, `endpoints.outputs.text.pricing.internal_reasoning.unit`, `endpoints.outputs.text.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.text.pricing.internal_reasoning.utc_start`, `endpoints.outputs.text.pricing.internal_reasoning.utc_end`, `endpoints.outputs.text.capacity.completion.unit`, `endpoints.outputs.text.capacity.completion.per`, `endpoints.outputs.text.capacity.completion.value`, `endpoints.outputs.text.capacity.internal_reasoning.unit`, `endpoints.outputs.text.capacity.internal_reasoning.per`, `endpoints.outputs.text.capacity.internal_reasoning.value`, `endpoints.outputs.text.capacity.concurrency.unit`, `endpoints.outputs.text.capacity.concurrency.value`, `endpoints.outputs.text.streaming`, `endpoints.outputs.image.pricing.completion.unit`, `endpoints.outputs.image.pricing.completion.cost_usd`, `endpoints.outputs.image.pricing.completion.utc_start`, `endpoints.outputs.image.pricing.completion.utc_end`, `endpoints.outputs.image.pricing.internal_reasoning.unit`, `endpoints.outputs.image.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.image.pricing.internal_reasoning.utc_start`, `endpoints.outputs.image.pricing.internal_reasoning.utc_end`, `endpoints.outputs.image.capacity.completion.unit`, `endpoints.outputs.image.capacity.completion.per`, `endpoints.outputs.image.capacity.completion.value`, `endpoints.outputs.image.capacity.internal_reasoning.unit`, `endpoints.outputs.image.capacity.internal_reasoning.per`, `endpoints.outputs.image.capacity.internal_reasoning.value`, `endpoints.outputs.image.capacity.concurrency.unit`, `endpoints.outputs.image.capacity.concurrency.value`, `endpoints.outputs.image.streaming`, `endpoints.outputs.video.pricing.completion.unit`, `endpoints.outputs.video.pricing.completion.cost_usd`, `endpoints.outputs.video.pricing.completion.utc_start`, `endpoints.outputs.video.pricing.completion.utc_end`, `endpoints.outputs.video.pricing.internal_reasoning.unit`, `endpoints.outputs.video.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.video.pricing.internal_reasoning.utc_start`, `endpoints.outputs.video.pricing.internal_reasoning.utc_end`, `endpoints.outputs.video.capacity.completion.unit`, `endpoints.outputs.video.capacity.completion.per`, `endpoints.outputs.video.capacity.completion.value`, `endpoints.outputs.video.capacity.internal_reasoning.unit`, `endpoints.outputs.video.capacity.internal_reasoning.per`, `endpoints.outputs.video.capacity.internal_reasoning.value`, `endpoints.outputs.video.capacity.concurrency.unit`, `endpoints.outputs.video.capacity.concurrency.value`, `endpoints.outputs.video.streaming`, `endpoints.outputs.speech.pricing.completion.unit`, `endpoints.outputs.speech.pricing.completion.cost_usd`, `endpoints.outputs.speech.pricing.completion.utc_start`, `endpoints.outputs.speech.pricing.completion.utc_end`, `endpoints.outputs.speech.pricing.internal_reasoning.unit`, `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_start`, `endpoints.outputs.speech.pricing.internal_reasoning.utc_end`, `endpoints.outputs.speech.capacity.completion.unit`, `endpoints.outputs.speech.capacity.completion.per`, `endpoints.outputs.speech.capacity.completion.value`, `endpoints.outputs.speech.capacity.internal_reasoning.unit`, `endpoints.outputs.speech.capacity.internal_reasoning.per`, `endpoints.outputs.speech.capacity.internal_reasoning.value`, `endpoints.outputs.speech.capacity.concurrency.unit`, `endpoints.outputs.speech.capacity.concurrency.value`, `endpoints.outputs.speech.streaming`, `endpoints.outputs.transcription.pricing.completion.unit`, `endpoints.outputs.transcription.pricing.completion.cost_usd`, `endpoints.outputs.transcription.pricing.completion.utc_start`, `endpoints.outputs.transcription.pricing.completion.utc_end`, `endpoints.outputs.transcription.pricing.internal_reasoning.unit`, `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start`, `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end`, `endpoints.outputs.transcription.capacity.completion.unit`, `endpoints.outputs.transcription.capacity.completion.per`, `endpoints.outputs.transcription.capacity.completion.value`, `endpoints.outputs.transcription.capacity.internal_reasoning.unit`, `endpoints.outputs.transcription.capacity.internal_reasoning.per`, `endpoints.outputs.transcription.capacity.internal_reasoning.value`, `endpoints.outputs.transcription.capacity.concurrency.unit`, `endpoints.outputs.transcription.capacity.concurrency.value`, `endpoints.outputs.transcription.streaming`, `endpoints.outputs.embeddings.pricing.completion.unit`, `endpoints.outputs.embeddings.pricing.completion.cost_usd`, `endpoints.outputs.embeddings.pricing.completion.utc_start`, `endpoints.outputs.embeddings.pricing.completion.utc_end`, `endpoints.outputs.embeddings.pricing.internal_reasoning.unit`, `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start`, `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end`, `endpoints.outputs.embeddings.capacity.completion.unit`, `endpoints.outputs.embeddings.capacity.completion.per`, `endpoints.outputs.embeddings.capacity.completion.value`, `endpoints.outputs.embeddings.capacity.internal_reasoning.unit`, `endpoints.outputs.embeddings.capacity.internal_reasoning.per`, `endpoints.outputs.embeddings.capacity.internal_reasoning.value`, `endpoints.outputs.embeddings.capacity.concurrency.unit`, `endpoints.outputs.embeddings.capacity.concurrency.value`, `endpoints.outputs.rerank.pricing.completion.unit`, `endpoints.outputs.rerank.pricing.completion.cost_usd`, `endpoints.outputs.rerank.pricing.completion.utc_start`, `endpoints.outputs.rerank.pricing.completion.utc_end`, `endpoints.outputs.rerank.pricing.internal_reasoning.unit`, `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start`, `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end`, `endpoints.outputs.rerank.capacity.completion.unit`, `endpoints.outputs.rerank.capacity.completion.per`, `endpoints.outputs.rerank.capacity.completion.value`, `endpoints.outputs.rerank.capacity.internal_reasoning.unit`, `endpoints.outputs.rerank.capacity.internal_reasoning.per`, `endpoints.outputs.rerank.capacity.internal_reasoning.value`, `endpoints.outputs.rerank.capacity.concurrency.unit`, `endpoints.outputs.rerank.capacity.concurrency.value`, `endpoints.outputs.decisions.pricing.completion.unit`, `endpoints.outputs.decisions.pricing.completion.cost_usd`, `endpoints.outputs.decisions.pricing.completion.utc_start`, `endpoints.outputs.decisions.pricing.completion.utc_end`, `endpoints.outputs.decisions.pricing.internal_reasoning.unit`, `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start`, `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end`, `endpoints.outputs.decisions.capacity.completion.unit`, `endpoints.outputs.decisions.capacity.completion.per`, `endpoints.outputs.decisions.capacity.completion.value`, `endpoints.outputs.decisions.capacity.internal_reasoning.unit`, `endpoints.outputs.decisions.capacity.internal_reasoning.per`, `endpoints.outputs.decisions.capacity.internal_reasoning.value`, `endpoints.outputs.decisions.capacity.concurrency.unit`, `endpoints.outputs.decisions.capacity.concurrency.value`, `endpoints.outputs.audio.pricing.completion.unit`, `endpoints.outputs.audio.pricing.completion.cost_usd`, `endpoints.outputs.audio.pricing.completion.utc_start`, `endpoints.outputs.audio.pricing.completion.utc_end`, `endpoints.outputs.audio.pricing.internal_reasoning.unit`, `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_start`, `endpoints.outputs.audio.pricing.internal_reasoning.utc_end`, `endpoints.outputs.audio.capacity.completion.unit`, `endpoints.outputs.audio.capacity.completion.per`, `endpoints.outputs.audio.capacity.completion.value`, `endpoints.outputs.audio.capacity.internal_reasoning.unit`, `endpoints.outputs.audio.capacity.internal_reasoning.per`, `endpoints.outputs.audio.capacity.internal_reasoning.value`, `endpoints.outputs.audio.capacity.concurrency.unit`, `endpoints.outputs.audio.capacity.concurrency.value`, `endpoints.outputs.audio.streaming`, `endpoints.provider.slug`, `endpoints.provider.tag`, `endpoints.provider.name`, `endpoints.data_policy.training`, `endpoints.data_policy.retains_prompts`, `endpoints.data_policy.retention_days`.", + "example": "-created,endpoints.inputs.text.pricing.prompt.cost_usd", + "type": "string" + } + }, + { + "description": "Filter where the value at `id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "id", + "required": false, + "schema": { + "description": "Filter where the value at `id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `canonical_slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "canonical_slug", + "required": false, + "schema": { + "description": "Filter where the value at `canonical_slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `author` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "author", + "required": false, + "schema": { + "description": "Filter where the value at `author` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "name", + "required": false, + "schema": { + "description": "Filter where the value at `name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `variant` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `free`, `extended`, `standard`, `thinking`, `batch`.", + "in": "query", + "name": "variant", + "required": false, + "schema": { + "description": "Filter where the value at `variant` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `free`, `extended`, `standard`, `thinking`, `batch`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `kind` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `model`, `router`, `alias`.", + "in": "query", + "name": "kind", + "required": false, + "schema": { + "description": "Filter where the value at `kind` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `model`, `router`, `alias`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `alias_target.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "alias_target.slug", + "required": false, + "schema": { + "description": "Filter where the value at `alias_target.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `alias_target.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "alias_target.name", + "required": false, + "schema": { + "description": "Filter where the value at `alias_target.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "created", + "required": false, + "schema": { + "description": "Filter where the value at `created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "description", + "required": false, + "schema": { + "description": "Filter where the value at `description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `context_length` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "context_length", + "required": false, + "schema": { + "description": "Filter where the value at `context_length` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "hugging_face_id", + "required": false, + "schema": { + "description": "Filter where the value at `hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `inputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `file`, `audio`, `video`.", + "in": "query", + "name": "inputs", + "required": false, + "schema": { + "description": "Filter where any element at `inputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `file`, `audio`, `video`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `outputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `embeddings`, `audio`, `video`, `rerank`, `decisions`, `speech`, `transcription`.", + "in": "query", + "name": "outputs", + "required": false, + "schema": { + "description": "Filter where any element at `outputs` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `embeddings`, `audio`, `video`, `rerank`, `decisions`, `speech`, `transcription`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.schema_version` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.schema_version", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.schema_version` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.id", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.hugging_face_id", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.hugging_face_id` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.name", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.created", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.created` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.quantization` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `int4`, `int8`, `fp4`, `mxfp4`, `nvfp4`, `fp6`, `fp8`, `mxfp8`, `fp16`, `bf16`, `fp32`.", + "in": "query", + "name": "endpoints.quantization", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.quantization` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `int4`, `int8`, `fp4`, `mxfp4`, `nvfp4`, `fp6`, `fp8`, `mxfp8`, `fp16`, `bf16`, `fp32`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.tokenizer` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.tokenizer", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.tokenizer` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.description", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.description` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`.", + "in": "query", + "name": "endpoints.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.pricing.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.pricing.request.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.pricing.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.pricing.request.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.pricing.request.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.pricing.request.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.pricing.request.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.pricing.request.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.pricing.request.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.pricing.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`.", + "in": "query", + "name": "endpoints.pricing.web_search.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.pricing.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.pricing.web_search.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.pricing.web_search.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.pricing.web_search.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.pricing.web_search.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.pricing.web_search.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.pricing.web_search.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`, `concurrency`.", + "in": "query", + "name": "endpoints.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`, `web_search`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.capacity.request.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.request.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.request.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.capacity.request.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.request.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.request.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.capacity.request.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.request.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`.", + "in": "query", + "name": "endpoints.capacity.web_search.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.web_search.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `search`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.web_search.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.capacity.web_search.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.web_search.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.web_search.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.capacity.web_search.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.web_search.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.passthrough_parameters`: `endpoints.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.passthrough_parameters..type`, `endpoints.passthrough_parameters..range.min`, `endpoints.passthrough_parameters..range.max`, `endpoints.passthrough_parameters..range.default`, `endpoints.passthrough_parameters..range.values`, `endpoints.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.passthrough_parameters`: `endpoints.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.passthrough_parameters..type`, `endpoints.passthrough_parameters..range.min`, `endpoints.passthrough_parameters..range.max`, `endpoints.passthrough_parameters..range.default`, `endpoints.passthrough_parameters..range.values`, `endpoints.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.deprecation_date` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.deprecation_date", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.deprecation_date` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.is_ready` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.is_ready", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.is_ready` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.is_free` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.is_free", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.is_free` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.service_tier` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `flex`, `priority`, `ultrafast`, `fast`.", + "in": "query", + "name": "endpoints.service_tier", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.service_tier` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `flex`, `priority`, `ultrafast`, `fast`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.discount_to_user` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.discount_to_user", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.discount_to_user` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.openrouter.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.openrouter.slug", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.openrouter.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.datacenters.country_code` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.datacenters.country_code", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.datacenters.country_code` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.datacenters.region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.datacenters.region", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.datacenters.region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.deployment_region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.deployment_region", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.deployment_region` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `audio`, `file`.", + "in": "query", + "name": "endpoints.inputs.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `audio`, `file`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.text.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.pricing.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.text.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.text.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.text.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.text.pricing.prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.text.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.text.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.text.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cached_prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.text.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.text.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.text.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.text.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.text.pricing.cache_write.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.text.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.text.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.capacity.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.text.capacity.prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.capacity.prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.capacity.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.text.capacity.cached_prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.capacity.cached_prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.capacity.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.text.capacity.cache_write.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.capacity.cache_write.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.inputs.text.passthrough_parameters`: `endpoints.inputs.text.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.text.passthrough_parameters..type`, `endpoints.inputs.text.passthrough_parameters..range.min`, `endpoints.inputs.text.passthrough_parameters..range.max`, `endpoints.inputs.text.passthrough_parameters..range.default`, `endpoints.inputs.text.passthrough_parameters..range.values`, `endpoints.inputs.text.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.inputs.text.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.inputs.text.passthrough_parameters`: `endpoints.inputs.text.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.text.passthrough_parameters..type`, `endpoints.inputs.text.passthrough_parameters..range.min`, `endpoints.inputs.text.passthrough_parameters..range.max`, `endpoints.inputs.text.passthrough_parameters..range.default`, `endpoints.inputs.text.passthrough_parameters..range.values`, `endpoints.inputs.text.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.params.max_prompt_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.params.max_prompt_length.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.params.max_prompt_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.params.max_prompt_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.params.max_prompt_length.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.params.max_prompt_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.params.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.text.params.max_length.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.params.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.text.params.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.text.params.max_length.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.text.params.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.image.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.pricing.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.image.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.image.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.image.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.image.pricing.prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.image.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.image.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.image.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cached_prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.image.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.image.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.image.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.image.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.image.pricing.cache_write.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.image.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.image.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.capacity.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.image.capacity.prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.capacity.prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.capacity.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.image.capacity.cached_prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.capacity.cached_prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.capacity.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.image.capacity.cache_write.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.capacity.cache_write.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.inputs.image.passthrough_parameters`: `endpoints.inputs.image.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.image.passthrough_parameters..type`, `endpoints.inputs.image.passthrough_parameters..range.min`, `endpoints.inputs.image.passthrough_parameters..range.max`, `endpoints.inputs.image.passthrough_parameters..range.default`, `endpoints.inputs.image.passthrough_parameters..range.values`, `endpoints.inputs.image.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.inputs.image.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.inputs.image.passthrough_parameters`: `endpoints.inputs.image.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.image.passthrough_parameters..type`, `endpoints.inputs.image.passthrough_parameters..range.min`, `endpoints.inputs.image.passthrough_parameters..range.max`, `endpoints.inputs.image.passthrough_parameters..range.default`, `endpoints.inputs.image.passthrough_parameters..range.values`, `endpoints.inputs.image.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.image.params.sources.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.image.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "in": "query", + "name": "endpoints.inputs.image.params.sources.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.image.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.image.params.formats.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.image.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `image/png`, `image/jpeg`, `image/webp`, `image/gif`.", + "in": "query", + "name": "endpoints.inputs.image.params.formats.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.image.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `image/png`, `image/jpeg`, `image/webp`, `image/gif`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.detail_levels.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.image.params.detail_levels.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.detail_levels.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.image.params.detail_levels.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `auto`, `low`, `high`, `original`.", + "in": "query", + "name": "endpoints.inputs.image.params.detail_levels.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.image.params.detail_levels.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `auto`, `low`, `high`, `original`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`.", + "in": "query", + "name": "endpoints.inputs.image.params.references.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.params.references.min", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.params.references.max", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.params.references.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.role.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.image.params.role.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.role.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.image.params.role.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `reference`, `first_frame`, `last_frame`.", + "in": "query", + "name": "endpoints.inputs.image.params.role.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.image.params.role.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `reference`, `first_frame`, `last_frame`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.image.params.max_content_size_bytes.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.image.params.max_content_size_bytes.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.image.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.video.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.pricing.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.video.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.video.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.video.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.video.pricing.prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.video.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.video.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.video.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cached_prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.video.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.video.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.video.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.video.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.video.pricing.cache_write.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.video.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.video.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.capacity.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.video.capacity.prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.capacity.prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.capacity.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.video.capacity.cached_prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.capacity.cached_prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.capacity.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.video.capacity.cache_write.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.capacity.cache_write.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.inputs.video.passthrough_parameters`: `endpoints.inputs.video.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.video.passthrough_parameters..type`, `endpoints.inputs.video.passthrough_parameters..range.min`, `endpoints.inputs.video.passthrough_parameters..range.max`, `endpoints.inputs.video.passthrough_parameters..range.default`, `endpoints.inputs.video.passthrough_parameters..range.values`, `endpoints.inputs.video.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.inputs.video.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.inputs.video.passthrough_parameters`: `endpoints.inputs.video.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.video.passthrough_parameters..type`, `endpoints.inputs.video.passthrough_parameters..range.min`, `endpoints.inputs.video.passthrough_parameters..range.max`, `endpoints.inputs.video.passthrough_parameters..range.default`, `endpoints.inputs.video.passthrough_parameters..range.values`, `endpoints.inputs.video.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.video.params.sources.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.video.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "in": "query", + "name": "endpoints.inputs.video.params.sources.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.video.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.video.params.formats.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.video.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `video/mp4`, `video/webm`.", + "in": "query", + "name": "endpoints.inputs.video.params.formats.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.video.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `video/mp4`, `video/webm`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.params.max_duration_seconds.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.params.max_duration_seconds.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.video.params.max_content_size_bytes.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.video.params.max_content_size_bytes.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.video.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.audio.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.audio.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.audio.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cached_prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.audio.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.audio.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.audio.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.audio.pricing.cache_write.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.audio.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.cached_prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.cached_prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.cache_write.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.capacity.cache_write.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.inputs.audio.passthrough_parameters`: `endpoints.inputs.audio.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.audio.passthrough_parameters..type`, `endpoints.inputs.audio.passthrough_parameters..range.min`, `endpoints.inputs.audio.passthrough_parameters..range.max`, `endpoints.inputs.audio.passthrough_parameters..range.default`, `endpoints.inputs.audio.passthrough_parameters..range.values`, `endpoints.inputs.audio.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.inputs.audio.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.inputs.audio.passthrough_parameters`: `endpoints.inputs.audio.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.audio.passthrough_parameters..type`, `endpoints.inputs.audio.passthrough_parameters..range.min`, `endpoints.inputs.audio.passthrough_parameters..range.max`, `endpoints.inputs.audio.passthrough_parameters..range.default`, `endpoints.inputs.audio.passthrough_parameters..range.values`, `endpoints.inputs.audio.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.audio.params.sources.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.audio.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "in": "query", + "name": "endpoints.inputs.audio.params.sources.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.audio.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.audio.params.formats.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.audio.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `audio/wav`, `audio/mpeg`.", + "in": "query", + "name": "endpoints.inputs.audio.params.formats.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.audio.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `audio/wav`, `audio/mpeg`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.params.max_duration_seconds.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.value` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.params.max_duration_seconds.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_duration_seconds.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.audio.params.max_content_size_bytes.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.audio.params.max_content_size_bytes.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.audio.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.file.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.file.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.file.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.pricing.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.file.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.file.pricing.prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.file.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.file.pricing.prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.file.pricing.prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.file.pricing.cached_prompt.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cached_prompt.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.file.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cached_prompt.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.file.pricing.cached_prompt.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.file.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.file.pricing.cache_write.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.ttl_seconds", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.ttl_seconds` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.implicit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.implicit` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.pricing.cache_write.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.file.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.inputs.file.pricing.cache_write.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.file.pricing.cache_write.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.inputs.file.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "in": "query", + "name": "endpoints.inputs.file.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.inputs.file.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `prompt`, `cached_prompt`, `cache_write`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.capacity.prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.file.capacity.prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.capacity.prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.capacity.cached_prompt.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.file.capacity.cached_prompt.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.capacity.cached_prompt.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cached_prompt.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.capacity.cache_write.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cache_write.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.inputs.file.capacity.cache_write.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cache_write.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.capacity.cache_write.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.capacity.cache_write.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.inputs.file.passthrough_parameters`: `endpoints.inputs.file.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.file.passthrough_parameters..type`, `endpoints.inputs.file.passthrough_parameters..range.min`, `endpoints.inputs.file.passthrough_parameters..range.max`, `endpoints.inputs.file.passthrough_parameters..range.default`, `endpoints.inputs.file.passthrough_parameters..range.values`, `endpoints.inputs.file.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.inputs.file.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.inputs.file.passthrough_parameters`: `endpoints.inputs.file.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.inputs.file.passthrough_parameters..type`, `endpoints.inputs.file.passthrough_parameters..range.min`, `endpoints.inputs.file.passthrough_parameters..range.max`, `endpoints.inputs.file.passthrough_parameters..range.default`, `endpoints.inputs.file.passthrough_parameters..range.values`, `endpoints.inputs.file.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.file.params.sources.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.sources.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.file.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "in": "query", + "name": "endpoints.inputs.file.params.sources.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.file.params.sources.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `url`, `base64`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "in": "query", + "name": "endpoints.inputs.file.params.formats.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.formats.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `enum`.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.inputs.file.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `application/pdf`, `text/plain`, `text/markdown`, `text/html`, `text/csv`, `application/json`.", + "in": "query", + "name": "endpoints.inputs.file.params.formats.values", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.inputs.file.params.formats.values` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `application/pdf`, `text/plain`, `text/markdown`, `text/html`, `text/csv`, `application/json`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`.", + "in": "query", + "name": "endpoints.inputs.file.params.references.type", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.references.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `integer`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.params.references.min", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.references.min` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.params.references.max", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.references.max` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.params.references.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.references.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.inputs.file.params.max_content_size_bytes.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.inputs.file.params.max_content_size_bytes.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.inputs.file.params.max_content_size_bytes.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `speech`, `transcription`, `embeddings`, `rerank`, `decisions`, `audio`.", + "in": "query", + "name": "endpoints.outputs.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `text`, `image`, `video`, `speech`, `transcription`, `embeddings`, `rerank`, `decisions`, `audio`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.max_length.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.max_length.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "in": "query", + "name": "endpoints.outputs.text.max_length.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.max_length.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `second`, `pixel`, `byte`, `token`, `character`.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.text.passthrough_parameters`: `endpoints.outputs.text.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.passthrough_parameters..type`, `endpoints.outputs.text.passthrough_parameters..range.min`, `endpoints.outputs.text.passthrough_parameters..range.max`, `endpoints.outputs.text.passthrough_parameters..range.default`, `endpoints.outputs.text.passthrough_parameters..range.values`, `endpoints.outputs.text.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.text.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.text.passthrough_parameters`: `endpoints.outputs.text.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.passthrough_parameters..type`, `endpoints.outputs.text.passthrough_parameters..range.min`, `endpoints.outputs.text.passthrough_parameters..range.max`, `endpoints.outputs.text.passthrough_parameters..range.default`, `endpoints.outputs.text.passthrough_parameters..range.values`, `endpoints.outputs.text.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.text.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.text.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.text.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.text.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.text.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.text.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.text.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.text.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.text.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.text.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.text.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.text.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.text.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.text.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.text.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.text.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.text.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.text.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.text.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.text.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.text.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.text.streaming", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.text.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.text.params`: `endpoints.outputs.text.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.params..type`, `endpoints.outputs.text.params..range.min`, `endpoints.outputs.text.params..range.max`, `endpoints.outputs.text.params..range.default`, `endpoints.outputs.text.params..range.values`, `endpoints.outputs.text.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.text.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.text.params`: `endpoints.outputs.text.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.text.params..type`, `endpoints.outputs.text.params..range.min`, `endpoints.outputs.text.params..range.max`, `endpoints.outputs.text.params..range.default`, `endpoints.outputs.text.params..range.values`, `endpoints.outputs.text.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.image.passthrough_parameters`: `endpoints.outputs.image.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.passthrough_parameters..type`, `endpoints.outputs.image.passthrough_parameters..range.min`, `endpoints.outputs.image.passthrough_parameters..range.max`, `endpoints.outputs.image.passthrough_parameters..range.default`, `endpoints.outputs.image.passthrough_parameters..range.values`, `endpoints.outputs.image.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.image.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.image.passthrough_parameters`: `endpoints.outputs.image.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.passthrough_parameters..type`, `endpoints.outputs.image.passthrough_parameters..range.min`, `endpoints.outputs.image.passthrough_parameters..range.max`, `endpoints.outputs.image.passthrough_parameters..range.default`, `endpoints.outputs.image.passthrough_parameters..range.values`, `endpoints.outputs.image.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.image.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.image.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.image.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.image.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.image.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.image.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.image.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.image.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.image.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.image.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.image.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.image.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.image.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.image.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.image.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.image.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.image.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.image.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.image.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.image.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.image.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.image.streaming", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.image.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.image.params`: `endpoints.outputs.image.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.params..type`, `endpoints.outputs.image.params..range.min`, `endpoints.outputs.image.params..range.max`, `endpoints.outputs.image.params..range.default`, `endpoints.outputs.image.params..range.values`, `endpoints.outputs.image.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.image.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.image.params`: `endpoints.outputs.image.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.image.params..type`, `endpoints.outputs.image.params..range.min`, `endpoints.outputs.image.params..range.max`, `endpoints.outputs.image.params..range.default`, `endpoints.outputs.image.params..range.values`, `endpoints.outputs.image.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.video.passthrough_parameters`: `endpoints.outputs.video.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.passthrough_parameters..type`, `endpoints.outputs.video.passthrough_parameters..range.min`, `endpoints.outputs.video.passthrough_parameters..range.max`, `endpoints.outputs.video.passthrough_parameters..range.default`, `endpoints.outputs.video.passthrough_parameters..range.values`, `endpoints.outputs.video.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.video.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.video.passthrough_parameters`: `endpoints.outputs.video.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.passthrough_parameters..type`, `endpoints.outputs.video.passthrough_parameters..range.min`, `endpoints.outputs.video.passthrough_parameters..range.max`, `endpoints.outputs.video.passthrough_parameters..range.default`, `endpoints.outputs.video.passthrough_parameters..range.values`, `endpoints.outputs.video.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.video.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.video.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.video.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.video.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.video.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.video.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.video.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.video.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.video.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.video.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.video.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.video.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.video.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.video.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.video.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.video.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.video.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.video.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.video.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.video.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.video.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.video.streaming", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.video.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.video.params`: `endpoints.outputs.video.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.params..type`, `endpoints.outputs.video.params..range.min`, `endpoints.outputs.video.params..range.max`, `endpoints.outputs.video.params..range.default`, `endpoints.outputs.video.params..range.values`, `endpoints.outputs.video.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.video.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.video.params`: `endpoints.outputs.video.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.video.params..type`, `endpoints.outputs.video.params..range.min`, `endpoints.outputs.video.params..range.max`, `endpoints.outputs.video.params..range.default`, `endpoints.outputs.video.params..range.values`, `endpoints.outputs.video.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.speech.passthrough_parameters`: `endpoints.outputs.speech.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.passthrough_parameters..type`, `endpoints.outputs.speech.passthrough_parameters..range.min`, `endpoints.outputs.speech.passthrough_parameters..range.max`, `endpoints.outputs.speech.passthrough_parameters..range.default`, `endpoints.outputs.speech.passthrough_parameters..range.values`, `endpoints.outputs.speech.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.speech.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.speech.passthrough_parameters`: `endpoints.outputs.speech.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.passthrough_parameters..type`, `endpoints.outputs.speech.passthrough_parameters..range.min`, `endpoints.outputs.speech.passthrough_parameters..range.max`, `endpoints.outputs.speech.passthrough_parameters..range.default`, `endpoints.outputs.speech.passthrough_parameters..range.values`, `endpoints.outputs.speech.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.speech.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.speech.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.speech.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.speech.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.speech.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.speech.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.speech.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.speech.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.speech.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.speech.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.speech.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.speech.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.speech.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.speech.streaming", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.speech.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.speech.params`: `endpoints.outputs.speech.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.params..type`, `endpoints.outputs.speech.params..range.min`, `endpoints.outputs.speech.params..range.max`, `endpoints.outputs.speech.params..range.default`, `endpoints.outputs.speech.params..range.values`, `endpoints.outputs.speech.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.speech.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.speech.params`: `endpoints.outputs.speech.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.speech.params..type`, `endpoints.outputs.speech.params..range.min`, `endpoints.outputs.speech.params..range.max`, `endpoints.outputs.speech.params..range.default`, `endpoints.outputs.speech.params..range.values`, `endpoints.outputs.speech.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.transcription.passthrough_parameters`: `endpoints.outputs.transcription.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.passthrough_parameters..type`, `endpoints.outputs.transcription.passthrough_parameters..range.min`, `endpoints.outputs.transcription.passthrough_parameters..range.max`, `endpoints.outputs.transcription.passthrough_parameters..range.default`, `endpoints.outputs.transcription.passthrough_parameters..range.values`, `endpoints.outputs.transcription.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.transcription.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.transcription.passthrough_parameters`: `endpoints.outputs.transcription.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.passthrough_parameters..type`, `endpoints.outputs.transcription.passthrough_parameters..range.min`, `endpoints.outputs.transcription.passthrough_parameters..range.max`, `endpoints.outputs.transcription.passthrough_parameters..range.default`, `endpoints.outputs.transcription.passthrough_parameters..range.values`, `endpoints.outputs.transcription.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.transcription.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.transcription.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.transcription.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.transcription.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.transcription.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.transcription.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.transcription.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.transcription.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.transcription.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.transcription.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.transcription.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.transcription.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.transcription.streaming", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.transcription.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.transcription.params`: `endpoints.outputs.transcription.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.params..type`, `endpoints.outputs.transcription.params..range.min`, `endpoints.outputs.transcription.params..range.max`, `endpoints.outputs.transcription.params..range.default`, `endpoints.outputs.transcription.params..range.values`, `endpoints.outputs.transcription.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.transcription.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.transcription.params`: `endpoints.outputs.transcription.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.transcription.params..type`, `endpoints.outputs.transcription.params..range.min`, `endpoints.outputs.transcription.params..range.max`, `endpoints.outputs.transcription.params..range.default`, `endpoints.outputs.transcription.params..range.values`, `endpoints.outputs.transcription.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.embeddings.passthrough_parameters`: `endpoints.outputs.embeddings.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.passthrough_parameters..type`, `endpoints.outputs.embeddings.passthrough_parameters..range.min`, `endpoints.outputs.embeddings.passthrough_parameters..range.max`, `endpoints.outputs.embeddings.passthrough_parameters..range.default`, `endpoints.outputs.embeddings.passthrough_parameters..range.values`, `endpoints.outputs.embeddings.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.embeddings.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.embeddings.passthrough_parameters`: `endpoints.outputs.embeddings.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.passthrough_parameters..type`, `endpoints.outputs.embeddings.passthrough_parameters..range.min`, `endpoints.outputs.embeddings.passthrough_parameters..range.max`, `endpoints.outputs.embeddings.passthrough_parameters..range.default`, `endpoints.outputs.embeddings.passthrough_parameters..range.values`, `endpoints.outputs.embeddings.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.embeddings.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.embeddings.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.embeddings.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.embeddings.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.embeddings.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.embeddings.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.embeddings.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.embeddings.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.embeddings.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.embeddings.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.embeddings.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.embeddings.params`: `endpoints.outputs.embeddings.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.params..type`, `endpoints.outputs.embeddings.params..range.min`, `endpoints.outputs.embeddings.params..range.max`, `endpoints.outputs.embeddings.params..range.default`, `endpoints.outputs.embeddings.params..range.values`, `endpoints.outputs.embeddings.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.embeddings.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.embeddings.params`: `endpoints.outputs.embeddings.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.embeddings.params..type`, `endpoints.outputs.embeddings.params..range.min`, `endpoints.outputs.embeddings.params..range.max`, `endpoints.outputs.embeddings.params..range.default`, `endpoints.outputs.embeddings.params..range.values`, `endpoints.outputs.embeddings.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.rerank.passthrough_parameters`: `endpoints.outputs.rerank.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.passthrough_parameters..type`, `endpoints.outputs.rerank.passthrough_parameters..range.min`, `endpoints.outputs.rerank.passthrough_parameters..range.max`, `endpoints.outputs.rerank.passthrough_parameters..range.default`, `endpoints.outputs.rerank.passthrough_parameters..range.values`, `endpoints.outputs.rerank.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.rerank.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.rerank.passthrough_parameters`: `endpoints.outputs.rerank.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.passthrough_parameters..type`, `endpoints.outputs.rerank.passthrough_parameters..range.min`, `endpoints.outputs.rerank.passthrough_parameters..range.max`, `endpoints.outputs.rerank.passthrough_parameters..range.default`, `endpoints.outputs.rerank.passthrough_parameters..range.values`, `endpoints.outputs.rerank.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.rerank.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.rerank.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.rerank.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.rerank.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.rerank.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.rerank.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.rerank.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.rerank.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.rerank.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.rerank.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.rerank.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.rerank.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.rerank.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.rerank.params`: `endpoints.outputs.rerank.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.params..type`, `endpoints.outputs.rerank.params..range.min`, `endpoints.outputs.rerank.params..range.max`, `endpoints.outputs.rerank.params..range.default`, `endpoints.outputs.rerank.params..range.values`, `endpoints.outputs.rerank.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.rerank.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.rerank.params`: `endpoints.outputs.rerank.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.rerank.params..type`, `endpoints.outputs.rerank.params..range.min`, `endpoints.outputs.rerank.params..range.max`, `endpoints.outputs.rerank.params..range.default`, `endpoints.outputs.rerank.params..range.values`, `endpoints.outputs.rerank.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.decisions.passthrough_parameters`: `endpoints.outputs.decisions.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.passthrough_parameters..type`, `endpoints.outputs.decisions.passthrough_parameters..range.min`, `endpoints.outputs.decisions.passthrough_parameters..range.max`, `endpoints.outputs.decisions.passthrough_parameters..range.default`, `endpoints.outputs.decisions.passthrough_parameters..range.values`, `endpoints.outputs.decisions.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.decisions.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.decisions.passthrough_parameters`: `endpoints.outputs.decisions.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.passthrough_parameters..type`, `endpoints.outputs.decisions.passthrough_parameters..range.min`, `endpoints.outputs.decisions.passthrough_parameters..range.max`, `endpoints.outputs.decisions.passthrough_parameters..range.default`, `endpoints.outputs.decisions.passthrough_parameters..range.values`, `endpoints.outputs.decisions.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.decisions.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.decisions.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.decisions.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.decisions.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.decisions.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.decisions.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.decisions.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.decisions.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.decisions.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.decisions.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.decisions.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.decisions.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.decisions.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.decisions.params`: `endpoints.outputs.decisions.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.params..type`, `endpoints.outputs.decisions.params..range.min`, `endpoints.outputs.decisions.params..range.max`, `endpoints.outputs.decisions.params..range.default`, `endpoints.outputs.decisions.params..range.values`, `endpoints.outputs.decisions.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.decisions.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.decisions.params`: `endpoints.outputs.decisions.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.decisions.params..type`, `endpoints.outputs.decisions.params..range.min`, `endpoints.outputs.decisions.params..range.max`, `endpoints.outputs.decisions.params..range.default`, `endpoints.outputs.decisions.params..range.values`, `endpoints.outputs.decisions.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.audio.passthrough_parameters`: `endpoints.outputs.audio.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.passthrough_parameters..type`, `endpoints.outputs.audio.passthrough_parameters..range.min`, `endpoints.outputs.audio.passthrough_parameters..range.max`, `endpoints.outputs.audio.passthrough_parameters..range.default`, `endpoints.outputs.audio.passthrough_parameters..range.values`, `endpoints.outputs.audio.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.audio.passthrough_parameters", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.audio.passthrough_parameters`: `endpoints.outputs.audio.passthrough_parameters..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.passthrough_parameters..type`, `endpoints.outputs.audio.passthrough_parameters..range.min`, `endpoints.outputs.audio.passthrough_parameters..range.max`, `endpoints.outputs.audio.passthrough_parameters..range.default`, `endpoints.outputs.audio.passthrough_parameters..range.values`, `endpoints.outputs.audio.passthrough_parameters..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.audio.pricing.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.completion.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.audio.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.completion.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.audio.pricing.completion.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.completion.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.completion.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.completion.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.audio.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.completion.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.audio.pricing.completion.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.internal_reasoning.cost_usd", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.audio.pricing.internal_reasoning.overrides.cost_usd` (number) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.internal_reasoning.utc_start", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_start` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.internal_reasoning.utc_end", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.pricing.internal_reasoning.utc_end` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where any element at `endpoints.outputs.audio.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "in": "query", + "name": "endpoints.outputs.audio.pricing.internal_reasoning.utc_days", + "required": false, + "schema": { + "description": "Filter where any element at `endpoints.outputs.audio.pricing.internal_reasoning.utc_days` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday`.", + "type": "string" + } + }, + { + "description": "Filter where any value at `endpoints.outputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.type", + "required": false, + "schema": { + "description": "Filter where any value at `endpoints.outputs.audio.capacity.type` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `completion`, `internal_reasoning`, `concurrency`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.completion.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.completion.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.completion.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.completion.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.completion.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.completion.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.internal_reasoning.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `token`, `image`, `megapixel`, `second`, `character`, `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.internal_reasoning.per", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.per` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `minute`, `hour`, `day`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.internal_reasoning.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.internal_reasoning.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.concurrency.unit", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.concurrency.unit` (enum) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches. One of: `request`.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.capacity.concurrency.value", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.capacity.concurrency.value` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.outputs.audio.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.outputs.audio.streaming", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.outputs.audio.streaming` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter on the entries of `endpoints.outputs.audio.params`: `endpoints.outputs.audio.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.params..type`, `endpoints.outputs.audio.params..range.min`, `endpoints.outputs.audio.params..range.max`, `endpoints.outputs.audio.params..range.default`, `endpoints.outputs.audio.params..range.values`, `endpoints.outputs.audio.params..range.unit`). Only `exists` applies to the map itself.", + "in": "query", + "name": "endpoints.outputs.audio.params", + "required": false, + "schema": { + "description": "Filter on the entries of `endpoints.outputs.audio.params`: `endpoints.outputs.audio.params..exists=true` keeps records that have the entry, and the entry's fields follow the key (`endpoints.outputs.audio.params..type`, `endpoints.outputs.audio.params..range.min`, `endpoints.outputs.audio.params..range.max`, `endpoints.outputs.audio.params..range.default`, `endpoints.outputs.audio.params..range.values`, `endpoints.outputs.audio.params..range.unit`). Only `exists` applies to the map itself.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.provider.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.provider.slug", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.provider.slug` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.provider.tag` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.provider.tag", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.provider.tag` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.provider.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.provider.name", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.provider.name` (string) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.contains`, `.starts_with`, `.ends_with`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.data_policy.training` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.data_policy.training", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.data_policy.training` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.data_policy.retains_prompts` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.data_policy.retains_prompts", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.data_policy.retains_prompts` (boolean) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + }, + { + "description": "Filter where the value at `endpoints.data_policy.retention_days` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "in": "query", + "name": "endpoints.data_policy.retention_days", + "required": false, + "schema": { + "description": "Filter where the value at `endpoints.data_policy.retention_days` (integer) equals the value, itself a literal, a path or an arithmetic expression of the same type; append an operator suffix for `.in`, `.gt`, `.gte`, `.lt`, `.lte`, `.between`, `.exists`, and `.not` before the operator (or alone, for not-equal) to keep the records where no value matches.", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ModelsV2ListResponse" + } + } + }, + "description": "List of models with their published V2 endpoint documents" + }, + "400": { + "content": { + "application/json": { + "example": { + "error": { + "code": 400, + "message": "Invalid request parameters" + } + }, + "schema": { + "$ref": "#/components/schemas/BadRequestResponse" + } + } + }, + "description": "Bad Request - Invalid request parameters or malformed input" + }, + "401": { + "content": { + "application/json": { + "example": { + "error": { + "code": 401, + "message": "Missing Authentication header" + } + }, + "schema": { + "$ref": "#/components/schemas/UnauthorizedResponse" + } + } + }, + "description": "Unauthorized - Authentication required or invalid credentials" + }, "500": { "content": { "application/json": { @@ -48009,11 +56019,16 @@ "description": "Internal Server Error - Unexpected server error" } }, - "summary": "Query analytics data", + "servers": [ + { + "url": "https://openrouter.ai" + } + ], + "summary": "List models with V2 endpoint documents", "tags": [ - "Analytics" + "Models" ], - "parameters": [] + "x-speakeasy-name-override": "listV2" }, "parameters": [ { @@ -48027,106 +56042,60 @@ } ] }, - "/api/alpha/decisions": { - "post": { - "description": "Submits a Decisions request to the Decisions router", - "operationId": "createApiAlphaDecisions", - "requestBody": { - "content": { - "application/json": { - "example": { - "model": "typesafe/jev-1.13", - "questions": { - "is_bug": { - "criteria": { - "false": "The customer is asking a question or requesting a feature.", - "true": "The customer describes broken or unexpected product behavior." - }, - "instructions": "Is the customer reporting a software defect?", - "type": "noul" - }, - "team": { - "criteria": { - "account": "Login, permissions, or profile issues.", - "frontend": "Rendering, layout, or browser compatibility issues.", - "payments": "Checkout, billing, or payment processing issues." - }, - "instructions": "Which team should own this ticket?", - "type": "choice" - }, - "urgency": { - "criteria": [ - "Can wait for the next release", - "Should be fixed this week", - "Blocking revenue right now" - ], - "instructions": "How urgent is this ticket?", - "type": "score" - } - }, - "state": { - "customer_tier": "enterprise", - "ticket": "My checkout page shows a blank screen after I click Pay. I have tried two browsers." - } - }, - "schema": { - "$ref": "#/components/schemas/DecisionsRequest" - } + "/api/v2/models/{author}/{slug}": { + "get": { + "description": "Returns a single model identified by its author and slug (e.g. openai/gpt-4) together with each of its published endpoints in the Models API V2 document format. Known slug aliases are resolved. A variant suffix (e.g. openai/gpt-4:free) selects the record of that variant; a variant no endpoint serves is reported as not found. Routers (openrouter/auto) and `~author/family-latest` aliases are records too. `region` narrows the endpoints the same way it does on the list route; a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.", + "operationId": "getModelV2", + "parameters": [ + { + "description": "The author/organization of the model", + "in": "path", + "name": "author", + "required": true, + "schema": { + "description": "The author/organization of the model", + "example": "openai", + "type": "string" } }, - "required": true - }, + { + "description": "The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)", + "in": "path", + "name": "slug", + "required": true, + "schema": { + "description": "The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)", + "example": "gpt-4", + "type": "string" + } + }, + { + "description": "Only return endpoints in the given data region (\"eu\" or \"us\"); a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.", + "in": "query", + "name": "region", + "required": false, + "schema": { + "description": "Only return endpoints in the given data region (\"eu\" or \"us\"); a model left without an endpoint is reported as not found. With an API key the record comes from that key's catalog, as on the list route, so a model the key cannot route to is not found.", + "enum": [ + "eu", + "us" + ], + "example": "eu", + "type": "string", + "x-speakeasy-unknown-values": "allow" + } + } + ], "responses": { "200": { "content": { "application/json": { - "example": { - "answers": { - "is_bug": { - "noul": 0.96, - "type": "noul" - }, - "team": { - "choice": "payments", - "confidence": 0.75, - "probabilities": { - "account": 0, - "frontend": 0.16, - "payments": 0.84 - }, - "type": "choice" - }, - "urgency": { - "confidence": 0.99, - "legend": { - "0": "Can wait for the next release", - "1": "Should be fixed this week", - "2": "Blocking revenue right now" - }, - "probabilities": { - "0": 0, - "1": 0.01, - "2": 0.99 - }, - "score": 1.99, - "type": "score" - } - }, - "id": "gen-dec-1789738314-X5e5eKGQdvR9rblyX250", - "model": "typesafe/jev-1.13-20260917", - "provider": "TypeSafe", - "usage": { - "cost": 0.000019992, - "input_tokens": 476, - "output_tokens": 70 - } - }, "schema": { - "$ref": "#/components/schemas/DecisionsResponse" + "$ref": "#/components/schemas/ModelV2Response" } } }, - "description": "Decisions response" + "description": "The model with its published V2 endpoint documents" }, "400": { "content": { @@ -48160,38 +56129,6 @@ }, "description": "Unauthorized - Authentication required or invalid credentials" }, - "402": { - "content": { - "application/json": { - "example": { - "error": { - "code": 402, - "message": "Insufficient credits. Add more using https://openrouter.ai/credits" - } - }, - "schema": { - "$ref": "#/components/schemas/PaymentRequiredResponse" - } - } - }, - "description": "Payment Required - Insufficient credits or quota to complete request" - }, - "403": { - "content": { - "application/json": { - "example": { - "error": { - "code": 403, - "message": "Only management keys can perform this operation" - } - }, - "schema": { - "$ref": "#/components/schemas/ForbiddenResponse" - } - } - }, - "description": "Forbidden - Authentication successful but insufficient permissions" - }, "404": { "content": { "application/json": { @@ -48208,38 +56145,6 @@ }, "description": "Not Found - Resource does not exist" }, - "413": { - "content": { - "application/json": { - "example": { - "error": { - "code": 413, - "message": "Request payload too large" - } - }, - "schema": { - "$ref": "#/components/schemas/PayloadTooLargeResponse" - } - } - }, - "description": "Payload Too Large - Request payload exceeds size limits" - }, - "429": { - "content": { - "application/json": { - "example": { - "error": { - "code": 429, - "message": "Rate limit exceeded" - } - }, - "schema": { - "$ref": "#/components/schemas/TooManyRequestsResponse" - } - } - }, - "description": "Too Many Requests - Rate limit exceeded" - }, "500": { "content": { "application/json": { @@ -48255,70 +56160,6 @@ } }, "description": "Internal Server Error - Unexpected server error" - }, - "502": { - "content": { - "application/json": { - "example": { - "error": { - "code": 502, - "message": "Provider returned error" - } - }, - "schema": { - "$ref": "#/components/schemas/BadGatewayResponse" - } - } - }, - "description": "Bad Gateway - Provider/upstream API failure" - }, - "503": { - "content": { - "application/json": { - "example": { - "error": { - "code": 503, - "message": "Service temporarily unavailable" - } - }, - "schema": { - "$ref": "#/components/schemas/ServiceUnavailableResponse" - } - } - }, - "description": "Service Unavailable - Service temporarily unavailable" - }, - "524": { - "content": { - "application/json": { - "example": { - "error": { - "code": 524, - "message": "Request timed out. Please try again later." - } - }, - "schema": { - "$ref": "#/components/schemas/EdgeNetworkTimeoutResponse" - } - } - }, - "description": "Infrastructure Timeout - Provider request timed out at edge network" - }, - "529": { - "content": { - "application/json": { - "example": { - "error": { - "code": 529, - "message": "Provider returned error" - } - }, - "schema": { - "$ref": "#/components/schemas/ProviderOverloadedResponse" - } - } - }, - "description": "Provider Overloaded - Provider is temporarily overloaded" } }, "servers": [ @@ -48326,12 +56167,11 @@ "url": "https://openrouter.ai" } ], - "summary": "Submit a Decisions request", + "summary": "Get a model with its V2 endpoint documents", "tags": [ - "alpha.decisions" + "Models" ], - "x-speakeasy-name-override": "create", - "parameters": [] + "x-speakeasy-name-override": "getV2" }, "parameters": [ { @@ -48645,7 +56485,7 @@ "type": "string" }, "provider": { - "description": "JSON-encoded provider preferences object, the same shape as the JSON body field: { \"zdr\": true, \"data_collection\": \"deny\", \"options\": { \"\": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object.", + "description": "JSON-encoded provider preferences object, the same shape as the JSON body field: { \"options\": { \"\": { ... } } }. Only options for the matched provider are forwarded. Must decode to a JSON object.", "type": "string" }, "response_format": { @@ -50438,8 +58278,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -52753,8 +60592,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } } ], @@ -53211,8 +61049,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } } ], @@ -53978,8 +61815,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -54138,8 +61974,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -56579,8 +64414,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -57282,8 +65116,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -57704,8 +65537,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -58099,8 +65931,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -58230,8 +66061,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -60063,11 +67893,6 @@ "$ref": "#/components/schemas/InternChatStreamingResponse" }, "x-speakeasy-sse-sentinel": "[DONE]" - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/InternChatCompletionChunk" - } } }, "description": "The streamed completion. Chunks carry text, then a finish chunk: `finish_reason: \"stop\"` when the turn is complete, `finish_reason: \"tool_calls\"` when the intern is waiting for an answer, or `finish_reason: \"error\"` for a failure after this status. A final chunk with empty `choices` follows in every case, carrying `session_id` and `usage` (`null` unless the intern reported usage, and always `null` after `tool_calls`), and the stream ends with `data: [DONE]`." @@ -61951,8 +69776,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -64164,8 +71988,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -65036,8 +72859,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -65376,8 +73198,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -66076,8 +73897,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -66494,8 +74314,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -67394,8 +75213,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -71032,8 +78850,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -71595,8 +79412,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -72249,8 +80065,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -72552,8 +80367,7 @@ "example": 0, "maximum": 10000, "minimum": 0, - "type": "integer", - "nullable": false + "type": "integer" } } ], @@ -72909,8 +80723,7 @@ "example": 0, "maximum": 10000, "minimum": 0, - "type": "integer", - "nullable": false + "type": "integer" } } ], @@ -74282,8 +82095,7 @@ "example": 0, "maximum": 10000, "minimum": 0, - "type": "integer", - "nullable": false + "type": "integer" } } ], @@ -75827,8 +83639,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -76511,8 +84322,7 @@ "type": [ "integer", "null" - ], - "nullable": false + ] } }, { @@ -77612,8 +85422,7 @@ }, { "name": "beta.responses", - "deprecated": true, - "description": "Deprecated alias for responses endpoints. Use responses instead. Scheduled for removal (sunset date TBD)." + "description": "Deprecated alias of responses. Use responses instead; scheduled for removal (sunset date TBD)." } ], "x-retry-strategy": {