From 325a2226ea71cc7337541ee3b1ad4e71a476ae9f Mon Sep 17 00:00:00 2001 From: HavenDV Date: Sat, 12 Oct 2024 04:23:43 +0400 Subject: [PATCH] fix: Fixed some issues with langsmith json OpenAPI 3.1 spec. --- .../AutoSDK/Extensions/OpenApiExtensions.cs | 2 +- src/libs/AutoSDK/Helpers/OpenApi31Support.cs | 21 + .../NewtonsoftJson/_#AllOf.1.g.verified.cs | 153 -- .../_#G.AceClient.Execute.g.verified.cs | 143 ++ .../_#G.AceClient.g.verified.cs | 68 + .../_#G.AnnotationQueuesClient.g.verified.cs | 2 +- ...uthorizations.ApiKeyInHeader.g.verified.cs | 28 - .../_#G.Api.Constructors..g.verified.cs | 29 - .../NewtonsoftJson/_#G.Api.Ok.g.verified.cs | 16 - .../NewtonsoftJson/_#G.Api.g.verified.cs | 18 +- ....ApiKeyClient.GenerateApiKey.g.verified.cs | 20 +- ....GeneratePersonalAccessToken.g.verified.cs | 20 +- .../_#G.ApiKeyClient.g.verified.cs | 2 +- ...ckSsoEmailVerificationStatus.g.verified.cs | 127 ++ ...thClient.ConfirmSsoUserEmail.g.verified.cs | 124 ++ ...#G.AuthClient.GetSsoSettings.g.verified.cs | 95 ++ .../_#G.AuthClient.Login.g.verified.cs | 16 - ...AuthClient.OauthProviderAuth.g.verified.cs | 99 ++ ...Client.OauthProviderCallback.g.verified.cs | 99 ++ ...thClient.OauthProviderLogout.g.verified.cs | 99 ++ ...ent.SendSsoEmailConfirmation.g.verified.cs | 143 ++ .../_#G.AuthClient.g.verified.cs | 2 +- ...portsClient.CancelBulkExport.g.verified.cs | 149 ++ ...portsClient.CreateBulkExport.g.verified.cs | 155 ++ ....CreateBulkExportDestination.g.verified.cs | 149 ++ ...kExportsClient.GetBulkExport.g.verified.cs | 111 ++ ...ent.GetBulkExportDestination.g.verified.cs | 111 ++ ...nt.GetBulkExportDestinations.g.verified.cs | 105 ++ ...portsClient.GetBulkExportRun.g.verified.cs | 117 ++ ...ortsClient.GetBulkExportRuns.g.verified.cs | 111 ++ ...ExportsClient.GetBulkExports.g.verified.cs | 105 ++ .../_#G.BulkExportsClient.g.verified.cs | 68 + .../_#G.ChartsClient.ReadCharts.g.verified.cs | 4 +- ...#G.ChartsClient.ReadSections.g.verified.cs | 40 +- ...ChartsClient.ReadSingleChart.g.verified.cs | 4 +- ...artsClient.ReadSingleSection.g.verified.cs | 162 ++ .../_#G.ChartsClient.g.verified.cs | 2 +- .../_#G.CommentsClient.g.verified.cs | 2 +- .../_#G.CommitsClient.g.verified.cs | 2 +- ....DatasetsClient.CloneDataset.g.verified.cs | 4 +- ...DatasetsClient.CreateDataset.g.verified.cs | 10 +- ...atasetsClient.DatasetHandler.g.verified.cs | 169 +++ ...t.ReadComparativeExperiments.g.verified.cs | 16 +- ....DatasetsClient.ReadDatasets.g.verified.cs | 19 +- .../_#G.DatasetsClient.Search.g.verified.cs | 3 + ...sClient.StreamDatasetHandler.g.verified.cs | 169 +++ ...sClient.UpdateDatasetVersion.g.verified.cs | 6 +- ...asetsClient.UploadCsvDataset.g.verified.cs | 10 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- .../_#G.EventsClient.g.verified.cs | 2 +- ...ExamplesClient.CountExamples.g.verified.cs | 159 ++ ....ExamplesClient.ReadExamples.g.verified.cs | 19 +- .../_#G.ExamplesClient.g.verified.cs | 2 +- ...t.CreateFeedbackWithTokenGet.g.verified.cs | 16 - ....CreateFeedbackWithTokenPost.g.verified.cs | 16 - .../_#G.FeedbackClient.g.verified.cs | 2 +- .../_#G.FeedbackConfigsClient.g.verified.cs | 2 +- .../_#G.IAceClient.Execute.g.verified.cs | 32 + .../_#G.IAceClient.g.verified.cs | 20 + .../NewtonsoftJson/_#G.IApi.g.verified.cs | 10 + ...IApiKeyClient.GenerateApiKey.g.verified.cs | 10 +- ....GeneratePersonalAccessToken.g.verified.cs | 10 +- ...ckSsoEmailVerificationStatus.g.verified.cs | 32 + ...thClient.ConfirmSsoUserEmail.g.verified.cs | 30 + ...G.IAuthClient.GetSsoSettings.g.verified.cs | 19 + ...AuthClient.OauthProviderAuth.g.verified.cs | 18 + ...Client.OauthProviderCallback.g.verified.cs | 18 + ...thClient.OauthProviderLogout.g.verified.cs | 18 + ...ent.SendSsoEmailConfirmation.g.verified.cs | 32 + ...portsClient.CancelBulkExport.g.verified.cs | 34 + ...portsClient.CreateBulkExport.g.verified.cs | 40 + ....CreateBulkExportDestination.g.verified.cs | 36 + ...kExportsClient.GetBulkExport.g.verified.cs | 19 + ...ent.GetBulkExportDestination.g.verified.cs | 19 + ...nt.GetBulkExportDestinations.g.verified.cs | 17 + ...portsClient.GetBulkExportRun.g.verified.cs | 21 + ...ortsClient.GetBulkExportRuns.g.verified.cs | 19 + ...ExportsClient.GetBulkExports.g.verified.cs | 17 + .../_#G.IBulkExportsClient.g.verified.cs | 20 + ..._#G.IChartsClient.ReadCharts.g.verified.cs | 4 +- ...G.IChartsClient.ReadSections.g.verified.cs | 12 + ...ChartsClient.ReadSingleChart.g.verified.cs | 4 +- ...artsClient.ReadSingleSection.g.verified.cs | 44 + ...IDatasetsClient.CloneDataset.g.verified.cs | 4 +- ...DatasetsClient.CreateDataset.g.verified.cs | 8 +- ...atasetsClient.DatasetHandler.g.verified.cs | 50 + ...t.ReadComparativeExperiments.g.verified.cs | 4 +- ...IDatasetsClient.ReadDatasets.g.verified.cs | 4 +- .../_#G.IDatasetsClient.Search.g.verified.cs | 2 + ...sClient.StreamDatasetHandler.g.verified.cs | 50 + ...sClient.UpdateDatasetVersion.g.verified.cs | 6 +- ...asetsClient.UploadCsvDataset.g.verified.cs | 8 +- ...ExamplesClient.CountExamples.g.verified.cs | 34 + ...IExamplesClient.ReadExamples.g.verified.cs | 6 +- ...rgsClient.CreateOrganization.g.verified.cs | 30 + ...OrgsClient.CreateSsoSettings.g.verified.cs | 38 + ...OrgsClient.DeleteSsoSettings.g.verified.cs | 19 + ...Client.GetCurrentSsoSettings.g.verified.cs | 17 + ...t.GetCurrentUserLoginMethods.g.verified.cs | 17 + ...OrgsClient.ListOrganizations.g.verified.cs | 4 + ...nt.UpdateAllowedLoginMethods.g.verified.cs | 30 + ...pdateCurrentOrganizationInfo.g.verified.cs | 28 + ...OrgsClient.UpdateSsoSettings.g.verified.cs | 40 + ...OrgsClient.UpsertTtlSettings.g.verified.cs | 8 +- ...icClient.CountSharedExamples.g.verified.cs | 30 + ...lient.QuerySharedDatasetRuns.g.verified.cs | 6 +- ...SharedComparativeExperiments.g.verified.cs | 4 +- ...blicClient.ReadSharedDataset.g.verified.cs | 4 +- ...dSharedDatasetTracerSessions.g.verified.cs | 6 +- .../_#G.IReposClient.ListRepos.g.verified.cs | 4 + ....IReposClient.OptimizePrompt.g.verified.cs | 36 + .../_#G.IRunClient.CreateRule.g.verified.cs | 2 + .../_#G.IRunClient.ListRules.g.verified.cs | 4 + ...nClient.MonitorTracerSession.g.verified.cs | 8 +- ...unClient.MultipartIngestRuns.g.verified.cs | 17 + .../_#G.IRunClient.QueryRuns.g.verified.cs | 6 +- .../_#G.IRunClient.TriggerRules.g.verified.cs | 32 + .../_#G.IRunClient.UpdateRule.g.verified.cs | 2 + .../_#G.IRunClient.UpdateRun.g.verified.cs | 4 + ...G.ITenantClient.CreateTenant.g.verified.cs | 4 + ...#G.ITenantClient.ListTenants.g.verified.cs | 4 + ...sionsClient.CreateFilterView.g.verified.cs | 6 +- ...onsClient.ReadTracerSessions.g.verified.cs | 6 +- ...sionsClient.UpdateFilterView.g.verified.cs | 4 + ...ingsClient.UpsertTtlSettings.g.verified.cs | 4 + ..._#G.InfoClient.GetServerInfo.g.verified.cs | 16 - .../_#G.InfoClient.g.verified.cs | 2 +- .../_#G.LikesClient.g.verified.cs | 2 +- .../_#G.ModelPriceMapClient.g.verified.cs | 2 +- ....Models.APIKeyCreateResponse.g.verified.cs | 6 + ..._#G.Models.APIKeyGetResponse.g.verified.cs | 6 + ...s.AllowedLoginMethodsUpdate.g.verified.cs} | 10 +- .../_#G.Models.AuthProvider.g.verified.cs | 76 + ...Models.BasicAuthMemberCreate.g.verified.cs | 6 + ..._#G.Models.BatchIngestConfig.g.verified.cs | 6 + ...atasetApiV1DatasetsClonePost.g.verified.cs | 2 +- ...dyExecuteApiV1AceExecutePost.g.verified.cs | 30 + ...xecuteApiV1AceExecutePostArg.g.verified.cs | 19 + ...odels.BodyParamsForRunSchema.g.verified.cs | 6 +- ...tasetApiV1DatasetsUploadPost.g.verified.cs | 6 +- .../_#G.Models.BulkExport.g.verified.cs | 92 ++ ...Models.BulkExportCompression.g.verified.cs | 62 + .../_#G.Models.BulkExportCreate.g.verified.cs | 54 + ...Models.BulkExportDestination.g.verified.cs | 66 + ....BulkExportDestinationCreate.g.verified.cs | 42 + ...ulkExportDestinationS3Config.g.verified.cs | 44 + ...portDestinationS3Credentials.g.verified.cs | 30 + ...ls.BulkExportDestinationType.g.verified.cs | 48 + .../_#G.Models.BulkExportFormat.g.verified.cs | 48 + .../_#G.Models.BulkExportRun.g.verified.cs | 74 + ...G.Models.BulkExportRunErrors.g.verified.cs | 19 + ...dels.BulkExportRunS3Metadata.g.verified.cs | 36 + ...G.Models.BulkExportRunStatus.g.verified.cs | 90 ++ .../_#G.Models.BulkExportStatus.g.verified.cs | 90 ++ .../_#G.Models.BulkExportUpdate.g.verified.cs | 24 + ...odels.BulkExportUpdateStatus.g.verified.cs | 48 + ...Models.CodeEvaluatorTopLevel.g.verified.cs | 24 + ..._#G.Models.CommitWithLookups.g.verified.cs | 4 +- ...ls.CommitWithLookupsManifest.g.verified.cs | 19 + ...ificationConfirmPostResponse.g.verified.cs | 19 + ...G.Models.CustomChartsRequest.g.verified.cs | 2 +- ...dels.CustomChartsRequestBase.g.verified.cs | 2 +- ....CustomChartsSectionResponse.g.verified.cs | 16 +- .../_#G.Models.Dataset.g.verified.cs | 12 +- .../_#G.Models.DatasetCreate.g.verified.cs | 12 +- ...dExperimentBatchPostResponse.g.verified.cs | 19 + ...G.Models.DatasetPublicSchema.g.verified.cs | 12 +- ...odels.DatasetSchemaForUpdate.g.verified.cs | 12 +- ...odels.ExampleRunWithFeedback.g.verified.cs | 48 + ...eApiV1AceExecutePostResponse.g.verified.cs | 19 + .../_#G.Models.FilterView.g.verified.cs | 16 +- .../_#G.Models.FilterViewCreate.g.verified.cs | 16 +- .../_#G.Models.FilterViewUpdate.g.verified.cs | 12 + .../_#G.Models.Identity.g.verified.cs | 4 +- ...tRulesApiV1RunsRulesGetType2.g.verified.cs | 55 + .../_#G.Models.MemberIdentity.g.verified.cs | 4 +- .../_#G.Models.MonitorRequest.g.verified.cs | 4 +- ...iV1RunsMultipartPostResponse.g.verified.cs | 19 + .../_#G.Models.OAuthProvider.g.verified.cs | 48 + ...piV1OauthProviderGetResponse.g.verified.cs | 19 + ...hProviderCallbackGetResponse.g.verified.cs | 19 + ...uthProviderLogoutGetResponse.g.verified.cs | 19 + ...Models.OptimizePromptRequest.g.verified.cs | 44 + ...imizePromptRequestMetaprompt.g.verified.cs | 19 + ...odels.OptimizePromptResponse.g.verified.cs | 32 + .../_#G.Models.OrgFeatureFlags.g.verified.cs | 28 +- ..._#G.Models.OrgMemberIdentity.g.verified.cs | 6 +- ...#G.Models.OrgPendingIdentity.g.verified.cs | 6 +- .../_#G.Models.Organization.g.verified.cs | 2 +- ...#G.Models.OrganizationConfig.g.verified.cs | 18 + ...#G.Models.OrganizationCreate.g.verified.cs | 30 + .../_#G.Models.OrganizationInfo.g.verified.cs | 14 +- ...els.OrganizationPGSchemaSlim.g.verified.cs | 12 + ...#G.Models.OrganizationUpdate.g.verified.cs | 26 + .../_#G.Models.PendingIdentity.g.verified.cs | 4 +- ...dRunOverDatasetRequestSchema.g.verified.cs | 80 + ...DatasetRequestSchemaManifest.g.verified.cs | 19 + ...rDatasetRequestSchemaSecrets.g.verified.cs | 19 + ...questSchemaToolsVariant1Item.g.verified.cs | 19 + .../_#G.Models.ProviderUserSlim.g.verified.cs | 80 + ...els.PutDatasetVersionsSchema.g.verified.cs | 6 +- .../_#G.Models.RepoWithLookups.g.verified.cs | 6 + .../_#G.Models.ResourceType.g.verified.cs | 8 +- ....Models.RunRulesCreateSchema.g.verified.cs | 6 + .../_#G.Models.RunRulesSchema.g.verified.cs | 6 + .../_#G.Models.RunSelect.g.verified.cs | 7 + .../_#G.Models.RunnableConfig.g.verified.cs | 68 + ...odels.RunnableConfigCallback.g.verified.cs | 19 + ...dels.RunnableConfigCallbacks.g.verified.cs | 19 + ...s.RunnableConfigConfigurable.g.verified.cs | 19 + ...odels.RunnableConfigMetadata.g.verified.cs | 19 + ...odels.SSOConfirmEmailRequest.g.verified.cs | 24 + ...EmailVerificationSendRequest.g.verified.cs | 30 + ...ailVerificationStatusRequest.g.verified.cs | 30 + ...ilVerificationStatusResponse.g.verified.cs | 26 + .../_#G.Models.SSOProvider.g.verified.cs | 62 + .../_#G.Models.SSOProviderSlim.g.verified.cs | 36 + ..._#G.Models.SSOSettingsCreate.g.verified.cs | 50 + ...ttingsCreateAttributeMapping.g.verified.cs | 19 + ..._#G.Models.SSOSettingsUpdate.g.verified.cs | 44 + ....Models.SearchDatasetRequest.g.verified.cs | 8 + ...VerificationSendPostResponse.g.verified.cs | 19 + ...ExperimentStreamPostResponse.g.verified.cs | 19 + .../_#G.Models.TTLSettings.g.verified.cs | 6 + ...odels.TaggingsByResourceType.g.verified.cs | 18 +- .../_#G.Models.TenantCreate.g.verified.cs | 6 + .../_#G.Models.TenantStats.g.verified.cs | 10 +- ...RunsRulesTriggerPostResponse.g.verified.cs | 19 + ...G.Models.TriggerRulesRequest.g.verified.cs | 32 + ...entLoginMethodsPatchResponse.g.verified.cs | 19 + .../_#G.Models.UpdateRunRequest.g.verified.cs | 12 + ...els.UpsertTTLSettingsRequest.g.verified.cs | 6 + .../_#G.Models.UserWithPassword.g.verified.cs | 4 +- ...rgsClient.CreateOrganization.g.verified.cs | 141 ++ ...OrgsClient.CreateSsoSettings.g.verified.cs | 152 ++ ...OrgsClient.DeleteSsoSettings.g.verified.cs | 111 ++ ...Client.GetCurrentSsoSettings.g.verified.cs | 105 ++ ...t.GetCurrentUserLoginMethods.g.verified.cs | 105 ++ ...OrgsClient.ListOrganizations.g.verified.cs | 19 +- ...nt.UpdateAllowedLoginMethods.g.verified.cs | 140 ++ ...pdateCurrentOrganizationInfo.g.verified.cs | 138 ++ ...OrgsClient.UpdateSsoSettings.g.verified.cs | 158 ++ ...OrgsClient.UpsertTtlSettings.g.verified.cs | 16 +- .../_#G.OrgsClient.g.verified.cs | 2 +- ..._#G.PlaygroundSettingsClient.g.verified.cs | 2 +- ...G.PromptsClient.InvokePrompt.g.verified.cs | 16 - .../_#G.PromptsClient.g.verified.cs | 2 +- ...icClient.CountSharedExamples.g.verified.cs | 128 ++ ...ateQueryForSharedDatasetRuns.g.verified.cs | 16 - ...#G.PublicClient.GetSharedRun.g.verified.cs | 16 - ...ublicClient.GetSharedRunById.g.verified.cs | 16 - ...lient.QuerySharedDatasetRuns.g.verified.cs | 22 +- ...PublicClient.QuerySharedRuns.g.verified.cs | 16 - ...SharedComparativeExperiments.g.verified.cs | 32 +- ...blicClient.ReadSharedDataset.g.verified.cs | 35 +- ...haredDatasetExamplesWithRuns.g.verified.cs | 16 - ...nt.ReadSharedDatasetFeedback.g.verified.cs | 16 - ...cClient.ReadSharedDatasetRun.g.verified.cs | 16 - ...dSharedDatasetTracerSessions.g.verified.cs | 39 +- ...PublicClient.ReadSharedDelta.g.verified.cs | 16 - ...licClient.ReadSharedExamples.g.verified.cs | 16 - ...icClient.ReadSharedFeedbacks.g.verified.cs | 16 - ...lient.StatsSharedDatasetRuns.g.verified.cs | 16 - .../_#G.PublicClient.g.verified.cs | 2 +- .../_#G.ReposClient.ListRepos.g.verified.cs | 9 + ...G.ReposClient.OptimizePrompt.g.verified.cs | 149 ++ .../_#G.ReposClient.g.verified.cs | 2 +- .../_#G.RunClient.CreateRule.g.verified.cs | 3 + .../_#G.RunClient.ListRules.g.verified.cs | 22 +- ...nClient.MonitorTracerSession.g.verified.cs | 8 +- ...unClient.MultipartIngestRuns.g.verified.cs | 105 ++ .../_#G.RunClient.QueryRuns.g.verified.cs | 6 +- .../_#G.RunClient.TriggerRules.g.verified.cs | 143 ++ .../_#G.RunClient.UpdateRule.g.verified.cs | 3 + .../_#G.RunClient.UpdateRun.g.verified.cs | 6 + .../_#G.RunClient.g.verified.cs | 2 +- .../_#G.ServiceAccountsClient.g.verified.cs | 2 +- .../_#G.SettingsClient.g.verified.cs | 2 +- ...#G.TenantClient.CreateTenant.g.verified.cs | 5 + ..._#G.TenantClient.ListTenants.g.verified.cs | 19 +- .../_#G.TenantClient.g.verified.cs | 2 +- ...sionsClient.CreateFilterView.g.verified.cs | 8 +- ...onsClient.ReadTracerSessions.g.verified.cs | 23 +- ...sionsClient.UpdateFilterView.g.verified.cs | 6 + .../_#G.TracerSessionsClient.g.verified.cs | 2 +- ...ingsClient.UpsertTtlSettings.g.verified.cs | 5 + .../_#G.TtlSettingsClient.g.verified.cs | 2 +- .../_#G.UsageLimitsClient.g.verified.cs | 2 +- ...esClient.ListTagsForResource.g.verified.cs | 2 +- .../_#G.WorkspacesClient.g.verified.cs | 2 +- .../SystemTextJson/_#AllOf.1.g.verified.cs | 153 -- .../_#G.AceClient.Execute.g.verified.cs | 143 ++ .../_#G.AceClient.g.verified.cs | 68 + .../_#G.AnnotationQueuesClient.g.verified.cs | 2 +- ...uthorizations.ApiKeyInHeader.g.verified.cs | 28 - .../_#G.Api.Constructors..g.verified.cs | 29 - .../SystemTextJson/_#G.Api.Ok.g.verified.cs | 16 - .../SystemTextJson/_#G.Api.g.verified.cs | 37 +- ....ApiKeyClient.GenerateApiKey.g.verified.cs | 20 +- ....GeneratePersonalAccessToken.g.verified.cs | 20 +- .../_#G.ApiKeyClient.g.verified.cs | 2 +- ...ckSsoEmailVerificationStatus.g.verified.cs | 127 ++ ...thClient.ConfirmSsoUserEmail.g.verified.cs | 124 ++ ...#G.AuthClient.GetSsoSettings.g.verified.cs | 95 ++ .../_#G.AuthClient.Login.g.verified.cs | 16 - ...AuthClient.OauthProviderAuth.g.verified.cs | 94 ++ ...Client.OauthProviderCallback.g.verified.cs | 94 ++ ...thClient.OauthProviderLogout.g.verified.cs | 94 ++ ...ent.SendSsoEmailConfirmation.g.verified.cs | 143 ++ .../_#G.AuthClient.g.verified.cs | 2 +- ...portsClient.CancelBulkExport.g.verified.cs | 149 ++ ...portsClient.CreateBulkExport.g.verified.cs | 155 ++ ....CreateBulkExportDestination.g.verified.cs | 149 ++ ...kExportsClient.GetBulkExport.g.verified.cs | 111 ++ ...ent.GetBulkExportDestination.g.verified.cs | 111 ++ ...nt.GetBulkExportDestinations.g.verified.cs | 105 ++ ...portsClient.GetBulkExportRun.g.verified.cs | 117 ++ ...ortsClient.GetBulkExportRuns.g.verified.cs | 111 ++ ...ExportsClient.GetBulkExports.g.verified.cs | 105 ++ .../_#G.BulkExportsClient.g.verified.cs | 68 + .../_#G.ChartsClient.ReadCharts.g.verified.cs | 4 +- ...#G.ChartsClient.ReadSections.g.verified.cs | 40 +- ...ChartsClient.ReadSingleChart.g.verified.cs | 4 +- ...artsClient.ReadSingleSection.g.verified.cs | 162 ++ .../_#G.ChartsClient.g.verified.cs | 2 +- .../_#G.CommentsClient.g.verified.cs | 2 +- .../_#G.CommitsClient.g.verified.cs | 2 +- ....DatasetsClient.CloneDataset.g.verified.cs | 4 +- ...DatasetsClient.CreateDataset.g.verified.cs | 10 +- ...atasetsClient.DatasetHandler.g.verified.cs | 169 +++ ...t.ReadComparativeExperiments.g.verified.cs | 10 +- ....DatasetsClient.ReadDatasets.g.verified.cs | 10 +- .../_#G.DatasetsClient.Search.g.verified.cs | 3 + ...sClient.StreamDatasetHandler.g.verified.cs | 169 +++ ...sClient.UpdateDatasetVersion.g.verified.cs | 6 +- ...asetsClient.UploadCsvDataset.g.verified.cs | 10 +- .../_#G.DatasetsClient.g.verified.cs | 2 +- .../_#G.EventsClient.g.verified.cs | 2 +- ...ExamplesClient.CountExamples.g.verified.cs | 159 ++ ....ExamplesClient.ReadExamples.g.verified.cs | 12 +- .../_#G.ExamplesClient.g.verified.cs | 2 +- ...t.CreateFeedbackWithTokenGet.g.verified.cs | 16 - ....CreateFeedbackWithTokenPost.g.verified.cs | 16 - .../_#G.FeedbackClient.g.verified.cs | 2 +- .../_#G.FeedbackConfigsClient.g.verified.cs | 2 +- .../_#G.IAceClient.Execute.g.verified.cs | 32 + .../_#G.IAceClient.g.verified.cs | 20 + .../SystemTextJson/_#G.IApi.g.verified.cs | 10 + ...IApiKeyClient.GenerateApiKey.g.verified.cs | 10 +- ....GeneratePersonalAccessToken.g.verified.cs | 10 +- ...ckSsoEmailVerificationStatus.g.verified.cs | 32 + ...thClient.ConfirmSsoUserEmail.g.verified.cs | 30 + ...G.IAuthClient.GetSsoSettings.g.verified.cs | 19 + ...AuthClient.OauthProviderAuth.g.verified.cs | 18 + ...Client.OauthProviderCallback.g.verified.cs | 18 + ...thClient.OauthProviderLogout.g.verified.cs | 18 + ...ent.SendSsoEmailConfirmation.g.verified.cs | 32 + ...portsClient.CancelBulkExport.g.verified.cs | 34 + ...portsClient.CreateBulkExport.g.verified.cs | 40 + ....CreateBulkExportDestination.g.verified.cs | 36 + ...kExportsClient.GetBulkExport.g.verified.cs | 19 + ...ent.GetBulkExportDestination.g.verified.cs | 19 + ...nt.GetBulkExportDestinations.g.verified.cs | 17 + ...portsClient.GetBulkExportRun.g.verified.cs | 21 + ...ortsClient.GetBulkExportRuns.g.verified.cs | 19 + ...ExportsClient.GetBulkExports.g.verified.cs | 17 + .../_#G.IBulkExportsClient.g.verified.cs | 20 + ..._#G.IChartsClient.ReadCharts.g.verified.cs | 4 +- ...G.IChartsClient.ReadSections.g.verified.cs | 12 + ...ChartsClient.ReadSingleChart.g.verified.cs | 4 +- ...artsClient.ReadSingleSection.g.verified.cs | 44 + ...IDatasetsClient.CloneDataset.g.verified.cs | 4 +- ...DatasetsClient.CreateDataset.g.verified.cs | 8 +- ...atasetsClient.DatasetHandler.g.verified.cs | 50 + ...t.ReadComparativeExperiments.g.verified.cs | 4 +- ...IDatasetsClient.ReadDatasets.g.verified.cs | 4 +- .../_#G.IDatasetsClient.Search.g.verified.cs | 2 + ...sClient.StreamDatasetHandler.g.verified.cs | 50 + ...sClient.UpdateDatasetVersion.g.verified.cs | 6 +- ...asetsClient.UploadCsvDataset.g.verified.cs | 8 +- ...ExamplesClient.CountExamples.g.verified.cs | 34 + ...IExamplesClient.ReadExamples.g.verified.cs | 6 +- ...rgsClient.CreateOrganization.g.verified.cs | 30 + ...OrgsClient.CreateSsoSettings.g.verified.cs | 38 + ...OrgsClient.DeleteSsoSettings.g.verified.cs | 19 + ...Client.GetCurrentSsoSettings.g.verified.cs | 17 + ...t.GetCurrentUserLoginMethods.g.verified.cs | 17 + ...OrgsClient.ListOrganizations.g.verified.cs | 4 + ...nt.UpdateAllowedLoginMethods.g.verified.cs | 30 + ...pdateCurrentOrganizationInfo.g.verified.cs | 28 + ...OrgsClient.UpdateSsoSettings.g.verified.cs | 40 + ...OrgsClient.UpsertTtlSettings.g.verified.cs | 8 +- ...icClient.CountSharedExamples.g.verified.cs | 30 + ...lient.QuerySharedDatasetRuns.g.verified.cs | 6 +- ...SharedComparativeExperiments.g.verified.cs | 4 +- ...blicClient.ReadSharedDataset.g.verified.cs | 4 +- ...dSharedDatasetTracerSessions.g.verified.cs | 6 +- .../_#G.IReposClient.ListRepos.g.verified.cs | 4 + ....IReposClient.OptimizePrompt.g.verified.cs | 36 + .../_#G.IRunClient.CreateRule.g.verified.cs | 2 + .../_#G.IRunClient.ListRules.g.verified.cs | 4 + ...nClient.MonitorTracerSession.g.verified.cs | 8 +- ...unClient.MultipartIngestRuns.g.verified.cs | 17 + .../_#G.IRunClient.QueryRuns.g.verified.cs | 6 +- .../_#G.IRunClient.TriggerRules.g.verified.cs | 32 + .../_#G.IRunClient.UpdateRule.g.verified.cs | 2 + .../_#G.IRunClient.UpdateRun.g.verified.cs | 4 + ...G.ITenantClient.CreateTenant.g.verified.cs | 4 + ...#G.ITenantClient.ListTenants.g.verified.cs | 4 + ...sionsClient.CreateFilterView.g.verified.cs | 6 +- ...onsClient.ReadTracerSessions.g.verified.cs | 6 +- ...sionsClient.UpdateFilterView.g.verified.cs | 4 + ...ingsClient.UpsertTtlSettings.g.verified.cs | 4 + ..._#G.InfoClient.GetServerInfo.g.verified.cs | 16 - .../_#G.InfoClient.g.verified.cs | 2 +- .../_#G.LikesClient.g.verified.cs | 2 +- .../_#G.ModelPriceMapClient.g.verified.cs | 2 +- ....Models.APIKeyCreateResponse.g.verified.cs | 7 + ..._#G.Models.APIKeyGetResponse.g.verified.cs | 7 + ...ls.AllowedLoginMethodsUpdate.g.verified.cs | 25 + .../_#G.Models.AuthProvider.g.verified.cs | 70 + ...Models.BasicAuthMemberCreate.g.verified.cs | 7 + ..._#G.Models.BatchIngestConfig.g.verified.cs | 6 + ...atasetApiV1DatasetsClonePost.g.verified.cs | 2 +- ...dyExecuteApiV1AceExecutePost.g.verified.cs | 32 + ...xecuteApiV1AceExecutePostArg.g.verified.cs | 19 + ...odels.BodyParamsForRunSchema.g.verified.cs | 6 +- ...tasetApiV1DatasetsUploadPost.g.verified.cs | 6 +- .../_#G.Models.BulkExport.g.verified.cs | 106 ++ ...Models.BulkExportCompression.g.verified.cs | 58 + .../_#G.Models.BulkExportCreate.g.verified.cs | 60 + ...Models.BulkExportDestination.g.verified.cs | 74 + ....BulkExportDestinationCreate.g.verified.cs | 46 + ...ulkExportDestinationS3Config.g.verified.cs | 49 + ...portDestinationS3Credentials.g.verified.cs | 32 + ...ls.BulkExportDestinationType.g.verified.cs | 46 + .../_#G.Models.BulkExportFormat.g.verified.cs | 46 + .../_#G.Models.BulkExportRun.g.verified.cs | 84 ++ ...G.Models.BulkExportRunErrors.g.verified.cs | 19 + ...dels.BulkExportRunS3Metadata.g.verified.cs | 39 + ...G.Models.BulkExportRunStatus.g.verified.cs | 82 ++ .../_#G.Models.BulkExportStatus.g.verified.cs | 82 ++ ..._#G.Models.BulkExportUpdate.g.verified.cs} | 13 +- ...odels.BulkExportUpdateStatus.g.verified.cs | 46 + ...Models.CodeEvaluatorTopLevel.g.verified.cs | 25 + ..._#G.Models.CommitWithLookups.g.verified.cs | 4 +- ...ls.CommitWithLookupsManifest.g.verified.cs | 19 + ...ificationConfirmPostResponse.g.verified.cs | 19 + ...G.Models.CustomChartsRequest.g.verified.cs | 2 +- ...dels.CustomChartsRequestBase.g.verified.cs | 2 +- ....CustomChartsSectionResponse.g.verified.cs | 18 +- .../_#G.Models.Dataset.g.verified.cs | 14 +- .../_#G.Models.DatasetCreate.g.verified.cs | 14 +- ...dExperimentBatchPostResponse.g.verified.cs | 19 + ...G.Models.DatasetPublicSchema.g.verified.cs | 14 +- ...odels.DatasetSchemaForUpdate.g.verified.cs | 14 +- ...odels.ExampleRunWithFeedback.g.verified.cs | 53 + ...eApiV1AceExecutePostResponse.g.verified.cs | 19 + .../_#G.Models.FilterView.g.verified.cs | 18 +- .../_#G.Models.FilterViewCreate.g.verified.cs | 18 +- .../_#G.Models.FilterViewUpdate.g.verified.cs | 14 + .../_#G.Models.Identity.g.verified.cs | 4 +- ...tRulesApiV1RunsRulesGetType2.g.verified.cs | 52 + .../_#G.Models.MemberIdentity.g.verified.cs | 4 +- .../_#G.Models.MonitorRequest.g.verified.cs | 4 +- ...iV1RunsMultipartPostResponse.g.verified.cs | 19 + .../_#G.Models.OAuthProvider.g.verified.cs | 46 + ...piV1OauthProviderGetResponse.g.verified.cs | 19 + ...hProviderCallbackGetResponse.g.verified.cs | 19 + ...uthProviderLogoutGetResponse.g.verified.cs | 19 + ...Models.OptimizePromptRequest.g.verified.cs | 49 + ...imizePromptRequestMetaprompt.g.verified.cs | 19 + ...odels.OptimizePromptResponse.g.verified.cs | 35 + .../_#G.Models.OrgFeatureFlags.g.verified.cs | 22 +- ..._#G.Models.OrgMemberIdentity.g.verified.cs | 6 +- ...#G.Models.OrgPendingIdentity.g.verified.cs | 6 +- .../_#G.Models.Organization.g.verified.cs | 2 +- ...#G.Models.OrganizationConfig.g.verified.cs | 18 + ...#G.Models.OrganizationCreate.g.verified.cs | 32 + .../_#G.Models.OrganizationInfo.g.verified.cs | 15 +- ...els.OrganizationPGSchemaSlim.g.verified.cs | 13 + ...#G.Models.OrganizationUpdate.g.verified.cs | 27 + .../_#G.Models.PendingIdentity.g.verified.cs | 4 +- ...dRunOverDatasetRequestSchema.g.verified.cs | 89 ++ ...DatasetRequestSchemaManifest.g.verified.cs | 19 + ...rDatasetRequestSchemaSecrets.g.verified.cs | 19 + ...questSchemaToolsVariant1Item.g.verified.cs | 19 + .../_#G.Models.ProviderUserSlim.g.verified.cs | 90 ++ ...els.PutDatasetVersionsSchema.g.verified.cs | 7 +- .../_#G.Models.RepoWithLookups.g.verified.cs | 7 + .../_#G.Models.ResourceType.g.verified.cs | 6 +- ....Models.RunRulesCreateSchema.g.verified.cs | 7 + .../_#G.Models.RunRulesSchema.g.verified.cs | 7 + .../_#G.Models.RunSelect.g.verified.cs | 6 + .../_#G.Models.RunnableConfig.g.verified.cs | 71 + ...odels.RunnableConfigCallback.g.verified.cs | 19 + ...dels.RunnableConfigCallbacks.g.verified.cs | 19 + ...s.RunnableConfigConfigurable.g.verified.cs | 19 + ...odels.RunnableConfigMetadata.g.verified.cs | 19 + ...odels.SSOConfirmEmailRequest.g.verified.cs | 25 + ...EmailVerificationSendRequest.g.verified.cs | 32 + ...ailVerificationStatusRequest.g.verified.cs | 32 + ...ilVerificationStatusResponse.g.verified.cs | 27 + .../_#G.Models.SSOProvider.g.verified.cs | 69 + .../_#G.Models.SSOProviderSlim.g.verified.cs | 39 + ..._#G.Models.SSOSettingsCreate.g.verified.cs | 54 + ...ttingsCreateAttributeMapping.g.verified.cs | 19 + ..._#G.Models.SSOSettingsUpdate.g.verified.cs | 48 + ....Models.SearchDatasetRequest.g.verified.cs | 9 + ...VerificationSendPostResponse.g.verified.cs | 19 + ...ExperimentStreamPostResponse.g.verified.cs | 19 + .../_#G.Models.TTLSettings.g.verified.cs | 6 + ...odels.TaggingsByResourceType.g.verified.cs | 18 +- .../_#G.Models.TenantCreate.g.verified.cs | 6 + .../_#G.Models.TenantStats.g.verified.cs | 11 +- ...RunsRulesTriggerPostResponse.g.verified.cs | 19 + ...G.Models.TriggerRulesRequest.g.verified.cs | 34 + ...entLoginMethodsPatchResponse.g.verified.cs | 19 + .../_#G.Models.UpdateRunRequest.g.verified.cs | 14 + ...els.UpsertTTLSettingsRequest.g.verified.cs | 6 + .../_#G.Models.UserWithPassword.g.verified.cs | 4 +- ...rgsClient.CreateOrganization.g.verified.cs | 141 ++ ...OrgsClient.CreateSsoSettings.g.verified.cs | 152 ++ ...OrgsClient.DeleteSsoSettings.g.verified.cs | 111 ++ ...Client.GetCurrentSsoSettings.g.verified.cs | 105 ++ ...t.GetCurrentUserLoginMethods.g.verified.cs | 105 ++ ...OrgsClient.ListOrganizations.g.verified.cs | 19 +- ...nt.UpdateAllowedLoginMethods.g.verified.cs | 140 ++ ...pdateCurrentOrganizationInfo.g.verified.cs | 138 ++ ...OrgsClient.UpdateSsoSettings.g.verified.cs | 158 ++ ...OrgsClient.UpsertTtlSettings.g.verified.cs | 16 +- .../_#G.OrgsClient.g.verified.cs | 2 +- ..._#G.PlaygroundSettingsClient.g.verified.cs | 2 +- ...G.PromptsClient.InvokePrompt.g.verified.cs | 16 - .../_#G.PromptsClient.g.verified.cs | 2 +- ...icClient.CountSharedExamples.g.verified.cs | 128 ++ ...ateQueryForSharedDatasetRuns.g.verified.cs | 16 - ...#G.PublicClient.GetSharedRun.g.verified.cs | 16 - ...ublicClient.GetSharedRunById.g.verified.cs | 16 - ...lient.QuerySharedDatasetRuns.g.verified.cs | 22 +- ...PublicClient.QuerySharedRuns.g.verified.cs | 16 - ...SharedComparativeExperiments.g.verified.cs | 26 +- ...blicClient.ReadSharedDataset.g.verified.cs | 26 +- ...haredDatasetExamplesWithRuns.g.verified.cs | 16 - ...nt.ReadSharedDatasetFeedback.g.verified.cs | 16 - ...cClient.ReadSharedDatasetRun.g.verified.cs | 16 - ...dSharedDatasetTracerSessions.g.verified.cs | 28 +- ...PublicClient.ReadSharedDelta.g.verified.cs | 16 - ...licClient.ReadSharedExamples.g.verified.cs | 16 - ...icClient.ReadSharedFeedbacks.g.verified.cs | 16 - ...lient.StatsSharedDatasetRuns.g.verified.cs | 16 - .../_#G.PublicClient.g.verified.cs | 2 +- .../_#G.ReposClient.ListRepos.g.verified.cs | 9 + ...G.ReposClient.OptimizePrompt.g.verified.cs | 149 ++ .../_#G.ReposClient.g.verified.cs | 2 +- .../_#G.RunClient.CreateRule.g.verified.cs | 3 + .../_#G.RunClient.ListRules.g.verified.cs | 22 +- ...nClient.MonitorTracerSession.g.verified.cs | 8 +- ...unClient.MultipartIngestRuns.g.verified.cs | 105 ++ .../_#G.RunClient.QueryRuns.g.verified.cs | 6 +- .../_#G.RunClient.TriggerRules.g.verified.cs | 143 ++ .../_#G.RunClient.UpdateRule.g.verified.cs | 3 + .../_#G.RunClient.UpdateRun.g.verified.cs | 6 + .../_#G.RunClient.g.verified.cs | 2 +- .../_#G.ServiceAccountsClient.g.verified.cs | 2 +- .../_#G.SettingsClient.g.verified.cs | 2 +- ...#G.TenantClient.CreateTenant.g.verified.cs | 5 + ..._#G.TenantClient.ListTenants.g.verified.cs | 19 +- .../_#G.TenantClient.g.verified.cs | 2 +- ...sionsClient.CreateFilterView.g.verified.cs | 8 +- ...onsClient.ReadTracerSessions.g.verified.cs | 12 +- ...sionsClient.UpdateFilterView.g.verified.cs | 6 + .../_#G.TracerSessionsClient.g.verified.cs | 2 +- ...ingsClient.UpsertTtlSettings.g.verified.cs | 5 + .../_#G.TtlSettingsClient.g.verified.cs | 2 +- .../_#G.UsageLimitsClient.g.verified.cs | 2 +- .../_#G.WorkspacesClient.g.verified.cs | 2 +- .../_#JsonConverters.AllOf1.g.verified.cs | 62 - ...JsonConverters.AllOfFactory1.g.verified.cs | 26 - ...#JsonConverters.AuthProvider.g.verified.cs | 50 + ...verters.AuthProviderNullable.g.verified.cs | 57 + ...erters.BulkExportCompression.g.verified.cs | 50 + ...ulkExportCompressionNullable.g.verified.cs | 57 + ...rs.BulkExportDestinationType.g.verified.cs | 50 + ...xportDestinationTypeNullable.g.verified.cs | 57 + ...nConverters.BulkExportFormat.g.verified.cs | 50 + ...ers.BulkExportFormatNullable.g.verified.cs | 57 + ...nverters.BulkExportRunStatus.g.verified.cs | 50 + ....BulkExportRunStatusNullable.g.verified.cs | 57 + ...nConverters.BulkExportStatus.g.verified.cs | 50 + ...ers.BulkExportStatusNullable.g.verified.cs | 57 + ...rters.BulkExportUpdateStatus.g.verified.cs | 50 + ...lkExportUpdateStatusNullable.g.verified.cs | 57 + ...tRulesApiV1RunsRulesGetType2.g.verified.cs | 50 + ...iV1RunsRulesGetType2Nullable.g.verified.cs | 57 + ...JsonConverters.OAuthProvider.g.verified.cs | 50 + ...erters.OAuthProviderNullable.g.verified.cs | 57 + ...nSerializerContextConverters.g.verified.cs | 19 +- ..._#JsonSerializerContextTypes.g.verified.cs | 1302 ++++++++++------- .../LangSmith/ResolvedSchemas/_.verified.txt | 672 +++++++-- .../LangSmith/Schemas/_.verified.txt | 626 ++++++-- ...ionTests.Validation_NewErrors.verified.txt | 24 - .../langsmith.json/_.verified.txt | 34 +- 603 files changed, 19756 insertions(+), 2482 deletions(-) delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#AllOf.1.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.Execute.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.g.verified.cs delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.GetSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.CountExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.Execute.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CountExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.OptimizePrompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRules.g.verified.cs rename src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/{_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs => _#G.Models.AllowedLoginMethodsUpdate.g.verified.cs} (57%) create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.AuthProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCompression.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationType.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportFormat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunErrors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OAuthProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ProviderUserSlim.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfig.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigMetadata.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProviderSlim.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.CountSharedExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.OptimizePrompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.TriggerRules.g.verified.cs delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#AllOf.1.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.Execute.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.g.verified.cs delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Constructors..g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.GetSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.CountExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.Execute.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CountExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.OptimizePrompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRules.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AllowedLoginMethodsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AuthProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExport.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCompression.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestination.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationType.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportFormat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRun.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunErrors.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportStatus.g.verified.cs rename src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/{_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs => _#G.Models.BulkExportUpdate.g.verified.cs} (61%) create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OAuthProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ProviderUserSlim.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfig.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallback.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigMetadata.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProviderSlim.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsUpdate.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesRequest.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateOrganization.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.CountSharedExamples.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.OptimizePrompt.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.TriggerRules.g.verified.cs delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOf1.g.verified.cs delete mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOfFactory1.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProviderNullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompression.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompressionNullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationType.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationTypeNullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormat.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormatNullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatusNullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatusNullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatus.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatusNullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2Nullable.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProvider.g.verified.cs create mode 100644 src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProviderNullable.g.verified.cs diff --git a/src/libs/AutoSDK/Extensions/OpenApiExtensions.cs b/src/libs/AutoSDK/Extensions/OpenApiExtensions.cs index abe68c37aa..54acc105a1 100644 --- a/src/libs/AutoSDK/Extensions/OpenApiExtensions.cs +++ b/src/libs/AutoSDK/Extensions/OpenApiExtensions.cs @@ -31,7 +31,7 @@ public static OpenApiDocument GetOpenApiDocument( var openApiDocument = new OpenApiStringReader(new OpenApiReaderSettings { - RuleSet = ValidationRuleSet.GetDefaultRuleSet(), + RuleSet = ValidationRuleSet.GetEmptyRuleSet(), }).Read(yamlOrJson, out var diagnostics); if (!settings.IgnoreOpenApiErrors && diagnostics.Errors.Any()) { diff --git a/src/libs/AutoSDK/Helpers/OpenApi31Support.cs b/src/libs/AutoSDK/Helpers/OpenApi31Support.cs index 1870aec8bd..36ce96ce18 100644 --- a/src/libs/AutoSDK/Helpers/OpenApi31Support.cs +++ b/src/libs/AutoSDK/Helpers/OpenApi31Support.cs @@ -135,6 +135,27 @@ entry.Value is JsonArray typeList && } } + if (keyString == "ge") + { + node.Remove(keyString); + node["minimum"] = entry.Value?.DeepClone(); + } + if (keyString == "le") + { + node.Remove(keyString); + node["maximum"] = entry.Value?.DeepClone(); + } + + // Remove "prefixItems" + if (keyString == "prefixItems" && entry.Value is JsonArray { Count: > 0 } prefixItemsList) + { + node.Remove(keyString); + if (!node.ContainsKey("items")) + { + node["items"] = prefixItemsList[0]?.DeepClone(); + } + } + // Replace "examples" with single "example" if (keyString == "examples" && entry.Value is JsonArray { Count: > 0 } examplesList) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#AllOf.1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#AllOf.1.g.verified.cs deleted file mode 100644 index 1426f1dd10..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#AllOf.1.g.verified.cs +++ /dev/null @@ -1,153 +0,0 @@ -//HintName: AllOf.1.g.cs -using System.Linq; - -#nullable enable - -namespace G -{ - /// - /// - /// - public readonly partial struct AllOf : global::System.IEquatable> - { - /// - /// - /// -#if NET6_0_OR_GREATER - public T1? Value1 { get; init; } -#else - public T1? Value1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] -#endif - public bool IsValue1 => Value1 != null; - - /// - /// - /// - public static implicit operator AllOf(T1 value) => new AllOf(value); - - /// - /// - /// - public static implicit operator T1?(AllOf @this) => @this.Value1; - - /// - /// - /// - public AllOf(T1? value) - { - Value1 = value; - } - - /// - /// - /// - public object? Object => - Value1 as object - ; - - /// - /// - /// - public bool Validate() - { - return IsValue1; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? value1 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsValue1 && value1 != null) - { - return value1(Value1!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? value1 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsValue1) - { - value1?.Invoke(Value1!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - Value1, - typeof(T1), - }; - 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 fields.Aggregate(offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(AllOf other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) - ; - } - - /// - /// - /// - public static bool operator ==(AllOf obj1, AllOf obj2) - { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(AllOf obj1, AllOf obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is AllOf o && Equals(o); - } - } -} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.Execute.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.Execute.g.verified.cs new file mode 100644 index 0000000000..1628ecaa61 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.Execute.g.verified.cs @@ -0,0 +1,143 @@ +//HintName: G.AceClient.Execute.g.cs + +#nullable enable + +namespace G +{ + public partial class AceClient + { + partial void PrepareExecuteArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.BodyExecuteApiV1AceExecutePost request); + partial void PrepareExecuteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.BodyExecuteApiV1AceExecutePost request); + partial void ProcessExecuteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessExecuteResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ExecuteAsync( + global::G.BodyExecuteApiV1AceExecutePost request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareExecuteArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/ace/execute", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareExecuteRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessExecuteResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessExecuteResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ExecuteAsync( + global::System.Collections.Generic.IList args, + string code, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BodyExecuteApiV1AceExecutePost + { + Args = args, + Code = code, + }; + + return await ExecuteAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.g.verified.cs new file mode 100644 index 0000000000..2637680130 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AceClient.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.AceClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AceClient : global::G.IAceClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } = new global::Newtonsoft.Json.JsonSerializerSettings(); + + + /// + /// Creates a new instance of the AceClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public AceClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs index dd40c8b3a3..b42ca8315f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AnnotationQueuesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class AnnotationQueuesClient : global::G.IAnnotationQueues /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs deleted file mode 100644 index cb24c45641..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs +++ /dev/null @@ -1,28 +0,0 @@ -//HintName: G.Api.Authorizations.ApiKeyInHeader.g.cs - -#nullable enable - -namespace G -{ - public sealed partial class Api - { - /// - /// Authorize using ApiKey authentication. - /// - /// - public void AuthorizeUsingApiKeyInHeader( - string apiKey) - { - apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); - - _authorizations.Clear(); - _authorizations.Add(new global::G.EndPointAuthorization - { - Type = "ApiKey", - Location = "Header", - Name = "X-API-Key", - Value = apiKey, - }); - } - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs deleted file mode 100644 index c6c4ff6341..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Constructors..g.verified.cs +++ /dev/null @@ -1,29 +0,0 @@ -//HintName: G.Api.Constructors..g.cs - -#nullable enable - -namespace G -{ - public sealed partial class Api - { - /// - public Api( - string apiKey, - global::System.Net.Http.HttpClient? httpClient = null, - global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) - { - Authorizing(_httpClient, ref apiKey); - - AuthorizeUsingApiKeyInHeader(apiKey); - - Authorized(_httpClient); - } - - partial void Authorizing( - global::System.Net.Http.HttpClient client, - ref string apiKey); - partial void Authorized( - global::System.Net.Http.HttpClient client); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Ok.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Ok.g.verified.cs index e7c7d6d8e2..0ef09ffd45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Ok.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.Ok.g.verified.cs @@ -41,22 +41,6 @@ partial void ProcessOkResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs index cccb3cca36..c70e51fb9e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Api.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; @@ -104,6 +104,22 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable JsonSerializerOptions = JsonSerializerOptions, }; + /// + /// + /// + public AceClient Ace => new AceClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerOptions = JsonSerializerOptions, + }; + + /// + /// + /// + public BulkExportsClient BulkExports => new BulkExportsClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerOptions = JsonSerializerOptions, + }; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs index 23acee7362..d2ca20cece 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs @@ -8,11 +8,11 @@ public partial class ApiKeyClient { partial void PrepareGenerateApiKeyArguments( global::System.Net.Http.HttpClient httpClient, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void PrepareGenerateApiKeyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void ProcessGenerateApiKeyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -30,9 +30,11 @@ partial void ProcessGenerateApiKeyResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GenerateApiKeyAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareGenerateApiKeyArguments( @@ -118,13 +120,23 @@ partial void ProcessGenerateApiKeyResponseContent( /// Generate Api Key
/// Generate an api key for the user /// + /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GenerateApiKeyAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.AllOf + var request = new global::G.APIKeyCreateRequest { + Description = description, + ReadOnly = readOnly, }; return await GenerateApiKeyAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs index 0d9e581d1f..6c8299106c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs @@ -8,11 +8,11 @@ public partial class ApiKeyClient { partial void PrepareGeneratePersonalAccessTokenArguments( global::System.Net.Http.HttpClient httpClient, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void PrepareGeneratePersonalAccessTokenRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void ProcessGeneratePersonalAccessTokenResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -30,9 +30,11 @@ partial void ProcessGeneratePersonalAccessTokenResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareGeneratePersonalAccessTokenArguments( @@ -118,13 +120,23 @@ partial void ProcessGeneratePersonalAccessTokenResponseContent( /// Generate Personal Access Token
/// Generate a Personal Access Token the user /// + /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.AllOf + var request = new global::G.APIKeyCreateRequest { + Description = description, + ReadOnly = readOnly, }; return await GeneratePersonalAccessTokenAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs index a63d351e73..bf61bbb207 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ApiKeyClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ApiKeyClient : global::G.IApiKeyClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs new file mode 100644 index 0000000000..a1f0590257 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs @@ -0,0 +1,127 @@ +//HintName: G.AuthClient.CheckSsoEmailVerificationStatus.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareCheckSsoEmailVerificationStatusArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOEmailVerificationStatusRequest request); + partial void PrepareCheckSsoEmailVerificationStatusRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOEmailVerificationStatusRequest request); + partial void ProcessCheckSsoEmailVerificationStatusResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCheckSsoEmailVerificationStatusResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + global::G.SSOEmailVerificationStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCheckSsoEmailVerificationStatusArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/sso/email-verification/status", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCheckSsoEmailVerificationStatusRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCheckSsoEmailVerificationStatusResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCheckSsoEmailVerificationStatusResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOEmailVerificationStatusRequest + { + Email = email, + SamlProviderId = samlProviderId, + }; + + return await CheckSsoEmailVerificationStatusAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs new file mode 100644 index 0000000000..874009ec2e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs @@ -0,0 +1,124 @@ +//HintName: G.AuthClient.ConfirmSsoUserEmail.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareConfirmSsoUserEmailArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOConfirmEmailRequest request); + partial void PrepareConfirmSsoUserEmailRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOConfirmEmailRequest request); + partial void ProcessConfirmSsoUserEmailResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessConfirmSsoUserEmailResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + global::G.SSOConfirmEmailRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareConfirmSsoUserEmailArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/sso/email-verification/confirm", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareConfirmSsoUserEmailRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessConfirmSsoUserEmailResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessConfirmSsoUserEmailResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + string token, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOConfirmEmailRequest + { + Token = token, + }; + + return await ConfirmSsoUserEmailAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.GetSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.GetSsoSettings.g.verified.cs new file mode 100644 index 0000000000..fde02881c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.GetSsoSettings.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.AuthClient.GetSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareGetSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string ssoLoginSlug); + partial void PrepareGetSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string ssoLoginSlug); + partial void ProcessGetSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Sso Settings
+ /// Get SSO provider settings from login slug. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetSsoSettingsAsync( + string ssoLoginSlug, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetSsoSettingsArguments( + httpClient: _httpClient, + ssoLoginSlug: ref ssoLoginSlug); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/sso/settings/{ssoLoginSlug}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + ssoLoginSlug: ssoLoginSlug); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.Login.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.Login.g.verified.cs index d3f3b73870..365bd47fc1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.Login.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.Login.g.verified.cs @@ -41,22 +41,6 @@ partial void ProcessLoginResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs new file mode 100644 index 0000000000..6a9ee7a0c0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs @@ -0,0 +1,99 @@ +//HintName: G.AuthClient.OauthProviderAuth.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareOauthProviderAuthArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.OAuthProvider provider); + partial void PrepareOauthProviderAuthRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OAuthProvider provider); + partial void ProcessOauthProviderAuthResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOauthProviderAuthResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Oauth Provider Auth + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OauthProviderAuthAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOauthProviderAuthArguments( + httpClient: _httpClient, + provider: ref provider); + + var providerValue = provider switch + { + global::G.OAuthProvider.CustomOidc => "custom-oidc", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; + var __pathBuilder = new PathBuilder( + path: $"/api/v1/oauth/{providerValue}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOauthProviderAuthRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + provider: provider); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOauthProviderAuthResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOauthProviderAuthResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs new file mode 100644 index 0000000000..e2582e85cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs @@ -0,0 +1,99 @@ +//HintName: G.AuthClient.OauthProviderCallback.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareOauthProviderCallbackArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.OAuthProvider provider); + partial void PrepareOauthProviderCallbackRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OAuthProvider provider); + partial void ProcessOauthProviderCallbackResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOauthProviderCallbackResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Oauth Provider Callback + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OauthProviderCallbackAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOauthProviderCallbackArguments( + httpClient: _httpClient, + provider: ref provider); + + var providerValue = provider switch + { + global::G.OAuthProvider.CustomOidc => "custom-oidc", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; + var __pathBuilder = new PathBuilder( + path: $"/api/v1/oauth/{providerValue}/callback", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOauthProviderCallbackRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + provider: provider); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOauthProviderCallbackResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOauthProviderCallbackResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs new file mode 100644 index 0000000000..08d1da1cbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs @@ -0,0 +1,99 @@ +//HintName: G.AuthClient.OauthProviderLogout.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareOauthProviderLogoutArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.OAuthProvider provider); + partial void PrepareOauthProviderLogoutRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OAuthProvider provider); + partial void ProcessOauthProviderLogoutResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOauthProviderLogoutResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Oauth Provider Logout + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OauthProviderLogoutAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOauthProviderLogoutArguments( + httpClient: _httpClient, + provider: ref provider); + + var providerValue = provider switch + { + global::G.OAuthProvider.CustomOidc => "custom-oidc", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; + var __pathBuilder = new PathBuilder( + path: $"/api/v1/oauth/{providerValue}/logout", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOauthProviderLogoutRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + provider: provider); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOauthProviderLogoutResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOauthProviderLogoutResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs new file mode 100644 index 0000000000..2b951a0308 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs @@ -0,0 +1,143 @@ +//HintName: G.AuthClient.SendSsoEmailConfirmation.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareSendSsoEmailConfirmationArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOEmailVerificationSendRequest request); + partial void PrepareSendSsoEmailConfirmationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOEmailVerificationSendRequest request); + partial void ProcessSendSsoEmailConfirmationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSendSsoEmailConfirmationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + global::G.SSOEmailVerificationSendRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSendSsoEmailConfirmationArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/sso/email-verification/send", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSendSsoEmailConfirmationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSendSsoEmailConfirmationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSendSsoEmailConfirmationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOEmailVerificationSendRequest + { + Email = email, + SamlProviderId = samlProviderId, + }; + + return await SendSsoEmailConfirmationAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs index 22769814a3..ada5f61f7e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.AuthClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class AuthClient : global::G.IAuthClient, global::System.I /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs new file mode 100644 index 0000000000..e98e9c331c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.BulkExportsClient.CancelBulkExport.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareCancelBulkExportArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId, + global::G.BulkExportUpdate request); + partial void PrepareCancelBulkExportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId, + global::G.BulkExportUpdate request); + partial void ProcessCancelBulkExportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCancelBulkExportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCancelBulkExportArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCancelBulkExportRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCancelBulkExportResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCancelBulkExportResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdateStatus status = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BulkExportUpdate + { + Status = status, + }; + + return await CancelBulkExportAsync( + bulkExportId: bulkExportId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs new file mode 100644 index 0000000000..a8f865abf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs @@ -0,0 +1,155 @@ +//HintName: G.BulkExportsClient.CreateBulkExport.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareCreateBulkExportArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.BulkExportCreate request); + partial void PrepareCreateBulkExportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.BulkExportCreate request); + partial void ProcessCreateBulkExportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateBulkExportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::G.BulkExportCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateBulkExportArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateBulkExportRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateBulkExportResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateBulkExportResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::System.Guid bulkExportDestinationId, + global::System.Guid sessionId, + global::System.DateTime startTime, + global::System.DateTime endTime, + global::G.BulkExportFormat? format = default, + global::G.BulkExportCompression? compression = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BulkExportCreate + { + BulkExportDestinationId = bulkExportDestinationId, + SessionId = sessionId, + StartTime = startTime, + EndTime = endTime, + Format = format, + Compression = compression, + }; + + return await CreateBulkExportAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..187e1c9ea9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.BulkExportsClient.CreateBulkExportDestination.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareCreateBulkExportDestinationArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.BulkExportDestinationCreate request); + partial void PrepareCreateBulkExportDestinationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.BulkExportDestinationCreate request); + partial void ProcessCreateBulkExportDestinationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateBulkExportDestinationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + global::G.BulkExportDestinationCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateBulkExportDestinationArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports/destinations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateBulkExportDestinationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateBulkExportDestinationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateBulkExportDestinationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + string displayName, + global::G.BulkExportDestinationS3Config config, + global::G.BulkExportDestinationS3Credentials credentials, + global::G.BulkExportDestinationType? destinationType = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BulkExportDestinationCreate + { + DestinationType = destinationType, + DisplayName = displayName, + Config = config, + Credentials = credentials, + }; + + return await CreateBulkExportDestinationAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs new file mode 100644 index 0000000000..9612459286 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.BulkExportsClient.GetBulkExport.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId); + partial void PrepareGetBulkExportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId); + partial void ProcessGetBulkExportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export
+ /// Get a single bulk export by ID + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetBulkExportAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..644c057e72 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.BulkExportsClient.GetBulkExportDestination.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportDestinationArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid destinationId); + partial void PrepareGetBulkExportDestinationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid destinationId); + partial void ProcessGetBulkExportDestinationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportDestinationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Destination
+ /// Get a single bulk export destination by ID + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetBulkExportDestinationAsync( + global::System.Guid destinationId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportDestinationArguments( + httpClient: _httpClient, + destinationId: ref destinationId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/destinations/{destinationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportDestinationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + destinationId: destinationId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportDestinationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportDestinationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs new file mode 100644 index 0000000000..6b90438640 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.BulkExportsClient.GetBulkExportDestinations.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportDestinationsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetBulkExportDestinationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetBulkExportDestinationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportDestinationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Destinations
+ /// Get the current workspace's bulk export destinations + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetBulkExportDestinationsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportDestinationsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports/destinations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportDestinationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportDestinationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportDestinationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs new file mode 100644 index 0000000000..ef2a7c8c79 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs @@ -0,0 +1,117 @@ +//HintName: G.BulkExportsClient.GetBulkExportRun.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportRunArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId, + ref global::System.Guid runId); + partial void PrepareGetBulkExportRunRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId, + global::System.Guid runId); + partial void ProcessGetBulkExportRunResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportRunResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Run
+ /// Get a single bulk export's run by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetBulkExportRunAsync( + global::System.Guid bulkExportId, + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportRunArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId, + runId: ref runId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}/runs/{runId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportRunRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId, + runId: runId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportRunResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportRunResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs new file mode 100644 index 0000000000..b9ebcedd72 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.BulkExportsClient.GetBulkExportRuns.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportRunsArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId); + partial void PrepareGetBulkExportRunsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId); + partial void ProcessGetBulkExportRunsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportRunsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Runs
+ /// Get a bulk export's runs + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetBulkExportRunsAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportRunsArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}/runs", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportRunsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportRunsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportRunsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs new file mode 100644 index 0000000000..716735def8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.BulkExportsClient.GetBulkExports.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetBulkExportsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetBulkExportsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Exports
+ /// Get the current workspace's bulk exports + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetBulkExportsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.g.verified.cs new file mode 100644 index 0000000000..4dd93fe2aa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.BulkExportsClient.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.BulkExportsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class BulkExportsClient : global::G.IBulkExportsClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } = new global::Newtonsoft.Json.JsonSerializerSettings(); + + + /// + /// Creates a new instance of the BulkExportsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public BulkExportsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadCharts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadCharts.g.verified.cs index b2ef44b06b..bd1294f65f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadCharts.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadCharts.g.verified.cs @@ -125,7 +125,9 @@ partial void ProcessReadChartsResponseContent( /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSections.g.verified.cs index b71b344376..1a1cd21302 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSections.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSections.g.verified.cs @@ -10,13 +10,21 @@ partial void PrepareReadSectionsArguments( global::System.Net.Http.HttpClient httpClient, ref int? limit, ref int? offset, - ref global::G.AnyOf? titleContains); + ref global::G.AnyOf? titleContains, + ref global::G.AnyOf, object>? ids, + ref global::G.AnyOf? sortBy, + ref global::G.AnyOf? sortByDesc, + ref global::G.AnyOf, object>? tagValueId); partial void PrepareReadSectionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? limit, int? offset, - global::G.AnyOf? titleContains); + global::G.AnyOf? titleContains, + global::G.AnyOf, object>? ids, + global::G.AnyOf? sortBy, + global::G.AnyOf? sortByDesc, + global::G.AnyOf, object>? tagValueId); partial void ProcessReadSectionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -37,12 +45,24 @@ partial void ProcessReadSectionsResponseContent( /// Default Value: 0 /// /// + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReadSectionsAsync( int? limit = 100, int? offset = 0, global::G.AnyOf? titleContains = default, + global::G.AnyOf, object>? ids = default, + global::G.AnyOf? sortBy = default, + global::G.AnyOf? sortByDesc = default, + global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -51,7 +71,11 @@ partial void ProcessReadSectionsResponseContent( httpClient: _httpClient, limit: ref limit, offset: ref offset, - titleContains: ref titleContains); + titleContains: ref titleContains, + ids: ref ids, + sortBy: ref sortBy, + sortByDesc: ref sortByDesc, + tagValueId: ref tagValueId); var __pathBuilder = new PathBuilder( path: "/api/v1/charts/section", @@ -60,6 +84,10 @@ partial void ProcessReadSectionsResponseContent( .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("title_contains", titleContains?.ToString() ?? string.Empty) + .AddOptionalParameter("ids", ids?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString() ?? string.Empty) + .AddOptionalParameter("tag_value_id", tagValueId?.ToString() ?? string.Empty) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -90,7 +118,11 @@ partial void ProcessReadSectionsResponseContent( httpRequestMessage: httpRequest, limit: limit, offset: offset, - titleContains: titleContains); + titleContains: titleContains, + ids: ids, + sortBy: sortBy, + sortByDesc: sortByDesc, + tagValueId: tagValueId); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs index 7df577b4b8..1b7ba77b2a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs @@ -132,7 +132,9 @@ partial void ProcessReadSingleChartResponseContent( /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs new file mode 100644 index 0000000000..239502dcb4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs @@ -0,0 +1,162 @@ +//HintName: G.ChartsClient.ReadSingleSection.g.cs + +#nullable enable + +namespace G +{ + public partial class ChartsClient + { + partial void PrepareReadSingleSectionArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid sectionId, + global::G.CustomChartsRequestBase request); + partial void PrepareReadSingleSectionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid sectionId, + global::G.CustomChartsRequestBase request); + partial void ProcessReadSingleSectionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessReadSingleSectionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::G.CustomChartsRequestBase request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareReadSingleSectionArguments( + httpClient: _httpClient, + sectionId: ref sectionId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/charts/section/{sectionId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareReadSingleSectionRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + sectionId: sectionId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessReadSingleSectionResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessReadSingleSectionResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// Default Value: UTC + /// + /// + /// + /// + /// Timedelta input. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.TimedeltaInput? stride = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CustomChartsRequestBase + { + Timezone = timezone, + StartTime = startTime, + EndTime = endTime, + Stride = stride, + }; + + return await ReadSingleSectionAsync( + sectionId: sectionId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs index 93b1ee190a..cac84d9b14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ChartsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ChartsClient : global::G.IChartsClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs index 3090ad4c3b..b2e492d0d1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommentsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class CommentsClient : global::G.ICommentsClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs index 26ae030b15..1ec8b2bb0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.CommitsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class CommitsClient : global::G.ICommitsClient, global::Sy /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CloneDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CloneDataset.g.verified.cs index cbc726dadb..61620edfb8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CloneDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CloneDataset.g.verified.cs @@ -123,7 +123,9 @@ partial void ProcessCloneDatasetResponseContent( /// /// /// - /// + /// + /// Default Value: [] + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> CloneDatasetAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CreateDataset.g.verified.cs index 8ee17e546f..0b22bef6d3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CreateDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.CreateDataset.g.verified.cs @@ -123,9 +123,6 @@ partial void ProcessCreateDatasetResponseContent( /// /// /// - /// - /// Default Value: kv - /// /// /// /// @@ -133,18 +130,21 @@ partial void ProcessCreateDatasetResponseContent( /// /// /// + /// + /// Enum for dataset data types. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateDatasetAsync( string name, global::G.AnyOf? description = default, global::System.DateTime? createdAt = default, - global::G.AnyOf? dataType = default, global::G.AnyOf? inputsSchemaDefinition = default, global::G.AnyOf? outputsSchemaDefinition = default, global::G.AnyOf? externallyManaged = default, global::G.AnyOf? id = default, global::G.AnyOf? extra = default, + global::G.DataType? dataType = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.DatasetCreate @@ -152,12 +152,12 @@ partial void ProcessCreateDatasetResponseContent( Name = name, Description = description, CreatedAt = createdAt, - DataType = dataType, InputsSchemaDefinition = inputsSchemaDefinition, OutputsSchemaDefinition = outputsSchemaDefinition, ExternallyManaged = externallyManaged, Id = id, Extra = extra, + DataType = dataType, }; return await CreateDatasetAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs new file mode 100644 index 0000000000..d99d68c106 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs @@ -0,0 +1,169 @@ +//HintName: G.DatasetsClient.DatasetHandler.g.cs + +#nullable enable + +namespace G +{ + public partial class DatasetsClient + { + partial void PrepareDatasetHandlerArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void PrepareDatasetHandlerRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void ProcessDatasetHandlerResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDatasetHandlerResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareDatasetHandlerArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/datasets/playground_experiment/batch", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareDatasetHandlerRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessDatasetHandlerResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessDatasetHandlerResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.PlaygroundRunOverDatasetRequestSchema + { + Manifest = manifest, + Secrets = secrets, + RunId = runId, + RepoId = repoId, + Tools = tools, + ToolChoice = toolChoice, + Options = options, + ProjectName = projectName, + DatasetId = datasetId, + Repetitions = repetitions, + }; + + return await DatasetHandlerAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs index 2eb4caed6d..403e7a1a0b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs @@ -14,7 +14,7 @@ partial void PrepareReadComparativeExperimentsArguments( ref global::G.AnyOf, object>? id, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByComparativeExperimentColumn? sortBy, ref bool? sortByDesc); partial void PrepareReadComparativeExperimentsRequest( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,7 @@ partial void PrepareReadComparativeExperimentsRequest( global::G.AnyOf, object>? id, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByComparativeExperimentColumn? sortBy, bool? sortByDesc); partial void ProcessReadComparativeExperimentsResponse( global::System.Net.Http.HttpClient httpClient, @@ -51,7 +51,7 @@ partial void ProcessReadComparativeExperimentsResponseContent( /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -65,7 +65,7 @@ partial void ProcessReadComparativeExperimentsResponseContent( global::G.AnyOf, object>? id = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,6 +82,12 @@ partial void ProcessReadComparativeExperimentsResponseContent( sortBy: ref sortBy, sortByDesc: ref sortByDesc); + var sortByValue = sortBy switch + { + global::G.SortByComparativeExperimentColumn.Name => "name", + global::G.SortByComparativeExperimentColumn.CreatedAt => "created_at", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; var __pathBuilder = new PathBuilder( path: $"/api/v1/datasets/{datasetId}/comparative", baseUri: _httpClient.BaseAddress); @@ -91,7 +97,7 @@ partial void ProcessReadComparativeExperimentsResponseContent( .AddOptionalParameter("id", id?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortByValue?.ToString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) ; var __path = __pathBuilder.ToString(); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs index a664bf5a8b..056f65f864 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs @@ -15,7 +15,7 @@ partial void PrepareReadDatasetsArguments( ref global::G.AnyOf? metadata, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByDatasetColumn? sortBy, ref bool? sortByDesc, ref global::G.AnyOf, object>? tagValueId); partial void PrepareReadDatasetsRequest( @@ -28,7 +28,7 @@ partial void PrepareReadDatasetsRequest( global::G.AnyOf? metadata, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByDatasetColumn? sortBy, bool? sortByDesc, global::G.AnyOf, object>? tagValueId); partial void ProcessReadDatasetsResponse( @@ -56,7 +56,7 @@ partial void ProcessReadDatasetsResponseContent( /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -72,7 +72,7 @@ partial void ProcessReadDatasetsResponseContent( global::G.AnyOf? metadata = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -92,6 +92,15 @@ partial void ProcessReadDatasetsResponseContent( sortByDesc: ref sortByDesc, tagValueId: ref tagValueId); + var sortByValue = sortBy switch + { + global::G.SortByDatasetColumn.Name => "name", + global::G.SortByDatasetColumn.CreatedAt => "created_at", + global::G.SortByDatasetColumn.LastSessionStartTime => "last_session_start_time", + global::G.SortByDatasetColumn.ExampleCount => "example_count", + global::G.SortByDatasetColumn.SessionCount => "session_count", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; var __pathBuilder = new PathBuilder( path: "/api/v1/datasets", baseUri: _httpClient.BaseAddress); @@ -103,7 +112,7 @@ partial void ProcessReadDatasetsResponseContent( .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortByValue?.ToString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) .AddOptionalParameter("tag_value_id", tagValueId?.ToString() ?? string.Empty) ; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.Search.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.Search.g.verified.cs index 7049fc2ec9..8df35f688c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.Search.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.Search.g.verified.cs @@ -134,6 +134,7 @@ partial void ProcessSearchResponseContent( /// /// Default Value: false /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task SearchAsync( @@ -141,6 +142,7 @@ partial void ProcessSearchResponseContent( object inputs, int? limit = 5, bool? debug = false, + global::G.AnyOf? filter = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.SearchDatasetRequest @@ -148,6 +150,7 @@ partial void ProcessSearchResponseContent( Inputs = inputs, Limit = limit, Debug = debug, + Filter = filter, }; return await SearchAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs new file mode 100644 index 0000000000..feba0faefc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs @@ -0,0 +1,169 @@ +//HintName: G.DatasetsClient.StreamDatasetHandler.g.cs + +#nullable enable + +namespace G +{ + public partial class DatasetsClient + { + partial void PrepareStreamDatasetHandlerArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void PrepareStreamDatasetHandlerRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void ProcessStreamDatasetHandlerResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessStreamDatasetHandlerResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Stream Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareStreamDatasetHandlerArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/datasets/playground_experiment/stream", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareStreamDatasetHandlerRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessStreamDatasetHandlerResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessStreamDatasetHandlerResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Stream Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.PlaygroundRunOverDatasetRequestSchema + { + Manifest = manifest, + Secrets = secrets, + RunId = runId, + RepoId = repoId, + Tools = tools, + ToolChoice = toolChoice, + Options = options, + ProjectName = projectName, + DatasetId = datasetId, + Repetitions = repetitions, + }; + + return await StreamDatasetHandlerAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs index 249e5e7ec4..46242c9b82 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs @@ -127,13 +127,15 @@ partial void ProcessUpdateDatasetVersionResponseContent( /// Set a tag on a dataset version. /// /// - /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( global::System.Guid datasetId, - global::System.DateTime asOf, + global::G.AnyOf asOf, string tag, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs index 5f43c89d4d..73b5bcc530 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs @@ -84,7 +84,7 @@ partial void ProcessUploadCsvDatasetResponseContent( content: new global::System.Net.Http.StringContent(request.Name?.Value1?.ToString() ?? request.Name?.Value2?.ToString() ?? string.Empty), name: "name"); } - if (request.DataType != global::G.DataType.Kv) + if (request.DataType != default) { __httpRequestContent.Add( content: new global::System.Net.Http.StringContent($"{request.DataType?.ToValueString()}"), @@ -158,9 +158,11 @@ partial void ProcessUploadCsvDatasetResponseContent( /// /// /// - /// Default Value: kv + /// Enum for dataset data types. + /// + /// + /// Default Value: [] /// - /// /// /// The token to cancel the operation with /// @@ -169,7 +171,7 @@ partial void ProcessUploadCsvDatasetResponseContent( string filename, global::System.Collections.Generic.IList inputKeys, global::G.AnyOf? name = default, - global::G.DataType? dataType = global::G.DataType.Kv, + global::G.DataType? dataType = default, global::System.Collections.Generic.IList? outputKeys = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs index fd13211dab..96dd81b67c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.DatasetsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class DatasetsClient : global::G.IDatasetsClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs index a38952c6dc..ec0f30963b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.EventsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class EventsClient : global::G.IEventsClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.CountExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.CountExamples.g.verified.cs new file mode 100644 index 0000000000..36cc4153cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.CountExamples.g.verified.cs @@ -0,0 +1,159 @@ +//HintName: G.ExamplesClient.CountExamples.g.cs + +#nullable enable + +namespace G +{ + public partial class ExamplesClient + { + partial void PrepareCountExamplesArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.AnyOf, object>? id, + ref global::G.AnyOf? asOf, + ref global::G.AnyOf? metadata, + ref global::G.AnyOf, object>? fullTextContains, + ref global::G.AnyOf, object>? splits, + ref global::G.AnyOf? dataset, + ref global::G.AnyOf? filter); + partial void PrepareCountExamplesRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.AnyOf, object>? id, + global::G.AnyOf? asOf, + global::G.AnyOf? metadata, + global::G.AnyOf, object>? fullTextContains, + global::G.AnyOf, object>? splits, + global::G.AnyOf? dataset, + global::G.AnyOf? filter); + partial void ProcessCountExamplesResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCountExamplesResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Count Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CountExamplesAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, object>? fullTextContains = default, + global::G.AnyOf, object>? splits = default, + global::G.AnyOf? dataset = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCountExamplesArguments( + httpClient: _httpClient, + id: ref id, + asOf: ref asOf, + metadata: ref metadata, + fullTextContains: ref fullTextContains, + splits: ref splits, + dataset: ref dataset, + filter: ref filter); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/examples/count", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("id", id?.ToString() ?? string.Empty) + .AddOptionalParameter("as_of", asOf?.ToString() ?? string.Empty) + .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) + .AddOptionalParameter("full_text_contains", fullTextContains?.ToString() ?? string.Empty) + .AddOptionalParameter("splits", splits?.ToString() ?? string.Empty) + .AddOptionalParameter("dataset", dataset?.ToString() ?? string.Empty) + .AddOptionalParameter("filter", filter?.ToString() ?? string.Empty) + ; + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCountExamplesRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + id: id, + asOf: asOf, + metadata: metadata, + fullTextContains: fullTextContains, + splits: splits, + dataset: dataset, + filter: filter); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCountExamplesResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCountExamplesResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.ReadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.ReadExamples.g.verified.cs index b80e729973..b319a2b412 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.ReadExamples.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.ReadExamples.g.verified.cs @@ -16,7 +16,7 @@ partial void PrepareReadExamplesArguments( ref global::G.AnyOf? dataset, ref int? offset, ref int? limit, - ref global::G.AllOf? order, + ref global::G.ExampleListOrder? order, ref global::G.AnyOf? randomSeed, global::System.Collections.Generic.IList? select, ref global::G.AnyOf? filter); @@ -31,7 +31,7 @@ partial void PrepareReadExamplesRequest( global::G.AnyOf? dataset, int? offset, int? limit, - global::G.AllOf? order, + global::G.ExampleListOrder? order, global::G.AnyOf? randomSeed, global::System.Collections.Generic.IList? select, global::G.AnyOf? filter); @@ -63,9 +63,7 @@ partial void ProcessReadExamplesResponseContent( /// /// Default Value: 100 /// - /// - /// Default Value: recent - /// + /// /// /// /// Default Value: [id, created_at, modified_at, name, dataset_id, source_run_id, metadata, inputs, outputs] @@ -82,7 +80,7 @@ partial void ProcessReadExamplesResponseContent( global::G.AnyOf? dataset = default, int? offset = 0, int? limit = 100, - global::G.AllOf? order = default, + global::G.ExampleListOrder? order = default, global::G.AnyOf? randomSeed = default, global::System.Collections.Generic.IList? select = default, global::G.AnyOf? filter = default, @@ -105,6 +103,13 @@ partial void ProcessReadExamplesResponseContent( select: select, filter: ref filter); + var orderValue = order switch + { + global::G.ExampleListOrder.Recent => "recent", + global::G.ExampleListOrder.Random => "random", + global::G.ExampleListOrder.RecentlyCreated => "recently_created", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; var __pathBuilder = new PathBuilder( path: "/api/v1/examples", baseUri: _httpClient.BaseAddress); @@ -117,7 +122,7 @@ partial void ProcessReadExamplesResponseContent( .AddOptionalParameter("dataset", dataset?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("order", order?.ToString() ?? string.Empty) + .AddOptionalParameter("order", orderValue?.ToString()) .AddOptionalParameter("random_seed", randomSeed?.ToString() ?? string.Empty) .AddOptionalParameter("filter", filter?.ToString() ?? string.Empty) ; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs index 22d9b6d289..60a0d35c70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ExamplesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ExamplesClient : global::G.IExamplesClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs index 68edb88929..8c88fe5740 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs @@ -73,22 +73,6 @@ partial void ProcessCreateFeedbackWithTokenGetResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs index 7bb277fd1d..f686447f32 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessCreateFeedbackWithTokenPostResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs index db9a0ca282..ba3278f53e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class FeedbackClient : global::G.IFeedbackClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs index 2292fdfc78..3a0218ebca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.FeedbackConfigsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class FeedbackConfigsClient : global::G.IFeedbackConfigsCl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.Execute.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.Execute.g.verified.cs new file mode 100644 index 0000000000..54bce8abb4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.Execute.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAceClient.Execute.g.cs +#nullable enable + +namespace G +{ + public partial interface IAceClient + { + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExecuteAsync( + global::G.BodyExecuteApiV1AceExecutePost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExecuteAsync( + global::System.Collections.Generic.IList args, + string code, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.g.verified.cs new file mode 100644 index 0000000000..9716e95f50 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAceClient.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAceClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAceClient : global::System.IDisposable + { + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs index 85e927c278..9a139f3ae0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApi.g.verified.cs @@ -66,6 +66,16 @@ public partial interface IApi : global::System.IDisposable /// public AnnotationQueuesClient AnnotationQueues { get; } + /// + /// + /// + public AceClient Ace { get; } + + /// + /// + /// + public BulkExportsClient BulkExports { get; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs index 4fbb3527d5..9da10b9bfd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs @@ -13,16 +13,24 @@ public partial interface IApiKeyClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GenerateApiKeyAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Generate Api Key
/// Generate an api key for the user ///
+ /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GenerateApiKeyAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs index 2df9829dc1..73cab35940 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs @@ -13,16 +13,24 @@ public partial interface IApiKeyClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Generate Personal Access Token
/// Generate a Personal Access Token the user ///
+ /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs new file mode 100644 index 0000000000..ab17214b5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAuthClient.CheckSsoEmailVerificationStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + global::G.SSOEmailVerificationStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs new file mode 100644 index 0000000000..e321ca0ea8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAuthClient.ConfirmSsoUserEmail.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + global::G.SSOConfirmEmailRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + string token, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs new file mode 100644 index 0000000000..4ac3a5ebcb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAuthClient.GetSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Get Sso Settings
+ /// Get SSO provider settings from login slug. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetSsoSettingsAsync( + string ssoLoginSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs new file mode 100644 index 0000000000..7f549ea16b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAuthClient.OauthProviderAuth.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Oauth Provider Auth + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OauthProviderAuthAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs new file mode 100644 index 0000000000..eee3c48005 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAuthClient.OauthProviderCallback.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Oauth Provider Callback + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OauthProviderCallbackAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs new file mode 100644 index 0000000000..99a0ae6a37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAuthClient.OauthProviderLogout.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Oauth Provider Logout + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OauthProviderLogoutAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs new file mode 100644 index 0000000000..12e14228bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAuthClient.SendSsoEmailConfirmation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + global::G.SSOEmailVerificationSendRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs new file mode 100644 index 0000000000..b15efd8f2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IBulkExportsClient.CancelBulkExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdateStatus status = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs new file mode 100644 index 0000000000..5b611ddb10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IBulkExportsClient.CreateBulkExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::G.BulkExportCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::System.Guid bulkExportDestinationId, + global::System.Guid sessionId, + global::System.DateTime startTime, + global::System.DateTime endTime, + global::G.BulkExportFormat? format = default, + global::G.BulkExportCompression? compression = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..c3c511a0ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IBulkExportsClient.CreateBulkExportDestination.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + global::G.BulkExportDestinationCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + string displayName, + global::G.BulkExportDestinationS3Config config, + global::G.BulkExportDestinationS3Credentials credentials, + global::G.BulkExportDestinationType? destinationType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs new file mode 100644 index 0000000000..2e1328fc0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IBulkExportsClient.GetBulkExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export
+ /// Get a single bulk export by ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBulkExportAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..1e3210065a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IBulkExportsClient.GetBulkExportDestination.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Destination
+ /// Get a single bulk export destination by ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBulkExportDestinationAsync( + global::System.Guid destinationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs new file mode 100644 index 0000000000..163204de8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IBulkExportsClient.GetBulkExportDestinations.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Destinations
+ /// Get the current workspace's bulk export destinations + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetBulkExportDestinationsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs new file mode 100644 index 0000000000..0a89ed35b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBulkExportsClient.GetBulkExportRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Run
+ /// Get a single bulk export's run by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBulkExportRunAsync( + global::System.Guid bulkExportId, + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs new file mode 100644 index 0000000000..82421285bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IBulkExportsClient.GetBulkExportRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Runs
+ /// Get a bulk export's runs + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetBulkExportRunsAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs new file mode 100644 index 0000000000..5b449cdec4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IBulkExportsClient.GetBulkExports.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Exports
+ /// Get the current workspace's bulk exports + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetBulkExportsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.g.verified.cs new file mode 100644 index 0000000000..3d043ecc0d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IBulkExportsClient.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IBulkExportsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBulkExportsClient : global::System.IDisposable + { + /// + /// + /// + global::Newtonsoft.Json.JsonSerializerSettings JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs index 12dcc08512..8af09fd3b1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadCharts.g.verified.cs @@ -25,7 +25,9 @@ public partial interface IChartsClient /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs index f99616f656..30250bb875 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSections.g.verified.cs @@ -16,12 +16,24 @@ public partial interface IChartsClient /// Default Value: 0 /// /// + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReadSectionsAsync( int? limit = 100, int? offset = 0, global::G.AnyOf? titleContains = default, + global::G.AnyOf, object>? ids = default, + global::G.AnyOf? sortBy = default, + global::G.AnyOf? sortByDesc = default, + global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs index 1d2f597972..ffdd6f38da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs @@ -28,7 +28,9 @@ public partial interface IChartsClient /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs new file mode 100644 index 0000000000..cd4f613e94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IChartsClient.ReadSingleSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::G.CustomChartsRequestBase request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// Default Value: UTC + /// + /// + /// + /// + /// Timedelta input. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.TimedeltaInput? stride = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs index 6d25d07081..3057e00815 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs @@ -23,7 +23,9 @@ public partial interface IDatasetsClient /// /// /// - /// + /// + /// Default Value: [] + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> CloneDatasetAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs index db1877e0a1..1b382aad37 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs @@ -23,9 +23,6 @@ public partial interface IDatasetsClient /// /// /// - /// - /// Default Value: kv - /// /// /// /// @@ -33,18 +30,21 @@ public partial interface IDatasetsClient /// /// /// + /// + /// Enum for dataset data types. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateDatasetAsync( string name, global::G.AnyOf? description = default, global::System.DateTime? createdAt = default, - global::G.AnyOf? dataType = default, global::G.AnyOf? inputsSchemaDefinition = default, global::G.AnyOf? outputsSchemaDefinition = default, global::G.AnyOf? externallyManaged = default, global::G.AnyOf? id = default, global::G.AnyOf? extra = default, + global::G.DataType? dataType = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs new file mode 100644 index 0000000000..0c86be3382 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.DatasetHandler.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs index 5bfc920a50..84e39004cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IDatasetsClient /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -34,7 +34,7 @@ public partial interface IDatasetsClient global::G.AnyOf, object>? id = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs index 00259868b1..7b1d92c770 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs @@ -21,7 +21,7 @@ public partial interface IDatasetsClient /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -37,7 +37,7 @@ public partial interface IDatasetsClient global::G.AnyOf? metadata = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs index 426f152f79..a1acc61941 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.Search.g.verified.cs @@ -30,6 +30,7 @@ public partial interface IDatasetsClient /// /// Default Value: false /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task SearchAsync( @@ -37,6 +38,7 @@ public partial interface IDatasetsClient object inputs, int? limit = 5, bool? debug = false, + global::G.AnyOf? filter = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs new file mode 100644 index 0000000000..770cf7f331 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.StreamDatasetHandler.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Stream Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stream Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs index 6c6e9289c4..62ae057913 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs @@ -23,13 +23,15 @@ public partial interface IDatasetsClient /// Set a tag on a dataset version. /// /// - /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( global::System.Guid datasetId, - global::System.DateTime asOf, + global::G.AnyOf asOf, string tag, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs index 162537d8fe..ca10fad57b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs @@ -25,9 +25,11 @@ public partial interface IDatasetsClient /// /// /// - /// Default Value: kv + /// Enum for dataset data types. + /// + /// + /// Default Value: [] /// - /// /// /// The token to cancel the operation with /// @@ -36,7 +38,7 @@ public partial interface IDatasetsClient string filename, global::System.Collections.Generic.IList inputKeys, global::G.AnyOf? name = default, - global::G.DataType? dataType = global::G.DataType.Kv, + global::G.DataType? dataType = default, global::System.Collections.Generic.IList? outputKeys = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CountExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CountExamples.g.verified.cs new file mode 100644 index 0000000000..dff77f8c25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.CountExamples.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExamplesClient.CountExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Count Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CountExamplesAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, object>? fullTextContains = default, + global::G.AnyOf, object>? splits = default, + global::G.AnyOf? dataset = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs index 08260d8422..fdd9932427 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IExamplesClient.ReadExamples.g.verified.cs @@ -24,9 +24,7 @@ public partial interface IExamplesClient /// /// Default Value: 100 /// - /// - /// Default Value: recent - /// + /// /// /// /// Default Value: [id, created_at, modified_at, name, dataset_id, source_run_id, metadata, inputs, outputs] @@ -43,7 +41,7 @@ public partial interface IExamplesClient global::G.AnyOf? dataset = default, int? offset = 0, int? limit = 100, - global::G.AllOf? order = default, + global::G.ExampleListOrder? order = default, global::G.AnyOf? randomSeed = default, global::System.Collections.Generic.IList? select = default, global::G.AnyOf? filter = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs new file mode 100644 index 0000000000..696d2d813a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.CreateOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Organization + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationAsync( + global::G.OrganizationCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Organization + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationAsync( + string displayName, + bool isPersonal, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..d05086d6f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IOrgsClient.CreateSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::G.SSOSettingsCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::System.Guid defaultWorkspaceRoleId, + global::System.Collections.Generic.IList defaultWorkspaceIds, + global::G.AnyOf? metadataXml = default, + global::G.AnyOf? metadataUrl = default, + global::System.Collections.Generic.Dictionary? attributeMapping = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs new file mode 100644 index 0000000000..5c045972e1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.DeleteSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Sso Settings
+ /// Delete SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteSsoSettingsAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs new file mode 100644 index 0000000000..f90cf6f448 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.GetCurrentSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current Sso Settings
+ /// Get SSO provider settings for the current organization. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetCurrentSsoSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs new file mode 100644 index 0000000000..44f4cba7e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.GetCurrentUserLoginMethods.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current User Login Methods
+ /// Get login methods for the current user. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetCurrentUserLoginMethodsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs index 9dd8eba011..01d9b8ce1b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs @@ -9,9 +9,13 @@ public partial interface IOrgsClient /// List Organizations
/// Get all orgs visible to this auth /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListOrganizationsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs new file mode 100644 index 0000000000..8a975cac90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.UpdateAllowedLoginMethods.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + global::G.AllowedLoginMethodsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + bool ssoOnly, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..9579118f9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IOrgsClient.UpdateCurrentOrganizationInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.OrganizationUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.AnyOf? displayName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..bc935fa93a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IOrgsClient.UpdateSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.SSOSettingsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.AnyOf? defaultWorkspaceRoleId = default, + global::G.AnyOf, object>? defaultWorkspaceIds = default, + global::G.AnyOf? metadataUrl = default, + global::G.AnyOf? metadataXml = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs index cdb3881d8b..81c3da8079 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs @@ -12,17 +12,23 @@ public partial interface IOrgsClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request, + global::G.UpsertTTLSettingsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Upsert Ttl Settings /// + /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, + global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs new file mode 100644 index 0000000000..8c0c384c6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPublicClient.CountSharedExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Count Shared Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CountSharedExamplesAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs index 59f9f13a2b..2ccffb67c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs @@ -44,10 +44,10 @@ public partial interface IPublicClient /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -72,7 +72,7 @@ public partial interface IPublicClient global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs index 81aab7ecf1..da11739866 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs @@ -19,7 +19,7 @@ public partial interface IPublicClient /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -32,7 +32,7 @@ public partial interface IPublicClient global::G.AnyOf? nameContains = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs index 7e1873ebc4..a3f13df70e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IPublicClient /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -28,7 +28,7 @@ public partial interface IPublicClient global::System.Guid shareToken, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs index aacb2add79..84c3ee7f98 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs @@ -14,9 +14,7 @@ public partial interface IPublicClient /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -39,7 +37,7 @@ public partial interface IPublicClient global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? sortByFeedbackKey = default, int? offset = 0, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs index f4ccb68172..7a9c0a024f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.ListRepos.g.verified.cs @@ -9,6 +9,9 @@ public partial interface IReposClient /// List Repos
/// Get all repos. /// + /// + /// Default Value: false + /// /// /// Default Value: 20 /// @@ -33,6 +36,7 @@ public partial interface IReposClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListReposAsync( + bool? withLatestManifest = false, int? limit = 20, int? offset = 0, global::G.AnyOf? tenantHandle = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.OptimizePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.OptimizePrompt.g.verified.cs new file mode 100644 index 0000000000..9876a4527d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IReposClient.OptimizePrompt.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IReposClient.OptimizePrompt.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OptimizePromptAsync( + global::G.OptimizePromptRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OptimizePromptAsync( + string prompt, + object metaprompt, + global::System.Collections.Generic.IList examples, + global::G.AnyOf overallFeedback, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs index 8201eb7684..c5febf3896 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.CreateRule.g.verified.cs @@ -44,6 +44,7 @@ public partial interface IRunClient /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -65,6 +66,7 @@ public partial interface IRunClient global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs index 68f307ccf6..0b87775725 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.ListRules.g.verified.cs @@ -11,11 +11,15 @@ public partial interface IRunClient /// /// /// + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListRulesAsync( global::G.AnyOf? datasetId = default, global::G.AnyOf? sessionId = default, + global::G.AnyOf? type = default, + global::G.AnyOf? nameContains = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs index 4880fbb946..824e1636ff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs @@ -24,8 +24,12 @@ public partial interface IRunClient /// Default Value: UTC /// /// - /// - /// + /// + /// Timedelta input. + /// + /// + /// Timedelta input. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task MonitorTracerSessionAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs new file mode 100644 index 0000000000..f9f19065a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IRunClient.MultipartIngestRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Multipart Ingest Runs
+ /// Batch ingest runs. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MultipartIngestRunsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs index feef2e4ce4..569517a839 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.QueryRuns.g.verified.cs @@ -39,10 +39,10 @@ public partial interface IRunClient /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -66,7 +66,7 @@ public partial interface IRunClient global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRules.g.verified.cs new file mode 100644 index 0000000000..5514e07d01 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.TriggerRules.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IRunClient.TriggerRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.TriggerRulesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.AnyOf, object>? ruleIds = default, + global::G.AnyOf? datasetId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs index 80a5a1dd80..f14f1824ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRule.g.verified.cs @@ -47,6 +47,7 @@ public partial interface IRunClient /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -69,6 +70,7 @@ public partial interface IRunClient global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs index 2b608d5658..ecfd604309 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.IRunClient.UpdateRun.g.verified.cs @@ -35,6 +35,8 @@ public partial interface IRunClient /// /// /// + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpdateRunAsync( @@ -51,6 +53,8 @@ public partial interface IRunClient global::G.OneOf? extra = default, global::G.OneOf? inputAttachments = default, global::G.OneOf? outputAttachments = default, + global::G.OneOf? sessionId = default, + global::G.OneOf? sessionName = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs index 04eecff15f..406750cc5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.CreateTenant.g.verified.cs @@ -24,6 +24,9 @@ public partial interface ITenantClient /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateTenantAsync( @@ -31,6 +34,7 @@ public partial interface ITenantClient global::System.Guid? id = default, global::G.AnyOf? organizationId = default, global::G.AnyOf? tenantHandle = default, + bool? isPersonal = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs index 8c1bff4511..8f8ae9c67c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITenantClient.ListTenants.g.verified.cs @@ -9,9 +9,13 @@ public partial interface ITenantClient /// List Tenants
/// Get all tenants visible to this auth /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListTenantsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs index 1d35d586c5..8780247b9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs @@ -24,14 +24,18 @@ public partial interface ITracerSessionsClient /// /// /// + /// + /// /// /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateFilterViewAsync( global::System.Guid sessionId, - string filterString, string displayName, + global::G.AnyOf? filterString = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs index d7e501a492..eb77037fa5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs @@ -15,9 +15,7 @@ public partial interface ITracerSessionsClient /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -43,7 +41,7 @@ public partial interface ITracerSessionsClient global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? metadata = default, global::G.AnyOf? sortByFeedbackKey = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs index dda54d1681..b6f6cf8402 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs @@ -29,6 +29,8 @@ public partial interface ITracerSessionsClient /// /// /// + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpdateFilterViewAsync( @@ -37,6 +39,8 @@ public partial interface ITracerSessionsClient global::G.AnyOf? filterString = default, global::G.AnyOf? displayName = default, global::G.AnyOf? description = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs index 720b701a46..e2dfb2f76a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs @@ -20,11 +20,15 @@ public partial interface ITtlSettingsClient /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.GetServerInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.GetServerInfo.g.verified.cs index a8ec32e8bd..94cd9eb40a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.GetServerInfo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.GetServerInfo.g.verified.cs @@ -42,22 +42,6 @@ partial void ProcessGetServerInfoResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs index 07ab70d81f..c9e11d40e8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.InfoClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class InfoClient : global::G.IInfoClient, global::System.I /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs index f083291d1e..767b5ddd45 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.LikesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class LikesClient : global::G.ILikesClient, global::System /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs index 3b4c12544b..5d1b1459c0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ModelPriceMapClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ModelPriceMapClient : global::G.IModelPriceMapClient /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyCreateResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyCreateResponse.g.verified.cs index 9ed0d53696..ffcb879ada 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyCreateResponse.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyCreateResponse.g.verified.cs @@ -41,6 +41,12 @@ public sealed partial class APIKeyCreateResponse [global::Newtonsoft.Json.JsonProperty("read_only")] public bool? ReadOnly { get; set; } = false; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("last_used_at")] + public global::G.AnyOf? LastUsedAt { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyGetResponse.g.verified.cs index 487eff6f57..881ad37c21 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyGetResponse.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.APIKeyGetResponse.g.verified.cs @@ -41,6 +41,12 @@ public sealed partial class APIKeyGetResponse [global::Newtonsoft.Json.JsonProperty("read_only")] public bool? ReadOnly { get; set; } = false; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("last_used_at")] + public global::G.AnyOf? LastUsedAt { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.AllowedLoginMethodsUpdate.g.verified.cs similarity index 57% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.AllowedLoginMethodsUpdate.g.verified.cs index d5aa992bc2..b323db3e0d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.AllowedLoginMethodsUpdate.g.verified.cs @@ -1,19 +1,19 @@ -//HintName: G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.cs +//HintName: G.Models.AllowedLoginMethodsUpdate.g.cs #nullable enable namespace G { /// - /// Base upsert TTL settings model. + /// /// - public sealed partial class UpsertOrgOrWorkspaceTTLSettingsRequest + public sealed partial class AllowedLoginMethodsUpdate { /// /// /// - [global::Newtonsoft.Json.JsonProperty("default_trace_tier", Required = global::Newtonsoft.Json.Required.Always)] - public global::G.TraceTier3 DefaultTraceTier { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("sso_only", Required = global::Newtonsoft.Json.Required.Always)] + public bool SsoOnly { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.AuthProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.AuthProvider.g.verified.cs new file mode 100644 index 0000000000..ea974b4d03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.AuthProvider.g.verified.cs @@ -0,0 +1,76 @@ +//HintName: G.Models.AuthProvider.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum AuthProvider + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="email")] + Email, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="supabase:non-sso")] + Supabase_nonSso, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="supabase:sso")] + Supabase_sso, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="oidc")] + Oidc, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="custom-oidc")] + CustomOidc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AuthProviderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AuthProvider value) + { + return value switch + { + AuthProvider.Email => "email", + AuthProvider.Supabase_nonSso => "supabase:non-sso", + AuthProvider.Supabase_sso => "supabase:sso", + AuthProvider.Oidc => "oidc", + AuthProvider.CustomOidc => "custom-oidc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AuthProvider? ToEnum(string value) + { + return value switch + { + "email" => AuthProvider.Email, + "supabase:non-sso" => AuthProvider.Supabase_nonSso, + "supabase:sso" => AuthProvider.Supabase_sso, + "oidc" => AuthProvider.Oidc, + "custom-oidc" => AuthProvider.CustomOidc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs index 0f752742d8..804b1bb60f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs @@ -17,6 +17,12 @@ public sealed partial class BasicAuthMemberCreate [global::Newtonsoft.Json.JsonProperty("user_id")] public global::G.AnyOf? UserId { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("ls_user_id")] + public global::G.AnyOf? LsUserId { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BatchIngestConfig.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BatchIngestConfig.g.verified.cs index 10f9e68f27..9936a42147 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BatchIngestConfig.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BatchIngestConfig.g.verified.cs @@ -9,6 +9,12 @@ namespace G /// public sealed partial class BatchIngestConfig { + /// + /// Default Value: true + /// + [global::Newtonsoft.Json.JsonProperty("use_multipart_endpoint")] + public bool? UseMultipartEndpoint { get; set; } = true; + /// /// Default Value: 1000 /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs index 5211d2c517..79d3ced220 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs @@ -30,7 +30,7 @@ public sealed partial class BodyCloneDatasetApiV1DatasetsClonePost public global::G.AnyOf?, object>? AsOf { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("examples")] public global::System.Collections.Generic.IList? Examples { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs new file mode 100644 index 0000000000..be4997d235 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.Models.BodyExecuteApiV1AceExecutePost.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BodyExecuteApiV1AceExecutePost + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("args", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList Args { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("code", Required = global::Newtonsoft.Json.Required.Always)] + public string Code { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs new file mode 100644 index 0000000000..37b81f13de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.BodyExecuteApiV1AceExecutePostArg.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BodyExecuteApiV1AceExecutePostArg + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs index d251788bbd..ef247705ab 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs @@ -120,16 +120,16 @@ public sealed partial class BodyParamsForRunSchema public int? Limit { get; set; } = 100; /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// [global::Newtonsoft.Json.JsonProperty("select")] public global::System.Collections.Generic.IList? Select { get; set; } /// - /// Default Value: desc + /// Enum for run start date order. /// [global::Newtonsoft.Json.JsonProperty("order")] - public global::G.RunDateOrder? Order { get; set; } = global::G.RunDateOrder.Desc; + public global::G.RunDateOrder? Order { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs index a85fbf136e..1ebb8f9572 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs @@ -36,13 +36,13 @@ public sealed partial class BodyUploadCsvDatasetApiV1DatasetsUploadPost public global::G.AnyOf? Name { get; set; } /// - /// Default Value: kv + /// Enum for dataset data types. /// [global::Newtonsoft.Json.JsonProperty("data_type")] - public global::G.DataType? DataType { get; set; } = global::G.DataType.Kv; + public global::G.DataType? DataType { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("output_keys")] public global::System.Collections.Generic.IList? OutputKeys { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExport.g.verified.cs new file mode 100644 index 0000000000..834a831855 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExport.g.verified.cs @@ -0,0 +1,92 @@ +//HintName: G.Models.BulkExport.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExport + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("bulk_export_destination_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid BulkExportDestinationId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("session_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid SessionId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("start_time", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime StartTime { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("end_time", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime EndTime { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("format")] + public global::G.BulkExportFormat? Format { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("compression")] + public global::G.BulkExportCompression? Compression { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tenant_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid TenantId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.BulkExportStatus Status { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime CreatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("updated_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime UpdatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("finished_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.AnyOf FinishedAt { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCompression.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCompression.g.verified.cs new file mode 100644 index 0000000000..452d39c8d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCompression.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.BulkExportCompression.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum BulkExportCompression + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="none")] + None, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="gzip")] + Gzip, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="snappy")] + Snappy, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportCompressionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportCompression value) + { + return value switch + { + BulkExportCompression.None => "none", + BulkExportCompression.Gzip => "gzip", + BulkExportCompression.Snappy => "snappy", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportCompression? ToEnum(string value) + { + return value switch + { + "none" => BulkExportCompression.None, + "gzip" => BulkExportCompression.Gzip, + "snappy" => BulkExportCompression.Snappy, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCreate.g.verified.cs new file mode 100644 index 0000000000..3e4ca6982c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportCreate.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.Models.BulkExportCreate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportCreate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("bulk_export_destination_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid BulkExportDestinationId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("session_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid SessionId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("start_time", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime StartTime { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("end_time", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime EndTime { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("format")] + public global::G.BulkExportFormat? Format { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("compression")] + public global::G.BulkExportCompression? Compression { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..c75bb8eae2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestination.g.verified.cs @@ -0,0 +1,66 @@ +//HintName: G.Models.BulkExportDestination.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestination + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("destination_type")] + public global::G.BulkExportDestinationType? DestinationType { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("display_name", Required = global::Newtonsoft.Json.Required.Always)] + public string DisplayName { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("config", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.BulkExportDestinationS3Config Config { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tenant_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid TenantId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime CreatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("updated_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime UpdatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("credentials_keys", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList CredentialsKeys { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs new file mode 100644 index 0000000000..0b7ccc3ad7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs @@ -0,0 +1,42 @@ +//HintName: G.Models.BulkExportDestinationCreate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestinationCreate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("destination_type")] + public global::G.BulkExportDestinationType? DestinationType { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("display_name", Required = global::Newtonsoft.Json.Required.Always)] + public string DisplayName { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("config", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.BulkExportDestinationS3Config Config { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("credentials", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.BulkExportDestinationS3Credentials Credentials { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs new file mode 100644 index 0000000000..b0fa567863 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.Models.BulkExportDestinationS3Config.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestinationS3Config + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("bucket_name", Required = global::Newtonsoft.Json.Required.Always)] + public string BucketName { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("prefix", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.AnyOf Prefix { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("region")] + public global::G.AnyOf? Region { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("endpoint_url")] + public global::G.AnyOf? EndpointUrl { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs new file mode 100644 index 0000000000..df5601ea40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.Models.BulkExportDestinationS3Credentials.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestinationS3Credentials + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("access_key_id", Required = global::Newtonsoft.Json.Required.Always)] + public string AccessKeyId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("secret_access_key", Required = global::Newtonsoft.Json.Required.Always)] + public string SecretAccessKey { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationType.g.verified.cs new file mode 100644 index 0000000000..f0d0b72ce2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportDestinationType.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.BulkExportDestinationType.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum BulkExportDestinationType + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="s3")] + S3, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportDestinationTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportDestinationType value) + { + return value switch + { + BulkExportDestinationType.S3 => "s3", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportDestinationType? ToEnum(string value) + { + return value switch + { + "s3" => BulkExportDestinationType.S3, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportFormat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportFormat.g.verified.cs new file mode 100644 index 0000000000..602313c39b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportFormat.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.BulkExportFormat.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum BulkExportFormat + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Parquet")] + Parquet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportFormat value) + { + return value switch + { + BulkExportFormat.Parquet => "Parquet", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportFormat? ToEnum(string value) + { + return value switch + { + "Parquet" => BulkExportFormat.Parquet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRun.g.verified.cs new file mode 100644 index 0000000000..86b4f0f178 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRun.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.Models.BulkExportRun.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportRun + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("bulk_export_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid BulkExportId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.BulkExportRunS3Metadata Metadata { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.BulkExportRunStatus Status { get; set; } = default!; + + /// + /// Default Value: 0 + /// + [global::Newtonsoft.Json.JsonProperty("retry_number")] + public int? RetryNumber { get; set; } = 0; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("errors")] + public global::G.AnyOf? Errors { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime CreatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("updated_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime UpdatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("finished_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.AnyOf FinishedAt { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunErrors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunErrors.g.verified.cs new file mode 100644 index 0000000000..e9400d4f06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunErrors.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.BulkExportRunErrors.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportRunErrors + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs new file mode 100644 index 0000000000..1f902bf844 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.Models.BulkExportRunS3Metadata.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportRunS3Metadata + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("prefix", Required = global::Newtonsoft.Json.Required.Always)] + public string Prefix { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("start_time", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime StartTime { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("end_time", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime EndTime { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunStatus.g.verified.cs new file mode 100644 index 0000000000..a4a6bd322a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportRunStatus.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.BulkExportRunStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum BulkExportRunStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Cancelled")] + Cancelled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Completed")] + Completed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Created")] + Created, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Failed")] + Failed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="FailedRetryable")] + FailedRetryable, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="TimedOut")] + TimedOut, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Running")] + Running, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportRunStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportRunStatus value) + { + return value switch + { + BulkExportRunStatus.Cancelled => "Cancelled", + BulkExportRunStatus.Completed => "Completed", + BulkExportRunStatus.Created => "Created", + BulkExportRunStatus.Failed => "Failed", + BulkExportRunStatus.FailedRetryable => "FailedRetryable", + BulkExportRunStatus.TimedOut => "TimedOut", + BulkExportRunStatus.Running => "Running", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportRunStatus? ToEnum(string value) + { + return value switch + { + "Cancelled" => BulkExportRunStatus.Cancelled, + "Completed" => BulkExportRunStatus.Completed, + "Created" => BulkExportRunStatus.Created, + "Failed" => BulkExportRunStatus.Failed, + "FailedRetryable" => BulkExportRunStatus.FailedRetryable, + "TimedOut" => BulkExportRunStatus.TimedOut, + "Running" => BulkExportRunStatus.Running, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportStatus.g.verified.cs new file mode 100644 index 0000000000..78ba3e8cb4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportStatus.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.BulkExportStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum BulkExportStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Cancelled")] + Cancelled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Completed")] + Completed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Created")] + Created, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Failed")] + Failed, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="FailedRetryable")] + FailedRetryable, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="TimedOut")] + TimedOut, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Running")] + Running, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportStatus value) + { + return value switch + { + BulkExportStatus.Cancelled => "Cancelled", + BulkExportStatus.Completed => "Completed", + BulkExportStatus.Created => "Created", + BulkExportStatus.Failed => "Failed", + BulkExportStatus.FailedRetryable => "FailedRetryable", + BulkExportStatus.TimedOut => "TimedOut", + BulkExportStatus.Running => "Running", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportStatus? ToEnum(string value) + { + return value switch + { + "Cancelled" => BulkExportStatus.Cancelled, + "Completed" => BulkExportStatus.Completed, + "Created" => BulkExportStatus.Created, + "Failed" => BulkExportStatus.Failed, + "FailedRetryable" => BulkExportStatus.FailedRetryable, + "TimedOut" => BulkExportStatus.TimedOut, + "Running" => BulkExportStatus.Running, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdate.g.verified.cs new file mode 100644 index 0000000000..566f06bf2e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdate.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.Models.BulkExportUpdate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportUpdate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("status")] + public global::G.BulkExportUpdateStatus Status { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs new file mode 100644 index 0000000000..be2d0697a9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.BulkExportUpdateStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum BulkExportUpdateStatus + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="Cancelled")] + Cancelled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportUpdateStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportUpdateStatus value) + { + return value switch + { + BulkExportUpdateStatus.Cancelled => "Cancelled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportUpdateStatus? ToEnum(string value) + { + return value switch + { + "Cancelled" => BulkExportUpdateStatus.Cancelled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs new file mode 100644 index 0000000000..4eb331fe8c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.Models.CodeEvaluatorTopLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeEvaluatorTopLevel + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("code", Required = global::Newtonsoft.Json.Required.Always)] + public string Code { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookups.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookups.g.verified.cs index 7581009de9..756fcf53dc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookups.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookups.g.verified.cs @@ -20,8 +20,8 @@ public sealed partial class CommitWithLookups /// /// /// - [global::Newtonsoft.Json.JsonProperty("manifest_id", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.Guid ManifestId { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("manifest", Required = global::Newtonsoft.Json.Required.Always)] + public object Manifest { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs new file mode 100644 index 0000000000..6ec78f2973 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.CommitWithLookupsManifest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CommitWithLookupsManifest + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs new file mode 100644 index 0000000000..06b495469b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequest.g.verified.cs index 0e8817e69a..4d42bf2390 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequest.g.verified.cs @@ -30,7 +30,7 @@ public sealed partial class CustomChartsRequest public global::G.AnyOf? EndTime { get; set; } /// - /// + /// Timedelta input. /// [global::Newtonsoft.Json.JsonProperty("stride")] public global::G.TimedeltaInput? Stride { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequestBase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequestBase.g.verified.cs index ab56eb3eb7..e7c39baa8b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequestBase.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsRequestBase.g.verified.cs @@ -30,7 +30,7 @@ public sealed partial class CustomChartsRequestBase public global::G.AnyOf? EndTime { get; set; } /// - /// + /// Timedelta input. /// [global::Newtonsoft.Json.JsonProperty("stride")] public global::G.TimedeltaInput? Stride { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs index 5ae6dd62b9..a5b8019329 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs @@ -38,8 +38,20 @@ public sealed partial class CustomChartsSectionResponse /// /// /// - [global::Newtonsoft.Json.JsonProperty("is_at_capacity")] - public global::G.AnyOf? IsAtCapacity { get; set; } + [global::Newtonsoft.Json.JsonProperty("chart_count")] + public global::G.AnyOf? ChartCount { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at")] + public global::G.AnyOf? CreatedAt { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("modified_at")] + public global::G.AnyOf? ModifiedAt { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Dataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Dataset.g.verified.cs index 24f5a45bcd..fa33bce85d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Dataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Dataset.g.verified.cs @@ -29,12 +29,6 @@ public sealed partial class Dataset [global::Newtonsoft.Json.JsonProperty("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::Newtonsoft.Json.JsonProperty("data_type")] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -53,6 +47,12 @@ public sealed partial class Dataset [global::Newtonsoft.Json.JsonProperty("externally_managed")] public global::G.AnyOf? ExternallyManaged { get; set; } = false; + /// + /// Default Value: kv + /// + [global::Newtonsoft.Json.JsonProperty("data_type")] + public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetCreate.g.verified.cs index 470aa3d9e9..5835bf6f87 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetCreate.g.verified.cs @@ -29,12 +29,6 @@ public sealed partial class DatasetCreate [global::Newtonsoft.Json.JsonProperty("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::Newtonsoft.Json.JsonProperty("data_type")] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -65,6 +59,12 @@ public sealed partial class DatasetCreate [global::Newtonsoft.Json.JsonProperty("extra")] public global::G.AnyOf? Extra { get; set; } + /// + /// Enum for dataset data types. + /// + [global::Newtonsoft.Json.JsonProperty("data_type")] + public global::G.DataType? DataType { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs new file mode 100644 index 0000000000..f8e2fb6f7b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetPublicSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetPublicSchema.g.verified.cs index ba1733faa6..e9d11090df 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetPublicSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetPublicSchema.g.verified.cs @@ -31,12 +31,6 @@ public sealed partial class DatasetPublicSchema [global::Newtonsoft.Json.JsonProperty("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::Newtonsoft.Json.JsonProperty("data_type")] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -55,6 +49,12 @@ public sealed partial class DatasetPublicSchema [global::Newtonsoft.Json.JsonProperty("externally_managed")] public global::G.AnyOf? ExternallyManaged { get; set; } = false; + /// + /// Default Value: kv + /// + [global::Newtonsoft.Json.JsonProperty("data_type")] + public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs index 0ca43cbdc2..d21d3abe33 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs @@ -29,12 +29,6 @@ public sealed partial class DatasetSchemaForUpdate [global::Newtonsoft.Json.JsonProperty("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::Newtonsoft.Json.JsonProperty("data_type")] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -53,6 +47,12 @@ public sealed partial class DatasetSchemaForUpdate [global::Newtonsoft.Json.JsonProperty("externally_managed")] public global::G.AnyOf? ExternallyManaged { get; set; } = false; + /// + /// Default Value: kv + /// + [global::Newtonsoft.Json.JsonProperty("data_type")] + public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs new file mode 100644 index 0000000000..4315c299b5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.ExampleRunWithFeedback.g.cs + +#nullable enable + +namespace G +{ + /// + /// An example run with feedback. + /// + public sealed partial class ExampleRunWithFeedback + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("input", Required = global::Newtonsoft.Json.Required.Always)] + public string Input { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("reference_output", Required = global::Newtonsoft.Json.Required.Always)] + public string ReferenceOutput { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("output", Required = global::Newtonsoft.Json.Required.Always)] + public string Output { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("feedback", Required = global::Newtonsoft.Json.Required.Always)] + public string Feedback { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("run_id", Required = global::Newtonsoft.Json.Required.Always)] + public string RunId { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs new file mode 100644 index 0000000000..33a5547aae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.ExecuteApiV1AceExecutePostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ExecuteApiV1AceExecutePostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterView.g.verified.cs index a8ef0f62ad..140e6f7cee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterView.g.verified.cs @@ -14,8 +14,20 @@ public sealed partial class FilterView /// /// /// - [global::Newtonsoft.Json.JsonProperty("filter_string", Required = global::Newtonsoft.Json.Required.Always)] - public string FilterString { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("filter_string")] + public global::G.AnyOf? FilterString { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("trace_filter_string")] + public global::G.AnyOf? TraceFilterString { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tree_filter_string")] + public global::G.AnyOf? TreeFilterString { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewCreate.g.verified.cs index 3ca87fbfa2..5192ca0a6f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewCreate.g.verified.cs @@ -14,8 +14,20 @@ public sealed partial class FilterViewCreate /// /// /// - [global::Newtonsoft.Json.JsonProperty("filter_string", Required = global::Newtonsoft.Json.Required.Always)] - public string FilterString { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("filter_string")] + public global::G.AnyOf? FilterString { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("trace_filter_string")] + public global::G.AnyOf? TraceFilterString { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tree_filter_string")] + public global::G.AnyOf? TreeFilterString { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewUpdate.g.verified.cs index fba21c8a4c..5b9fc94f14 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.FilterViewUpdate.g.verified.cs @@ -29,6 +29,18 @@ public sealed partial class FilterViewUpdate [global::Newtonsoft.Json.JsonProperty("description")] public global::G.AnyOf? Description { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("trace_filter_string")] + public global::G.AnyOf? TraceFilterString { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tree_filter_string")] + public global::G.AnyOf? TreeFilterString { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Identity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Identity.g.verified.cs index 6e9bb601cf..6bd9ac7f12 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Identity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Identity.g.verified.cs @@ -66,10 +66,10 @@ public sealed partial class Identity public global::G.AnyOf? RoleName { get; set; } /// - /// Default Value: workspace + /// /// [global::Newtonsoft.Json.JsonProperty("access_scope")] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs new file mode 100644 index 0000000000..65e61e04f3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs @@ -0,0 +1,55 @@ +//HintName: G.Models.ListRulesApiV1RunsRulesGetType2.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum ListRulesApiV1RunsRulesGetType2 + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="session")] + Session, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="dataset")] + Dataset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListRulesApiV1RunsRulesGetType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListRulesApiV1RunsRulesGetType2 value) + { + return value switch + { + ListRulesApiV1RunsRulesGetType2.Session => "session", + ListRulesApiV1RunsRulesGetType2.Dataset => "dataset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListRulesApiV1RunsRulesGetType2? ToEnum(string value) + { + return value switch + { + "session" => ListRulesApiV1RunsRulesGetType2.Session, + "dataset" => ListRulesApiV1RunsRulesGetType2.Dataset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MemberIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MemberIdentity.g.verified.cs index 1f74e1ea45..eecb00f1d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MemberIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MemberIdentity.g.verified.cs @@ -66,10 +66,10 @@ public sealed partial class MemberIdentity public global::G.AnyOf? RoleName { get; set; } /// - /// Default Value: workspace + /// /// [global::Newtonsoft.Json.JsonProperty("access_scope")] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MonitorRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MonitorRequest.g.verified.cs index 91d02c2bea..69f2d2c628 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MonitorRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MonitorRequest.g.verified.cs @@ -22,13 +22,13 @@ public sealed partial class MonitorRequest public global::System.Collections.Generic.IList Groups { get; set; } = default!; /// - /// + /// Timedelta input. /// [global::Newtonsoft.Json.JsonProperty("interval")] public global::G.TimedeltaInput? Interval { get; set; } /// - /// + /// Timedelta input. /// [global::Newtonsoft.Json.JsonProperty("stride")] public global::G.TimedeltaInput? Stride { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs new file mode 100644 index 0000000000..3fa09b5aed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class MultipartIngestRunsApiV1RunsMultipartPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OAuthProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OAuthProvider.g.verified.cs new file mode 100644 index 0000000000..4045b96ed0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OAuthProvider.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.OAuthProvider.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + [global::System.Runtime.Serialization.DataContract] + public enum OAuthProvider + { + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="custom-oidc")] + CustomOidc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OAuthProviderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OAuthProvider value) + { + return value switch + { + OAuthProvider.CustomOidc => "custom-oidc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OAuthProvider? ToEnum(string value) + { + return value switch + { + "custom-oidc" => OAuthProvider.CustomOidc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs new file mode 100644 index 0000000000..845f8b0882 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OauthProviderAuthApiV1OauthProviderGetResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs new file mode 100644 index 0000000000..84468fc012 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OauthProviderCallbackApiV1OauthProviderCallbackGetResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs new file mode 100644 index 0000000000..6b8dd4ba6e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OauthProviderLogoutApiV1OauthProviderLogoutGetResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequest.g.verified.cs new file mode 100644 index 0000000000..b55d1034ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequest.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.Models.OptimizePromptRequest.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Request to optimize a prompt. + /// + public sealed partial class OptimizePromptRequest + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("prompt", Required = global::Newtonsoft.Json.Required.Always)] + public string Prompt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metaprompt", Required = global::Newtonsoft.Json.Required.Always)] + public object Metaprompt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("examples", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList Examples { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("overall_feedback", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.AnyOf OverallFeedback { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs new file mode 100644 index 0000000000..d0c4d90902 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OptimizePromptRequestMetaprompt.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OptimizePromptRequestMetaprompt + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptResponse.g.verified.cs new file mode 100644 index 0000000000..a65d0f8cf6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OptimizePromptResponse.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Models.OptimizePromptResponse.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Response from optimizing a prompt. + /// + public sealed partial class OptimizePromptResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("prompt", Required = global::Newtonsoft.Json.Required.Always)] + public string Prompt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("error", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.AnyOf Error { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgFeatureFlags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgFeatureFlags.g.verified.cs index 56b7581170..258fbbfe3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgFeatureFlags.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgFeatureFlags.g.verified.cs @@ -10,11 +10,6 @@ namespace G [global::System.Runtime.Serialization.DataContract] public enum OrgFeatureFlags { - /// - /// - /// - [global::System.Runtime.Serialization.EnumMember(Value="playground_runnables")] - PlaygroundRunnables, /// /// /// @@ -83,11 +78,6 @@ public enum OrgFeatureFlags /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="consolidate_playground_comparative")] - ConsolidatePlaygroundComparative, - /// - /// - /// [global::System.Runtime.Serialization.EnumMember(Value="resource_tags")] ResourceTags, /// @@ -95,6 +85,16 @@ public enum OrgFeatureFlags /// [global::System.Runtime.Serialization.EnumMember(Value="langgraph_deploy_own_cloud_enabled")] LanggraphDeployOwnCloudEnabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="arbitrary_code_execution_enabled")] + ArbitraryCodeExecutionEnabled, + /// + /// + /// + [global::System.Runtime.Serialization.EnumMember(Value="prompt_optimization")] + PromptOptimization, } /// @@ -109,7 +109,6 @@ public static string ToValueString(this OrgFeatureFlags value) { return value switch { - OrgFeatureFlags.PlaygroundRunnables => "playground_runnables", OrgFeatureFlags.HostedLangserveEnabled => "hosted_langserve_enabled", OrgFeatureFlags.PaymentEnabled => "payment_enabled", OrgFeatureFlags.RunRulesEnabled => "run_rules_enabled", @@ -123,9 +122,10 @@ public static string ToValueString(this OrgFeatureFlags value) OrgFeatureFlags.PlaygroundComparative => "playground_comparative", OrgFeatureFlags.ShowDatasetSchemas => "show_dataset_schemas", OrgFeatureFlags.CompareTraceEnabled => "compare_trace_enabled", - OrgFeatureFlags.ConsolidatePlaygroundComparative => "consolidate_playground_comparative", OrgFeatureFlags.ResourceTags => "resource_tags", OrgFeatureFlags.LanggraphDeployOwnCloudEnabled => "langgraph_deploy_own_cloud_enabled", + OrgFeatureFlags.ArbitraryCodeExecutionEnabled => "arbitrary_code_execution_enabled", + OrgFeatureFlags.PromptOptimization => "prompt_optimization", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -136,7 +136,6 @@ public static string ToValueString(this OrgFeatureFlags value) { return value switch { - "playground_runnables" => OrgFeatureFlags.PlaygroundRunnables, "hosted_langserve_enabled" => OrgFeatureFlags.HostedLangserveEnabled, "payment_enabled" => OrgFeatureFlags.PaymentEnabled, "run_rules_enabled" => OrgFeatureFlags.RunRulesEnabled, @@ -150,9 +149,10 @@ public static string ToValueString(this OrgFeatureFlags value) "playground_comparative" => OrgFeatureFlags.PlaygroundComparative, "show_dataset_schemas" => OrgFeatureFlags.ShowDatasetSchemas, "compare_trace_enabled" => OrgFeatureFlags.CompareTraceEnabled, - "consolidate_playground_comparative" => OrgFeatureFlags.ConsolidatePlaygroundComparative, "resource_tags" => OrgFeatureFlags.ResourceTags, "langgraph_deploy_own_cloud_enabled" => OrgFeatureFlags.LanggraphDeployOwnCloudEnabled, + "arbitrary_code_execution_enabled" => OrgFeatureFlags.ArbitraryCodeExecutionEnabled, + "prompt_optimization" => OrgFeatureFlags.PromptOptimization, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgMemberIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgMemberIdentity.g.verified.cs index c9f8efafaa..bd03fa0c30 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgMemberIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgMemberIdentity.g.verified.cs @@ -66,10 +66,10 @@ public sealed partial class OrgMemberIdentity public global::G.AnyOf? RoleName { get; set; } /// - /// Default Value: workspace + /// /// [global::Newtonsoft.Json.JsonProperty("access_scope")] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// @@ -90,7 +90,7 @@ public sealed partial class OrgMemberIdentity public global::G.AnyOf? AvatarUrl { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("tenant_ids")] public global::System.Collections.Generic.IList? TenantIds { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgPendingIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgPendingIdentity.g.verified.cs index f88f182391..5b3cbed05c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgPendingIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrgPendingIdentity.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class OrgPendingIdentity public global::G.AnyOf? FullName { get; set; } /// - /// Default Value: workspace + /// /// [global::Newtonsoft.Json.JsonProperty("access_scope")] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// @@ -96,7 +96,7 @@ public sealed partial class OrgPendingIdentity public global::G.AnyOf? RoleName { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("tenant_ids")] public global::System.Collections.Generic.IList? TenantIds { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Organization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Organization.g.verified.cs index 077df5660f..fbffdfe6a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Organization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.Organization.g.verified.cs @@ -90,7 +90,7 @@ public sealed partial class Organization public bool? ReachedMaxWorkspaces { get; set; } = false; /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("permissions")] public global::System.Collections.Generic.IList? Permissions { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationConfig.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationConfig.g.verified.cs index 407ed2e774..e692fa7faa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationConfig.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationConfig.g.verified.cs @@ -71,6 +71,24 @@ public sealed partial class OrganizationConfig [global::Newtonsoft.Json.JsonProperty("max_langgraph_cloud_deployments")] public int? MaxLanggraphCloudDeployments { get; set; } = 1; + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("can_use_saml_sso")] + public bool? CanUseSamlSso { get; set; } = false; + + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("can_use_bulk_export")] + public bool? CanUseBulkExport { get; set; } = false; + + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("use_python_playground_service")] + public bool? UsePythonPlaygroundService { get; set; } = false; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationCreate.g.verified.cs new file mode 100644 index 0000000000..76a5474b64 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationCreate.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.Models.OrganizationCreate.g.cs + +#nullable enable + +namespace G +{ + /// + /// Create organization schema. + /// + public sealed partial class OrganizationCreate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("display_name", Required = global::Newtonsoft.Json.Required.Always)] + public string DisplayName { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("is_personal", Required = global::Newtonsoft.Json.Required.Always)] + public bool IsPersonal { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationInfo.g.verified.cs index e78f16056a..6bc00145a6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationInfo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationInfo.g.verified.cs @@ -48,7 +48,7 @@ public sealed partial class OrganizationInfo public bool? ReachedMaxWorkspaces { get; set; } = false; /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("permissions")] public global::System.Collections.Generic.IList? Permissions { get; set; } @@ -59,6 +59,18 @@ public sealed partial class OrganizationInfo [global::Newtonsoft.Json.JsonProperty("disabled")] public bool? Disabled { get; set; } = false; + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("sso_only")] + public bool? SsoOnly { get; set; } = false; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("sso_login_slug")] + public global::G.AnyOf? SsoLoginSlug { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs index 5fd1629ae3..4f95cfb0bc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs @@ -53,6 +53,18 @@ public sealed partial class OrganizationPGSchemaSlim [global::Newtonsoft.Json.JsonProperty("disabled", Required = global::Newtonsoft.Json.Required.Always)] public bool Disabled { get; set; } = default!; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("sso_login_slug")] + public global::G.AnyOf? SsoLoginSlug { get; set; } + + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("sso_only")] + public bool? SsoOnly { get; set; } = false; + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationUpdate.g.verified.cs new file mode 100644 index 0000000000..3cc1ec8ebe --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.OrganizationUpdate.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.Models.OrganizationUpdate.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Update organization schema. only support display_name for now. + /// + public sealed partial class OrganizationUpdate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("display_name")] + public global::G.AnyOf? DisplayName { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PendingIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PendingIdentity.g.verified.cs index 18c5e3a2f0..7a95ecfded 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PendingIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PendingIdentity.g.verified.cs @@ -54,10 +54,10 @@ public sealed partial class PendingIdentity public global::G.AnyOf? FullName { get; set; } /// - /// Default Value: workspace + /// /// [global::Newtonsoft.Json.JsonProperty("access_scope")] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs new file mode 100644 index 0000000000..a23a556351 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchema.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchema + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("manifest", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.PlaygroundRunOverDatasetRequestSchemaManifest Manifest { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("secrets", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.Dictionary Secrets { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("run_id")] + public global::G.AnyOf? RunId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("repo_id")] + public global::G.AnyOf? RepoId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tools")] + public global::G.AnyOf, object>? Tools { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tool_choice")] + public global::G.AnyOf? ToolChoice { get; set; } + + /// + /// Configuration for a Runnable. + /// + [global::Newtonsoft.Json.JsonProperty("options", Required = global::Newtonsoft.Json.Required.Always)] + public global::G.RunnableConfig Options { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("project_name")] + public global::G.AnyOf? ProjectName { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("dataset_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid DatasetId { get; set; } = default!; + + /// + /// Default Value: 1 + /// + [global::Newtonsoft.Json.JsonProperty("repetitions")] + public int? Repetitions { get; set; } = 1; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs new file mode 100644 index 0000000000..2d766a15c6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchemaManifest + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs new file mode 100644 index 0000000000..ef510d19dd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchemaSecrets + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs new file mode 100644 index 0000000000..bc44e764f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ProviderUserSlim.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ProviderUserSlim.g.verified.cs new file mode 100644 index 0000000000..bc59e8e67c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ProviderUserSlim.g.verified.cs @@ -0,0 +1,80 @@ +//HintName: G.Models.ProviderUserSlim.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ProviderUserSlim + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("provider")] + public global::G.AnyOf? Provider { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("ls_user_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid LsUserId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("saml_provider_id")] + public global::G.AnyOf? SamlProviderId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("provider_user_id")] + public global::G.AnyOf? ProviderUserId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("created_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime CreatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("updated_at", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.DateTime UpdatedAt { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("email")] + public global::G.AnyOf? Email { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("full_name")] + public global::G.AnyOf? FullName { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("email_confirmed_at")] + public global::G.AnyOf? EmailConfirmedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs index 32106fa725..6fce2f4b54 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.PutDatasetVersionsSchema.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -10,10 +12,10 @@ namespace G public sealed partial class PutDatasetVersionsSchema { /// - /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. /// [global::Newtonsoft.Json.JsonProperty("as_of", Required = global::Newtonsoft.Json.Required.Always)] - public global::System.DateTime AsOf { get; set; } = default!; + public global::G.AnyOf AsOf { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RepoWithLookups.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RepoWithLookups.g.verified.cs index 09e4c0d49d..b2535925eb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RepoWithLookups.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RepoWithLookups.g.verified.cs @@ -143,6 +143,12 @@ public sealed partial class RepoWithLookups [global::Newtonsoft.Json.JsonProperty("upstream_repo_full_name")] public global::G.AnyOf? UpstreamRepoFullName { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("latest_commit_manifest")] + public global::G.AnyOf? LatestCommitManifest { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ResourceType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ResourceType.g.verified.cs index b0119dd3b3..a9c5faa93c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ResourceType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.ResourceType.g.verified.cs @@ -43,8 +43,8 @@ public enum ResourceType /// /// /// - [global::System.Runtime.Serialization.EnumMember(Value="charts_section")] - ChartsSection, + [global::System.Runtime.Serialization.EnumMember(Value="dashboard")] + Dashboard, } /// @@ -65,7 +65,7 @@ public static string ToValueString(this ResourceType value) ResourceType.Deployment => "deployment", ResourceType.Experiment => "experiment", ResourceType.Dataset => "dataset", - ResourceType.ChartsSection => "charts_section", + ResourceType.Dashboard => "dashboard", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -82,7 +82,7 @@ public static string ToValueString(this ResourceType value) "deployment" => ResourceType.Deployment, "experiment" => ResourceType.Experiment, "dataset" => ResourceType.Dataset, - "charts_section" => ResourceType.ChartsSection, + "dashboard" => ResourceType.Dashboard, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesCreateSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesCreateSchema.g.verified.cs index 35f31b38d1..2f1d4f3b38 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesCreateSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesCreateSchema.g.verified.cs @@ -107,6 +107,12 @@ public sealed partial class RunRulesCreateSchema [global::Newtonsoft.Json.JsonProperty("evaluators")] public global::G.AnyOf, object>? Evaluators { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("code_evaluators")] + public global::G.AnyOf, object>? CodeEvaluators { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesSchema.g.verified.cs index 9796fcde15..bc9f005623 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunRulesSchema.g.verified.cs @@ -137,6 +137,12 @@ public sealed partial class RunRulesSchema [global::Newtonsoft.Json.JsonProperty("evaluators")] public global::G.AnyOf, object>? Evaluators { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("code_evaluators")] + public global::G.AnyOf, object>? CodeEvaluators { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunSelect.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunSelect.g.verified.cs index d2eecdde0c..f70af903dc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunSelect.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunSelect.g.verified.cs @@ -108,6 +108,11 @@ public enum RunSelect /// /// /// + [global::System.Runtime.Serialization.EnumMember(Value="events_or_signed_url")] + EventsOrSignedUrl, + /// + /// + /// [global::System.Runtime.Serialization.EnumMember(Value="parent_run_id")] ParentRunId, /// @@ -278,6 +283,7 @@ public static string ToValueString(this RunSelect value) RunSelect.OutputsOrSignedUrl => "outputs_or_signed_url", RunSelect.S3Urls => "s3_urls", RunSelect.ErrorOrSignedUrl => "error_or_signed_url", + RunSelect.EventsOrSignedUrl => "events_or_signed_url", RunSelect.ParentRunId => "parent_run_id", RunSelect.ManifestId => "manifest_id", RunSelect.ManifestS3Id => "manifest_s3_id", @@ -335,6 +341,7 @@ public static string ToValueString(this RunSelect value) "outputs_or_signed_url" => RunSelect.OutputsOrSignedUrl, "s3_urls" => RunSelect.S3Urls, "error_or_signed_url" => RunSelect.ErrorOrSignedUrl, + "events_or_signed_url" => RunSelect.EventsOrSignedUrl, "parent_run_id" => RunSelect.ParentRunId, "manifest_id" => RunSelect.ManifestId, "manifest_s3_id" => RunSelect.ManifestS3Id, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfig.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfig.g.verified.cs new file mode 100644 index 0000000000..12a4b7ddf9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfig.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.Models.RunnableConfig.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Configuration for a Runnable. + /// + public sealed partial class RunnableConfig + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata")] + public object? Metadata { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("callbacks")] + public global::G.AnyOf, global::G.RunnableConfigCallbacks, object>? Callbacks { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("run_name")] + public string? RunName { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("max_concurrency")] + public global::G.AnyOf? MaxConcurrency { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("recursion_limit")] + public int? RecursionLimit { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("configurable")] + public object? Configurable { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("run_id")] + public global::G.AnyOf? RunId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallback.g.verified.cs new file mode 100644 index 0000000000..c1dbefb9df --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallback.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigCallback.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigCallback + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs new file mode 100644 index 0000000000..5d9404bfaa --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigCallbacks.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigCallbacks + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs new file mode 100644 index 0000000000..e2f2b19812 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigConfigurable.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigConfigurable + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigMetadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigMetadata.g.verified.cs new file mode 100644 index 0000000000..ce046ea1de --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.RunnableConfigMetadata.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigMetadata.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigMetadata + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs new file mode 100644 index 0000000000..cfb7a5dd91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs @@ -0,0 +1,24 @@ +//HintName: G.Models.SSOConfirmEmailRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOConfirmEmailRequest + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("token", Required = global::Newtonsoft.Json.Required.Always)] + public string Token { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs new file mode 100644 index 0000000000..302e4d5501 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.Models.SSOEmailVerificationSendRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOEmailVerificationSendRequest + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("email", Required = global::Newtonsoft.Json.Required.Always)] + public string Email { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("saml_provider_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid SamlProviderId { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs new file mode 100644 index 0000000000..4d5e8ae3c2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.Models.SSOEmailVerificationStatusRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOEmailVerificationStatusRequest + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("email", Required = global::Newtonsoft.Json.Required.Always)] + public string Email { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("saml_provider_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid SamlProviderId { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs new file mode 100644 index 0000000000..45e6bd8d15 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs @@ -0,0 +1,26 @@ +//HintName: G.Models.SSOEmailVerificationStatusResponse.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOEmailVerificationStatusResponse + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("email_confirmed_at")] + public global::G.AnyOf? EmailConfirmedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProvider.g.verified.cs new file mode 100644 index 0000000000..56918b769b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProvider.g.verified.cs @@ -0,0 +1,62 @@ +//HintName: G.Models.SSOProvider.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOProvider + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid Id { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("organization_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid OrganizationId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("provider_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid ProviderId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("default_workspace_role_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid DefaultWorkspaceRoleId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("default_workspace_ids", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList DefaultWorkspaceIds { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata_url")] + public global::G.AnyOf? MetadataUrl { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata_xml")] + public global::G.AnyOf? MetadataXml { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProviderSlim.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProviderSlim.g.verified.cs new file mode 100644 index 0000000000..891e756e81 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOProviderSlim.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.Models.SSOProviderSlim.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOProviderSlim + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("provider_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid ProviderId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("organization_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid OrganizationId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("organization_display_name", Required = global::Newtonsoft.Json.Required.Always)] + public string OrganizationDisplayName { get; set; } = default!; + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreate.g.verified.cs new file mode 100644 index 0000000000..189f63246e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreate.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.Models.SSOSettingsCreate.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOSettingsCreate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("default_workspace_role_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid DefaultWorkspaceRoleId { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("default_workspace_ids", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Collections.Generic.IList DefaultWorkspaceIds { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata_xml")] + public global::G.AnyOf? MetadataXml { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata_url")] + public global::G.AnyOf? MetadataUrl { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("attribute_mapping")] + public global::System.Collections.Generic.Dictionary? AttributeMapping { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs new file mode 100644 index 0000000000..f5b802b308 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.SSOSettingsCreateAttributeMapping.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOSettingsCreateAttributeMapping + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsUpdate.g.verified.cs new file mode 100644 index 0000000000..9a528a9243 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SSOSettingsUpdate.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.Models.SSOSettingsUpdate.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOSettingsUpdate + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("default_workspace_role_id")] + public global::G.AnyOf? DefaultWorkspaceRoleId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("default_workspace_ids")] + public global::G.AnyOf, object>? DefaultWorkspaceIds { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata_url")] + public global::G.AnyOf? MetadataUrl { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("metadata_xml")] + public global::G.AnyOf? MetadataXml { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SearchDatasetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SearchDatasetRequest.g.verified.cs index aa016f7b60..d5ede5462d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SearchDatasetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SearchDatasetRequest.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.SearchDatasetRequest.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -27,6 +29,12 @@ public sealed partial class SearchDatasetRequest [global::Newtonsoft.Json.JsonProperty("debug")] public bool? Debug { get; set; } = false; + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("filter")] + public global::G.AnyOf? Filter { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs new file mode 100644 index 0000000000..63299d4796 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs new file mode 100644 index 0000000000..257910f9c7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TTLSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TTLSettings.g.verified.cs index a8277ffd9f..02113450b7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TTLSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TTLSettings.g.verified.cs @@ -23,6 +23,12 @@ public sealed partial class TTLSettings [global::Newtonsoft.Json.JsonProperty("default_trace_tier", Required = global::Newtonsoft.Json.Required.Always)] public global::G.TraceTier3 DefaultTraceTier { get; set; } = default!; + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("apply_to_all_projects")] + public bool? ApplyToAllProjects { get; set; } = false; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TaggingsByResourceType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TaggingsByResourceType.g.verified.cs index e7886a234b..c01977cc0d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TaggingsByResourceType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TaggingsByResourceType.g.verified.cs @@ -10,46 +10,46 @@ namespace G public sealed partial class TaggingsByResourceType { /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("prompts")] public global::System.Collections.Generic.IList? Prompts { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("projects")] public global::System.Collections.Generic.IList? Projects { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("queues")] public global::System.Collections.Generic.IList? Queues { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("deployments")] public global::System.Collections.Generic.IList? Deployments { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("experiments")] public global::System.Collections.Generic.IList? Experiments { get; set; } /// - /// + /// Default Value: [] /// [global::Newtonsoft.Json.JsonProperty("datasets")] public global::System.Collections.Generic.IList? Datasets { get; set; } /// - /// + /// Default Value: [] /// - [global::Newtonsoft.Json.JsonProperty("charts_sections")] - public global::System.Collections.Generic.IList? ChartsSections { get; set; } + [global::Newtonsoft.Json.JsonProperty("dashboards")] + public global::System.Collections.Generic.IList? Dashboards { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantCreate.g.verified.cs index 064c53ed1c..7f0df264a1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantCreate.g.verified.cs @@ -35,6 +35,12 @@ public sealed partial class TenantCreate [global::Newtonsoft.Json.JsonProperty("tenant_handle")] public global::G.AnyOf? TenantHandle { get; set; } + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("is_personal")] + public bool? IsPersonal { get; set; } = false; + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantStats.g.verified.cs index 68e5c56750..ad922cff8c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TenantStats.g.verified.cs @@ -42,8 +42,14 @@ public sealed partial class TenantStats /// /// /// - [global::Newtonsoft.Json.JsonProperty("charts_count", Required = global::Newtonsoft.Json.Required.Always)] - public int ChartsCount { get; set; } = default!; + [global::Newtonsoft.Json.JsonProperty("deployment_count", Required = global::Newtonsoft.Json.Required.Always)] + public int DeploymentCount { get; set; } = default!; + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("dashboards_count", Required = global::Newtonsoft.Json.Required.Always)] + public int DashboardsCount { get; set; } = default!; /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs new file mode 100644 index 0000000000..5e2f8fae7b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class TriggerRulesApiV1RunsRulesTriggerPostResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesRequest.g.verified.cs new file mode 100644 index 0000000000..a55ab319d6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.TriggerRulesRequest.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Models.TriggerRulesRequest.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class TriggerRulesRequest + { + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("rule_ids")] + public global::G.AnyOf, object>? RuleIds { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("dataset_id")] + public global::G.AnyOf? DatasetId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs new file mode 100644 index 0000000000..84ca4dc331 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::Newtonsoft.Json.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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateRunRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateRunRequest.g.verified.cs index 073dbb89a1..b21af48834 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateRunRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpdateRunRequest.g.verified.cs @@ -83,6 +83,18 @@ public sealed partial class UpdateRunRequest [global::Newtonsoft.Json.JsonProperty("output_attachments")] public global::G.OneOf? OutputAttachments { get; set; } + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("session_id")] + public global::G.OneOf? SessionId { get; set; } + + /// + /// + /// + [global::Newtonsoft.Json.JsonProperty("session_name")] + public global::G.OneOf? SessionName { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs index 5ad957c1d6..8c2879afb6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs @@ -23,6 +23,12 @@ public sealed partial class UpsertTTLSettingsRequest [global::Newtonsoft.Json.JsonProperty("default_trace_tier", Required = global::Newtonsoft.Json.Required.Always)] public global::G.TraceTier3 DefaultTraceTier { get; set; } = default!; + /// + /// Default Value: false + /// + [global::Newtonsoft.Json.JsonProperty("apply_to_all_projects")] + public bool? ApplyToAllProjects { get; set; } = false; + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UserWithPassword.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UserWithPassword.g.verified.cs index a5506a2555..edc2e1182e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UserWithPassword.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.Models.UserWithPassword.g.verified.cs @@ -20,8 +20,8 @@ public sealed partial class UserWithPassword /// /// /// - [global::Newtonsoft.Json.JsonProperty("ls_user_id")] - public global::G.AnyOf? LsUserId { get; set; } + [global::Newtonsoft.Json.JsonProperty("ls_user_id", Required = global::Newtonsoft.Json.Required.Always)] + public global::System.Guid LsUserId { get; set; } = default!; /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateOrganization.g.verified.cs new file mode 100644 index 0000000000..c7de87f44d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateOrganization.g.verified.cs @@ -0,0 +1,141 @@ +//HintName: G.OrgsClient.CreateOrganization.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareCreateOrganizationArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.OrganizationCreate request); + partial void PrepareCreateOrganizationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OrganizationCreate request); + partial void ProcessCreateOrganizationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateOrganizationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Organization + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateOrganizationAsync( + global::G.OrganizationCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateOrganizationArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateOrganizationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateOrganizationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateOrganizationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Organization + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateOrganizationAsync( + string displayName, + bool isPersonal, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.OrganizationCreate + { + DisplayName = displayName, + IsPersonal = isPersonal, + }; + + return await CreateOrganizationAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..55f4359dbc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs @@ -0,0 +1,152 @@ +//HintName: G.OrgsClient.CreateSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareCreateSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOSettingsCreate request); + partial void PrepareCreateSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOSettingsCreate request); + partial void ProcessCreateSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::G.SSOSettingsCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateSsoSettingsArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/sso-settings", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::System.Guid defaultWorkspaceRoleId, + global::System.Collections.Generic.IList defaultWorkspaceIds, + global::G.AnyOf? metadataXml = default, + global::G.AnyOf? metadataUrl = default, + global::System.Collections.Generic.Dictionary? attributeMapping = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOSettingsCreate + { + DefaultWorkspaceRoleId = defaultWorkspaceRoleId, + DefaultWorkspaceIds = defaultWorkspaceIds, + MetadataXml = metadataXml, + MetadataUrl = metadataUrl, + AttributeMapping = attributeMapping, + }; + + return await CreateSsoSettingsAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs new file mode 100644 index 0000000000..3b57c3a6ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.OrgsClient.DeleteSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareDeleteSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid id); + partial void PrepareDeleteSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid id); + partial void ProcessDeleteSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDeleteSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete Sso Settings
+ /// Delete SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DeleteSsoSettingsAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareDeleteSsoSettingsArguments( + httpClient: _httpClient, + id: ref id); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/orgs/current/sso-settings/{id}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareDeleteSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + id: id); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessDeleteSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessDeleteSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs new file mode 100644 index 0000000000..6a2d7d9055 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.OrgsClient.GetCurrentSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareGetCurrentSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetCurrentSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetCurrentSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetCurrentSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Current Sso Settings
+ /// Get SSO provider settings for the current organization. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetCurrentSsoSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetCurrentSsoSettingsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/sso-settings", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetCurrentSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetCurrentSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetCurrentSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs new file mode 100644 index 0000000000..a4334945cb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.OrgsClient.GetCurrentUserLoginMethods.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareGetCurrentUserLoginMethodsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetCurrentUserLoginMethodsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetCurrentUserLoginMethodsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetCurrentUserLoginMethodsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Current User Login Methods
+ /// Get login methods for the current user. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetCurrentUserLoginMethodsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetCurrentUserLoginMethodsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/user/login-methods", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetCurrentUserLoginMethodsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetCurrentUserLoginMethodsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetCurrentUserLoginMethodsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.ListOrganizations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.ListOrganizations.g.verified.cs index dc9b436206..62237c51f6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.ListOrganizations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.ListOrganizations.g.verified.cs @@ -7,10 +7,12 @@ namespace G public partial class OrgsClient { partial void PrepareListOrganizationsArguments( - global::System.Net.Http.HttpClient httpClient); + global::System.Net.Http.HttpClient httpClient, + ref bool? skipCreate); partial void PrepareListOrganizationsRequest( global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage); + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + bool? skipCreate); partial void ProcessListOrganizationsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -24,19 +26,27 @@ partial void ProcessListOrganizationsResponseContent( /// List Organizations
/// Get all orgs visible to this auth ///
+ /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListOrganizationsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); PrepareListOrganizationsArguments( - httpClient: _httpClient); + httpClient: _httpClient, + skipCreate: ref skipCreate); var __pathBuilder = new PathBuilder( path: "/api/v1/orgs", baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("skip_create", skipCreate?.ToString()) + ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -63,7 +73,8 @@ partial void ProcessListOrganizationsResponseContent( request: httpRequest); PrepareListOrganizationsRequest( httpClient: _httpClient, - httpRequestMessage: httpRequest); + httpRequestMessage: httpRequest, + skipCreate: skipCreate); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs new file mode 100644 index 0000000000..05305fe0e1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs @@ -0,0 +1,140 @@ +//HintName: G.OrgsClient.UpdateAllowedLoginMethods.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareUpdateAllowedLoginMethodsArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.AllowedLoginMethodsUpdate request); + partial void PrepareUpdateAllowedLoginMethodsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.AllowedLoginMethodsUpdate request); + partial void ProcessUpdateAllowedLoginMethodsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateAllowedLoginMethodsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + global::G.AllowedLoginMethodsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareUpdateAllowedLoginMethodsArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/login-methods", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUpdateAllowedLoginMethodsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUpdateAllowedLoginMethodsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUpdateAllowedLoginMethodsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + bool ssoOnly, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.AllowedLoginMethodsUpdate + { + SsoOnly = ssoOnly, + }; + + return await UpdateAllowedLoginMethodsAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..a1186a0eb6 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs @@ -0,0 +1,138 @@ +//HintName: G.OrgsClient.UpdateCurrentOrganizationInfo.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareUpdateCurrentOrganizationInfoArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.OrganizationUpdate request); + partial void PrepareUpdateCurrentOrganizationInfoRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OrganizationUpdate request); + partial void ProcessUpdateCurrentOrganizationInfoResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateCurrentOrganizationInfoResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.OrganizationUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareUpdateCurrentOrganizationInfoArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/info", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUpdateCurrentOrganizationInfoRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUpdateCurrentOrganizationInfoResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUpdateCurrentOrganizationInfoResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.AnyOf? displayName = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.OrganizationUpdate + { + DisplayName = displayName, + }; + + return await UpdateCurrentOrganizationInfoAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..ee1e32c8bb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs @@ -0,0 +1,158 @@ +//HintName: G.OrgsClient.UpdateSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareUpdateSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid id, + global::G.SSOSettingsUpdate request); + partial void PrepareUpdateSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid id, + global::G.SSOSettingsUpdate request); + partial void ProcessUpdateSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.SSOSettingsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareUpdateSsoSettingsArguments( + httpClient: _httpClient, + id: ref id, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/orgs/current/sso-settings/{id}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUpdateSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + id: id, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUpdateSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUpdateSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.AnyOf? defaultWorkspaceRoleId = default, + global::G.AnyOf, object>? defaultWorkspaceIds = default, + global::G.AnyOf? metadataUrl = default, + global::G.AnyOf? metadataXml = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOSettingsUpdate + { + DefaultWorkspaceRoleId = defaultWorkspaceRoleId, + DefaultWorkspaceIds = defaultWorkspaceIds, + MetadataUrl = metadataUrl, + MetadataXml = metadataXml, + }; + + return await UpdateSsoSettingsAsync( + id: id, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs index f13d2ca6ea..d41cb54f67 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs @@ -8,11 +8,11 @@ public partial class OrgsClient { partial void PrepareUpsertTtlSettingsArguments( global::System.Net.Http.HttpClient httpClient, - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request); + global::G.UpsertTTLSettingsRequest request); partial void PrepareUpsertTtlSettingsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request); + global::G.UpsertTTLSettingsRequest request); partial void ProcessUpsertTtlSettingsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -29,7 +29,7 @@ partial void ProcessUpsertTtlSettingsResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request, + global::G.UpsertTTLSettingsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); @@ -118,16 +118,24 @@ partial void ProcessUpsertTtlSettingsResponseContent( /// /// Upsert Ttl Settings /// + /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, + global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.UpsertOrgOrWorkspaceTTLSettingsRequest + var request = new global::G.UpsertTTLSettingsRequest { + TenantId = tenantId, DefaultTraceTier = defaultTraceTier, + ApplyToAllProjects = applyToAllProjects, }; return await UpsertTtlSettingsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs index cc6d5c714e..9d09b289e9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.OrgsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class OrgsClient : global::G.IOrgsClient, global::System.I /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs index c9b8a781c7..6c5dda2c70 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PlaygroundSettingsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PlaygroundSettingsClient : global::G.IPlaygroundSett /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.InvokePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.InvokePrompt.g.verified.cs index 00d4fe6843..2656f4f2d8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.InvokePrompt.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.InvokePrompt.g.verified.cs @@ -47,22 +47,6 @@ partial void ProcessInvokePromptResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs index d9e4c64096..db0ff21abd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PromptsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PromptsClient : global::G.IPromptsClient, global::Sy /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.CountSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.CountSharedExamples.g.verified.cs new file mode 100644 index 0000000000..e5f0cbceb7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.CountSharedExamples.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.PublicClient.CountSharedExamples.g.cs + +#nullable enable + +namespace G +{ + public partial class PublicClient + { + partial void PrepareCountSharedExamplesArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid shareToken, + ref global::G.AnyOf, object>? id, + ref global::G.AnyOf? asOf, + ref global::G.AnyOf? metadata, + ref global::G.AnyOf? filter); + partial void PrepareCountSharedExamplesRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid shareToken, + global::G.AnyOf, object>? id, + global::G.AnyOf? asOf, + global::G.AnyOf? metadata, + global::G.AnyOf? filter); + partial void ProcessCountSharedExamplesResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCountSharedExamplesResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Count Shared Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CountSharedExamplesAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCountSharedExamplesArguments( + httpClient: _httpClient, + shareToken: ref shareToken, + id: ref id, + asOf: ref asOf, + metadata: ref metadata, + filter: ref filter); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/public/{shareToken}/examples/count", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("id", id?.ToString() ?? string.Empty) + .AddOptionalParameter("as_of", asOf?.ToString() ?? string.Empty) + .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) + .AddOptionalParameter("filter", filter?.ToString() ?? string.Empty) + ; + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCountSharedExamplesRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + shareToken: shareToken, + id: id, + asOf: asOf, + metadata: metadata, + filter: filter); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCountSharedExamplesResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCountSharedExamplesResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs index 9557a493b0..5b5904d62a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessGenerateQueryForSharedDatasetRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRun.g.verified.cs index 4f9c23eba4..d5a67202c6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRun.g.verified.cs @@ -57,22 +57,6 @@ partial void ProcessGetSharedRunResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRunById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRunById.g.verified.cs index 1b6179171a..ed60dbb80c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRunById.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.GetSharedRunById.g.verified.cs @@ -62,22 +62,6 @@ partial void ProcessGetSharedRunByIdResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs index 671ddd9077..a4265c690d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessQuerySharedDatasetRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -148,10 +132,10 @@ partial void ProcessQuerySharedDatasetRunsResponseContent( /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -176,7 +160,7 @@ partial void ProcessQuerySharedDatasetRunsResponseContent( global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.BodyParamsForRunSchema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs index 0a8566ae92..9a5ee03ac5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessQuerySharedRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs index 1d5fc1d1d1..314cc12ec1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs @@ -13,7 +13,7 @@ partial void PrepareReadSharedComparativeExperimentsArguments( ref global::G.AnyOf? nameContains, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByComparativeExperimentColumn? sortBy, ref bool? sortByDesc); partial void PrepareReadSharedComparativeExperimentsRequest( global::System.Net.Http.HttpClient httpClient, @@ -23,7 +23,7 @@ partial void PrepareReadSharedComparativeExperimentsRequest( global::G.AnyOf? nameContains, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByComparativeExperimentColumn? sortBy, bool? sortByDesc); partial void ProcessReadSharedComparativeExperimentsResponse( global::System.Net.Http.HttpClient httpClient, @@ -48,7 +48,7 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -61,7 +61,7 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( global::G.AnyOf? nameContains = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default) { @@ -77,6 +77,12 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( sortBy: ref sortBy, sortByDesc: ref sortByDesc); + var sortByValue = sortBy switch + { + global::G.SortByComparativeExperimentColumn.Name => "name", + global::G.SortByComparativeExperimentColumn.CreatedAt => "created_at", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; var __pathBuilder = new PathBuilder( path: $"/api/v1/public/{shareToken}/datasets/comparative", baseUri: _httpClient.BaseAddress); @@ -85,7 +91,7 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortByValue?.ToString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -93,22 +99,6 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs index abb1bc8a39..ec4b0ef276 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs @@ -11,7 +11,7 @@ partial void PrepareReadSharedDatasetArguments( ref global::System.Guid shareToken, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByDatasetColumn? sortBy, ref bool? sortByDesc); partial void PrepareReadSharedDatasetRequest( global::System.Net.Http.HttpClient httpClient, @@ -19,7 +19,7 @@ partial void PrepareReadSharedDatasetRequest( global::System.Guid shareToken, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByDatasetColumn? sortBy, bool? sortByDesc); partial void ProcessReadSharedDatasetResponse( global::System.Net.Http.HttpClient httpClient, @@ -42,7 +42,7 @@ partial void ProcessReadSharedDatasetResponseContent( /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -53,7 +53,7 @@ partial void ProcessReadSharedDatasetResponseContent( global::System.Guid shareToken, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,13 +67,22 @@ partial void ProcessReadSharedDatasetResponseContent( sortBy: ref sortBy, sortByDesc: ref sortByDesc); + var sortByValue = sortBy switch + { + global::G.SortByDatasetColumn.Name => "name", + global::G.SortByDatasetColumn.CreatedAt => "created_at", + global::G.SortByDatasetColumn.LastSessionStartTime => "last_session_start_time", + global::G.SortByDatasetColumn.ExampleCount => "example_count", + global::G.SortByDatasetColumn.SessionCount => "session_count", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; var __pathBuilder = new PathBuilder( path: $"/api/v1/public/{shareToken}/datasets", baseUri: _httpClient.BaseAddress); __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortByValue?.ToString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -81,22 +90,6 @@ partial void ProcessReadSharedDatasetResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs index 34f988563c..2a81da0ca8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs index 4874d71b93..56ebb0152e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs @@ -113,22 +113,6 @@ partial void ProcessReadSharedDatasetFeedbackResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs index 170a34caa0..84b43f7319 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs @@ -62,22 +62,6 @@ partial void ProcessReadSharedDatasetRunResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs index 1284fa6b2b..2f18c540a3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs @@ -13,7 +13,7 @@ partial void PrepareReadSharedDatasetTracerSessionsArguments( ref global::G.AnyOf? name, ref global::G.AnyOf? nameContains, ref global::G.AnyOf? datasetVersion, - ref global::G.AllOf? sortBy, + ref global::G.SessionSortableColumns? sortBy, ref bool? sortByDesc, ref global::G.AnyOf? sortByFeedbackKey, ref int? offset, @@ -28,7 +28,7 @@ partial void PrepareReadSharedDatasetTracerSessionsRequest( global::G.AnyOf? name, global::G.AnyOf? nameContains, global::G.AnyOf? datasetVersion, - global::G.AllOf? sortBy, + global::G.SessionSortableColumns? sortBy, bool? sortByDesc, global::G.AnyOf? sortByFeedbackKey, int? offset, @@ -53,9 +53,7 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -78,7 +76,7 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? sortByFeedbackKey = default, int? offset = 0, @@ -104,6 +102,17 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( facets: ref facets, accept: ref accept); + var sortByValue = sortBy switch + { + global::G.SessionSortableColumns.Name => "name", + global::G.SessionSortableColumns.StartTime => "start_time", + global::G.SessionSortableColumns.LastRunStartTime => "last_run_start_time", + global::G.SessionSortableColumns.LatencyP50 => "latency_p50", + global::G.SessionSortableColumns.LatencyP99 => "latency_p99", + global::G.SessionSortableColumns.ErrorRate => "error_rate", + global::G.SessionSortableColumns.Feedback => "feedback", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; var __pathBuilder = new PathBuilder( path: $"/api/v1/public/{shareToken}/datasets/sessions", baseUri: _httpClient.BaseAddress); @@ -112,7 +121,7 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( .AddOptionalParameter("name", name?.ToString() ?? string.Empty) .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) .AddOptionalParameter("dataset_version", datasetVersion?.ToString() ?? string.Empty) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortByValue?.ToString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) .AddOptionalParameter("sort_by_feedback_key", sortByFeedbackKey?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) @@ -124,22 +133,6 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - if (accept != default) { httpRequest.Headers.TryAddWithoutValidation("accept", accept.ToString()); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs index f4164e7443..3844b61cef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessReadSharedDeltaResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs index 097d67cbcb..79eb708461 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs @@ -99,22 +99,6 @@ partial void ProcessReadSharedExamplesResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs index fd75de708f..c88b82b725 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs @@ -112,22 +112,6 @@ partial void ProcessReadSharedFeedbacksResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs index e5453acacf..4d3f99eea5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessStatsSharedDatasetRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs index b1d1936f69..020321ee7f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.PublicClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PublicClient : global::G.IPublicClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.ListRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.ListRepos.g.verified.cs index be194c529e..fb5ff3bbc6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.ListRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.ListRepos.g.verified.cs @@ -8,6 +8,7 @@ public partial class ReposClient { partial void PrepareListReposArguments( global::System.Net.Http.HttpClient httpClient, + ref bool? withLatestManifest, ref int? limit, ref int? offset, ref global::G.AnyOf? tenantHandle, @@ -26,6 +27,7 @@ partial void PrepareListReposArguments( partial void PrepareListReposRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + bool? withLatestManifest, int? limit, int? offset, global::G.AnyOf? tenantHandle, @@ -54,6 +56,9 @@ partial void ProcessListReposResponseContent( /// List Repos
/// Get all repos. /// + /// + /// Default Value: false + /// /// /// Default Value: 20 /// @@ -78,6 +83,7 @@ partial void ProcessListReposResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListReposAsync( + bool? withLatestManifest = false, int? limit = 20, int? offset = 0, global::G.AnyOf? tenantHandle = default, @@ -99,6 +105,7 @@ partial void ProcessListReposResponseContent( client: _httpClient); PrepareListReposArguments( httpClient: _httpClient, + withLatestManifest: ref withLatestManifest, limit: ref limit, offset: ref offset, tenantHandle: ref tenantHandle, @@ -119,6 +126,7 @@ partial void ProcessListReposResponseContent( path: "/api/v1/repos", baseUri: _httpClient.BaseAddress); __pathBuilder + .AddOptionalParameter("with_latest_manifest", withLatestManifest?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("tenant_handle", tenantHandle?.ToString() ?? string.Empty) @@ -162,6 +170,7 @@ partial void ProcessListReposResponseContent( PrepareListReposRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, + withLatestManifest: withLatestManifest, limit: limit, offset: offset, tenantHandle: tenantHandle, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.OptimizePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.OptimizePrompt.g.verified.cs new file mode 100644 index 0000000000..94a4747bec --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.OptimizePrompt.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.ReposClient.OptimizePrompt.g.cs + +#nullable enable + +namespace G +{ + public partial class ReposClient + { + partial void PrepareOptimizePromptArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.OptimizePromptRequest request); + partial void PrepareOptimizePromptRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OptimizePromptRequest request); + partial void ProcessOptimizePromptResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOptimizePromptResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OptimizePromptAsync( + global::G.OptimizePromptRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareOptimizePromptArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/repos/optimize", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOptimizePromptRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOptimizePromptResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOptimizePromptResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OptimizePromptAsync( + string prompt, + object metaprompt, + global::System.Collections.Generic.IList examples, + global::G.AnyOf overallFeedback, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.OptimizePromptRequest + { + Prompt = prompt, + Metaprompt = metaprompt, + Examples = examples, + OverallFeedback = overallFeedback, + }; + + return await OptimizePromptAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs index 2a7dabf91e..6378d2bbe5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ReposClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ReposClient : global::G.IReposClient, global::System /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.CreateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.CreateRule.g.verified.cs index 2ffc71f648..9ce5ea792a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.CreateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.CreateRule.g.verified.cs @@ -144,6 +144,7 @@ partial void ProcessCreateRuleResponseContent( /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -165,6 +166,7 @@ partial void ProcessCreateRuleResponseContent( global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -187,6 +189,7 @@ partial void ProcessCreateRuleResponseContent( AddToDatasetId = addToDatasetId, AddToDatasetPreferCorrection = addToDatasetPreferCorrection, Evaluators = evaluators, + CodeEvaluators = codeEvaluators, Alerts = alerts, Webhooks = webhooks, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.ListRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.ListRules.g.verified.cs index 540b71376f..a387e93331 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.ListRules.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.ListRules.g.verified.cs @@ -9,12 +9,16 @@ public partial class RunClient partial void PrepareListRulesArguments( global::System.Net.Http.HttpClient httpClient, ref global::G.AnyOf? datasetId, - ref global::G.AnyOf? sessionId); + ref global::G.AnyOf? sessionId, + ref global::G.AnyOf? type, + ref global::G.AnyOf? nameContains); partial void PrepareListRulesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.AnyOf? datasetId, - global::G.AnyOf? sessionId); + global::G.AnyOf? sessionId, + global::G.AnyOf? type, + global::G.AnyOf? nameContains); partial void ProcessListRulesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -30,11 +34,15 @@ partial void ProcessListRulesResponseContent( /// /// /// + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListRulesAsync( global::G.AnyOf? datasetId = default, global::G.AnyOf? sessionId = default, + global::G.AnyOf? type = default, + global::G.AnyOf? nameContains = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -42,7 +50,9 @@ partial void ProcessListRulesResponseContent( PrepareListRulesArguments( httpClient: _httpClient, datasetId: ref datasetId, - sessionId: ref sessionId); + sessionId: ref sessionId, + type: ref type, + nameContains: ref nameContains); var __pathBuilder = new PathBuilder( path: "/api/v1/runs/rules", @@ -50,6 +60,8 @@ partial void ProcessListRulesResponseContent( __pathBuilder .AddOptionalParameter("dataset_id", datasetId?.ToString() ?? string.Empty) .AddOptionalParameter("session_id", sessionId?.ToString() ?? string.Empty) + .AddOptionalParameter("type", type?.ToString() ?? string.Empty) + .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -79,7 +91,9 @@ partial void ProcessListRulesResponseContent( httpClient: _httpClient, httpRequestMessage: httpRequest, datasetId: datasetId, - sessionId: sessionId); + sessionId: sessionId, + type: type, + nameContains: nameContains); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MonitorTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MonitorTracerSession.g.verified.cs index f91d2d5ef1..a2b1e566bb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MonitorTracerSession.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MonitorTracerSession.g.verified.cs @@ -124,8 +124,12 @@ partial void ProcessMonitorTracerSessionResponseContent( /// Default Value: UTC /// /// - /// - /// + /// + /// Timedelta input. + /// + /// + /// Timedelta input. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task MonitorTracerSessionAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs new file mode 100644 index 0000000000..0e5525b438 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.RunClient.MultipartIngestRuns.g.cs + +#nullable enable + +namespace G +{ + public partial class RunClient + { + partial void PrepareMultipartIngestRunsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareMultipartIngestRunsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessMultipartIngestRunsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessMultipartIngestRunsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Multipart Ingest Runs
+ /// Batch ingest runs. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task MultipartIngestRunsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareMultipartIngestRunsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/runs/multipart", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareMultipartIngestRunsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessMultipartIngestRunsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessMultipartIngestRunsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.QueryRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.QueryRuns.g.verified.cs index b96c50876e..35f65ea956 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.QueryRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.QueryRuns.g.verified.cs @@ -139,10 +139,10 @@ partial void ProcessQueryRunsResponseContent( /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -166,7 +166,7 @@ partial void ProcessQueryRunsResponseContent( global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.BodyParamsForRunSchema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.TriggerRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.TriggerRules.g.verified.cs new file mode 100644 index 0000000000..bc52e83c03 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.TriggerRules.g.verified.cs @@ -0,0 +1,143 @@ +//HintName: G.RunClient.TriggerRules.g.cs + +#nullable enable + +namespace G +{ + public partial class RunClient + { + partial void PrepareTriggerRulesArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.TriggerRulesRequest request); + partial void PrepareTriggerRulesRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.TriggerRulesRequest request); + partial void ProcessTriggerRulesResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessTriggerRulesResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.TriggerRulesRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareTriggerRulesArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/runs/rules/trigger", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::Newtonsoft.Json.JsonConvert.SerializeObject(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareTriggerRulesRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessTriggerRulesResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync().ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessTriggerRulesResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::Newtonsoft.Json.JsonConvert.DeserializeObject(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.AnyOf, object>? ruleIds = default, + global::G.AnyOf? datasetId = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.TriggerRulesRequest + { + RuleIds = ruleIds, + DatasetId = datasetId, + }; + + return await TriggerRulesAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRule.g.verified.cs index 290051936a..226cd64dee 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRule.g.verified.cs @@ -151,6 +151,7 @@ partial void ProcessUpdateRuleResponseContent( /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -173,6 +174,7 @@ partial void ProcessUpdateRuleResponseContent( global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -195,6 +197,7 @@ partial void ProcessUpdateRuleResponseContent( AddToDatasetId = addToDatasetId, AddToDatasetPreferCorrection = addToDatasetPreferCorrection, Evaluators = evaluators, + CodeEvaluators = codeEvaluators, Alerts = alerts, Webhooks = webhooks, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRun.g.verified.cs index a3a67f2292..bf274efdf1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.UpdateRun.g.verified.cs @@ -139,6 +139,8 @@ partial void ProcessUpdateRunResponseContent( /// /// /// + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpdateRunAsync( @@ -155,6 +157,8 @@ partial void ProcessUpdateRunResponseContent( global::G.OneOf? extra = default, global::G.OneOf? inputAttachments = default, global::G.OneOf? outputAttachments = default, + global::G.OneOf? sessionId = default, + global::G.OneOf? sessionName = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.UpdateRunRequest @@ -171,6 +175,8 @@ partial void ProcessUpdateRunResponseContent( Extra = extra, InputAttachments = inputAttachments, OutputAttachments = outputAttachments, + SessionId = sessionId, + SessionName = sessionName, }; return await UpdateRunAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs index 3392c057ac..330a451f0b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.RunClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class RunClient : global::G.IRunClient, global::System.IDi /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs index 22c415f82a..c8a13bc499 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.ServiceAccountsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ServiceAccountsClient : global::G.IServiceAccountsCl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs index d03695b999..fee0bab8ca 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.SettingsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class SettingsClient : global::G.ISettingsClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.CreateTenant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.CreateTenant.g.verified.cs index 32fe77e973..a9a58439f6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.CreateTenant.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.CreateTenant.g.verified.cs @@ -124,6 +124,9 @@ partial void ProcessCreateTenantResponseContent( /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateTenantAsync( @@ -131,6 +134,7 @@ partial void ProcessCreateTenantResponseContent( global::System.Guid? id = default, global::G.AnyOf? organizationId = default, global::G.AnyOf? tenantHandle = default, + bool? isPersonal = false, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.TenantCreate @@ -139,6 +143,7 @@ partial void ProcessCreateTenantResponseContent( OrganizationId = organizationId, DisplayName = displayName, TenantHandle = tenantHandle, + IsPersonal = isPersonal, }; return await CreateTenantAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.ListTenants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.ListTenants.g.verified.cs index 42e3a7743a..15578be0a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.ListTenants.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.ListTenants.g.verified.cs @@ -7,10 +7,12 @@ namespace G public partial class TenantClient { partial void PrepareListTenantsArguments( - global::System.Net.Http.HttpClient httpClient); + global::System.Net.Http.HttpClient httpClient, + ref bool? skipCreate); partial void PrepareListTenantsRequest( global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage); + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + bool? skipCreate); partial void ProcessListTenantsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -24,19 +26,27 @@ partial void ProcessListTenantsResponseContent( /// List Tenants
/// Get all tenants visible to this auth /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListTenantsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); PrepareListTenantsArguments( - httpClient: _httpClient); + httpClient: _httpClient, + skipCreate: ref skipCreate); var __pathBuilder = new PathBuilder( path: "/api/v1/tenants", baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("skip_create", skipCreate?.ToString()) + ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -63,7 +73,8 @@ partial void ProcessListTenantsResponseContent( request: httpRequest); PrepareListTenantsRequest( httpClient: _httpClient, - httpRequestMessage: httpRequest); + httpRequestMessage: httpRequest, + skipCreate: skipCreate); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs index a730051b25..16cea8446e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TenantClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class TenantClient : global::G.ITenantClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs index cb65308d61..c055adcded 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs @@ -128,20 +128,26 @@ partial void ProcessCreateFilterViewResponseContent( /// /// /// + /// + /// /// /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateFilterViewAsync( global::System.Guid sessionId, - string filterString, string displayName, + global::G.AnyOf? filterString = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.FilterViewCreate { FilterString = filterString, + TraceFilterString = traceFilterString, + TreeFilterString = treeFilterString, DisplayName = displayName, Description = description, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs index 1f8720b8e5..6bbd686a1d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs @@ -14,7 +14,7 @@ partial void PrepareReadTracerSessionsArguments( ref global::G.AnyOf? name, ref global::G.AnyOf? nameContains, ref global::G.AnyOf? datasetVersion, - ref global::G.AllOf? sortBy, + ref global::G.SessionSortableColumns? sortBy, ref bool? sortByDesc, ref global::G.AnyOf? metadata, ref global::G.AnyOf? sortByFeedbackKey, @@ -32,7 +32,7 @@ partial void PrepareReadTracerSessionsRequest( global::G.AnyOf? name, global::G.AnyOf? nameContains, global::G.AnyOf? datasetVersion, - global::G.AllOf? sortBy, + global::G.SessionSortableColumns? sortBy, bool? sortByDesc, global::G.AnyOf? metadata, global::G.AnyOf? sortByFeedbackKey, @@ -60,9 +60,7 @@ partial void ProcessReadTracerSessionsResponseContent( /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -88,7 +86,7 @@ partial void ProcessReadTracerSessionsResponseContent( global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? metadata = default, global::G.AnyOf? sortByFeedbackKey = default, @@ -119,6 +117,17 @@ partial void ProcessReadTracerSessionsResponseContent( facets: ref facets, accept: ref accept); + var sortByValue = sortBy switch + { + global::G.SessionSortableColumns.Name => "name", + global::G.SessionSortableColumns.StartTime => "start_time", + global::G.SessionSortableColumns.LastRunStartTime => "last_run_start_time", + global::G.SessionSortableColumns.LatencyP50 => "latency_p50", + global::G.SessionSortableColumns.LatencyP99 => "latency_p99", + global::G.SessionSortableColumns.ErrorRate => "error_rate", + global::G.SessionSortableColumns.Feedback => "feedback", + _ => throw new global::System.NotImplementedException("Enum value not implemented."), + }; var __pathBuilder = new PathBuilder( path: "/api/v1/sessions", baseUri: _httpClient.BaseAddress); @@ -129,7 +138,7 @@ partial void ProcessReadTracerSessionsResponseContent( .AddOptionalParameter("name", name?.ToString() ?? string.Empty) .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) .AddOptionalParameter("dataset_version", datasetVersion?.ToString() ?? string.Empty) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortByValue?.ToString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) .AddOptionalParameter("sort_by_feedback_key", sortByFeedbackKey?.ToString() ?? string.Empty) diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs index 62e356d871..6c42cf8d19 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs @@ -137,6 +137,8 @@ partial void ProcessUpdateFilterViewResponseContent( /// /// /// + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpdateFilterViewAsync( @@ -145,6 +147,8 @@ partial void ProcessUpdateFilterViewResponseContent( global::G.AnyOf? filterString = default, global::G.AnyOf? displayName = default, global::G.AnyOf? description = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.FilterViewUpdate @@ -152,6 +156,8 @@ partial void ProcessUpdateFilterViewResponseContent( FilterString = filterString, DisplayName = displayName, Description = description, + TraceFilterString = traceFilterString, + TreeFilterString = treeFilterString, }; return await UpdateFilterViewAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs index e79408766a..9901083807 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TracerSessionsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class TracerSessionsClient : global::G.ITracerSessionsClie /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs index 4ad01825c6..49019e7631 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs @@ -120,17 +120,22 @@ partial void ProcessUpsertTtlSettingsResponseContent( /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.UpsertTTLSettingsRequest { TenantId = tenantId, DefaultTraceTier = defaultTraceTier, + ApplyToAllProjects = applyToAllProjects, }; return await UpsertTtlSettingsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs index fa2897196b..fbc5eafe7e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.TtlSettingsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class TtlSettingsClient : global::G.ITtlSettingsClient, gl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs index c4db439e1f..edde0129d7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.UsageLimitsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class UsageLimitsClient : global::G.IUsageLimitsClient, gl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.ListTagsForResource.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.ListTagsForResource.g.verified.cs index 764259fa71..75180b74da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.ListTagsForResource.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.ListTagsForResource.g.verified.cs @@ -51,7 +51,7 @@ partial void ProcessListTagsForResourceResponseContent( global::G.ResourceType.Deployment => "deployment", global::G.ResourceType.Experiment => "experiment", global::G.ResourceType.Dataset => "dataset", - global::G.ResourceType.ChartsSection => "charts_section", + global::G.ResourceType.Dashboard => "dashboard", _ => throw new global::System.NotImplementedException("Enum value not implemented."), }; var __pathBuilder = new PathBuilder( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs index 8746120e32..100702444a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/NewtonsoftJson/_#G.WorkspacesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class WorkspacesClient : global::G.IWorkspacesClient, glob /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#AllOf.1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#AllOf.1.g.verified.cs deleted file mode 100644 index 1426f1dd10..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#AllOf.1.g.verified.cs +++ /dev/null @@ -1,153 +0,0 @@ -//HintName: AllOf.1.g.cs -using System.Linq; - -#nullable enable - -namespace G -{ - /// - /// - /// - public readonly partial struct AllOf : global::System.IEquatable> - { - /// - /// - /// -#if NET6_0_OR_GREATER - public T1? Value1 { get; init; } -#else - public T1? Value1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Value1))] -#endif - public bool IsValue1 => Value1 != null; - - /// - /// - /// - public static implicit operator AllOf(T1 value) => new AllOf(value); - - /// - /// - /// - public static implicit operator T1?(AllOf @this) => @this.Value1; - - /// - /// - /// - public AllOf(T1? value) - { - Value1 = value; - } - - /// - /// - /// - public object? Object => - Value1 as object - ; - - /// - /// - /// - public bool Validate() - { - return IsValue1; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? value1 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsValue1 && value1 != null) - { - return value1(Value1!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? value1 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsValue1) - { - value1?.Invoke(Value1!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - Value1, - typeof(T1), - }; - 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 fields.Aggregate(offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(AllOf other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(Value1, other.Value1) - ; - } - - /// - /// - /// - public static bool operator ==(AllOf obj1, AllOf obj2) - { - return global::System.Collections.Generic.EqualityComparer>.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(AllOf obj1, AllOf obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is AllOf o && Equals(o); - } - } -} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.Execute.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.Execute.g.verified.cs new file mode 100644 index 0000000000..f2b0a251d1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.Execute.g.verified.cs @@ -0,0 +1,143 @@ +//HintName: G.AceClient.Execute.g.cs + +#nullable enable + +namespace G +{ + public partial class AceClient + { + partial void PrepareExecuteArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.BodyExecuteApiV1AceExecutePost request); + partial void PrepareExecuteRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.BodyExecuteApiV1AceExecutePost request); + partial void ProcessExecuteResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessExecuteResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ExecuteAsync( + global::G.BodyExecuteApiV1AceExecutePost request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareExecuteArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/ace/execute", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareExecuteRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessExecuteResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessExecuteResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ExecuteAsync( + global::System.Collections.Generic.IList args, + string code, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BodyExecuteApiV1AceExecutePost + { + Args = args, + Code = code, + }; + + return await ExecuteAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.g.verified.cs new file mode 100644 index 0000000000..a6de392157 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AceClient.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.AceClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class AceClient : global::G.IAceClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } = new global::System.Text.Json.JsonSerializerOptions(); + + + /// + /// Creates a new instance of the AceClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public AceClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs index f026c196a1..7219ee696d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AnnotationQueuesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class AnnotationQueuesClient : global::G.IAnnotationQueues /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs deleted file mode 100644 index cb24c45641..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Authorizations.ApiKeyInHeader.g.verified.cs +++ /dev/null @@ -1,28 +0,0 @@ -//HintName: G.Api.Authorizations.ApiKeyInHeader.g.cs - -#nullable enable - -namespace G -{ - public sealed partial class Api - { - /// - /// Authorize using ApiKey authentication. - /// - /// - public void AuthorizeUsingApiKeyInHeader( - string apiKey) - { - apiKey = apiKey ?? throw new global::System.ArgumentNullException(nameof(apiKey)); - - _authorizations.Clear(); - _authorizations.Add(new global::G.EndPointAuthorization - { - Type = "ApiKey", - Location = "Header", - Name = "X-API-Key", - Value = apiKey, - }); - } - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Constructors..g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Constructors..g.verified.cs deleted file mode 100644 index c6c4ff6341..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Constructors..g.verified.cs +++ /dev/null @@ -1,29 +0,0 @@ -//HintName: G.Api.Constructors..g.cs - -#nullable enable - -namespace G -{ - public sealed partial class Api - { - /// - public Api( - string apiKey, - global::System.Net.Http.HttpClient? httpClient = null, - global::System.Uri? baseUri = null, - global::System.Collections.Generic.List? authorizations = null) : this(httpClient, baseUri, authorizations) - { - Authorizing(_httpClient, ref apiKey); - - AuthorizeUsingApiKeyInHeader(apiKey); - - Authorized(_httpClient); - } - - partial void Authorizing( - global::System.Net.Http.HttpClient client, - ref string apiKey); - partial void Authorized( - global::System.Net.Http.HttpClient client); - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Ok.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Ok.g.verified.cs index 028046d419..5e72036fcb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Ok.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.Ok.g.verified.cs @@ -41,22 +41,6 @@ partial void ProcessOkResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs index ab494e52f1..9da97b7721 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Api.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; @@ -29,6 +29,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable { new global::G.JsonConverters.AccessScopeJsonConverter(), new global::G.JsonConverters.AccessScopeNullableJsonConverter(), + new global::G.JsonConverters.AuthProviderJsonConverter(), + new global::G.JsonConverters.AuthProviderNullableJsonConverter(), new global::G.JsonConverters.RunTypeEnumJsonConverter(), new global::G.JsonConverters.RunTypeEnumNullableJsonConverter(), new global::G.JsonConverters.RunsFilterDataSourceTypeEnumJsonConverter(), @@ -39,6 +41,18 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.RunDateOrderNullableJsonConverter(), new global::G.JsonConverters.DataTypeJsonConverter(), new global::G.JsonConverters.DataTypeNullableJsonConverter(), + new global::G.JsonConverters.BulkExportFormatJsonConverter(), + new global::G.JsonConverters.BulkExportFormatNullableJsonConverter(), + new global::G.JsonConverters.BulkExportCompressionJsonConverter(), + new global::G.JsonConverters.BulkExportCompressionNullableJsonConverter(), + new global::G.JsonConverters.BulkExportStatusJsonConverter(), + new global::G.JsonConverters.BulkExportStatusNullableJsonConverter(), + new global::G.JsonConverters.BulkExportDestinationTypeJsonConverter(), + new global::G.JsonConverters.BulkExportDestinationTypeNullableJsonConverter(), + new global::G.JsonConverters.BulkExportRunStatusJsonConverter(), + new global::G.JsonConverters.BulkExportRunStatusNullableJsonConverter(), + new global::G.JsonConverters.BulkExportUpdateStatusJsonConverter(), + new global::G.JsonConverters.BulkExportUpdateStatusNullableJsonConverter(), new global::G.JsonConverters.ChangePaymentPlanReqJsonConverter(), new global::G.JsonConverters.ChangePaymentPlanReqNullableJsonConverter(), new global::G.JsonConverters.ConfiguredByJsonConverter(), @@ -63,6 +77,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.TraceTier3NullableJsonConverter(), new global::G.JsonConverters.FeedbackLevelJsonConverter(), new global::G.JsonConverters.FeedbackLevelNullableJsonConverter(), + new global::G.JsonConverters.OAuthProviderJsonConverter(), + new global::G.JsonConverters.OAuthProviderNullableJsonConverter(), new global::G.JsonConverters.OrgFeatureFlagsJsonConverter(), new global::G.JsonConverters.OrgFeatureFlagsNullableJsonConverter(), new global::G.JsonConverters.OrganizationDashboardColorSchemeJsonConverter(), @@ -101,6 +117,8 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.CreateRunRequestRunTypeNullableJsonConverter(), new global::G.JsonConverters.BatchIngestRunsRequestPostItemRunTypeJsonConverter(), new global::G.JsonConverters.BatchIngestRunsRequestPostItemRunTypeNullableJsonConverter(), + new global::G.JsonConverters.ListRulesApiV1RunsRulesGetType2JsonConverter(), + new global::G.JsonConverters.ListRulesApiV1RunsRulesGetType2NullableJsonConverter(), new global::G.JsonConverters.ListReposApiV1ReposGetIsArchived2JsonConverter(), new global::G.JsonConverters.ListReposApiV1ReposGetIsArchived2NullableJsonConverter(), new global::G.JsonConverters.ListReposApiV1ReposGetIsPublic2JsonConverter(), @@ -120,7 +138,6 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable new global::G.JsonConverters.AnyOfJsonConverterFactory5(), new global::G.JsonConverters.OneOfJsonConverterFactory2(), new global::G.JsonConverters.OneOfJsonConverterFactory3(), - new global::G.JsonConverters.AllOfJsonConverterFactory1(), } }; @@ -205,6 +222,22 @@ public sealed partial class Api : global::G.IApi, global::System.IDisposable JsonSerializerOptions = JsonSerializerOptions, }; + /// + /// + /// + public AceClient Ace => new AceClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerOptions = JsonSerializerOptions, + }; + + /// + /// + /// + public BulkExportsClient BulkExports => new BulkExportsClient(_httpClient, authorizations: _authorizations) + { + JsonSerializerOptions = JsonSerializerOptions, + }; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs index 1cb028bdf4..18d156b9fe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GenerateApiKey.g.verified.cs @@ -8,11 +8,11 @@ public partial class ApiKeyClient { partial void PrepareGenerateApiKeyArguments( global::System.Net.Http.HttpClient httpClient, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void PrepareGenerateApiKeyRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void ProcessGenerateApiKeyResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -30,9 +30,11 @@ partial void ProcessGenerateApiKeyResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GenerateApiKeyAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareGenerateApiKeyArguments( @@ -118,13 +120,23 @@ partial void ProcessGenerateApiKeyResponseContent( /// Generate Api Key
/// Generate an api key for the user /// + /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GenerateApiKeyAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.AllOf + var request = new global::G.APIKeyCreateRequest { + Description = description, + ReadOnly = readOnly, }; return await GenerateApiKeyAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs index e591674f44..7bef607d4d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.GeneratePersonalAccessToken.g.verified.cs @@ -8,11 +8,11 @@ public partial class ApiKeyClient { partial void PrepareGeneratePersonalAccessTokenArguments( global::System.Net.Http.HttpClient httpClient, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void PrepareGeneratePersonalAccessTokenRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::G.AllOf request); + global::G.APIKeyCreateRequest request); partial void ProcessGeneratePersonalAccessTokenResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -30,9 +30,11 @@ partial void ProcessGeneratePersonalAccessTokenResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default) { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + PrepareArguments( client: _httpClient); PrepareGeneratePersonalAccessTokenArguments( @@ -118,13 +120,23 @@ partial void ProcessGeneratePersonalAccessTokenResponseContent( /// Generate Personal Access Token
/// Generate a Personal Access Token the user /// + /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.AllOf + var request = new global::G.APIKeyCreateRequest { + Description = description, + ReadOnly = readOnly, }; return await GeneratePersonalAccessTokenAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs index cf142b65eb..f4d0be5a9c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ApiKeyClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ApiKeyClient : global::G.IApiKeyClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs new file mode 100644 index 0000000000..e38593437e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.CheckSsoEmailVerificationStatus.g.verified.cs @@ -0,0 +1,127 @@ +//HintName: G.AuthClient.CheckSsoEmailVerificationStatus.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareCheckSsoEmailVerificationStatusArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOEmailVerificationStatusRequest request); + partial void PrepareCheckSsoEmailVerificationStatusRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOEmailVerificationStatusRequest request); + partial void ProcessCheckSsoEmailVerificationStatusResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCheckSsoEmailVerificationStatusResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + global::G.SSOEmailVerificationStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCheckSsoEmailVerificationStatusArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/sso/email-verification/status", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCheckSsoEmailVerificationStatusRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCheckSsoEmailVerificationStatusResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCheckSsoEmailVerificationStatusResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOEmailVerificationStatusRequest + { + Email = email, + SamlProviderId = samlProviderId, + }; + + return await CheckSsoEmailVerificationStatusAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs new file mode 100644 index 0000000000..cdc0712d5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.ConfirmSsoUserEmail.g.verified.cs @@ -0,0 +1,124 @@ +//HintName: G.AuthClient.ConfirmSsoUserEmail.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareConfirmSsoUserEmailArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOConfirmEmailRequest request); + partial void PrepareConfirmSsoUserEmailRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOConfirmEmailRequest request); + partial void ProcessConfirmSsoUserEmailResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessConfirmSsoUserEmailResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + global::G.SSOConfirmEmailRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareConfirmSsoUserEmailArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/sso/email-verification/confirm", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareConfirmSsoUserEmailRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessConfirmSsoUserEmailResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessConfirmSsoUserEmailResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + string token, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOConfirmEmailRequest + { + Token = token, + }; + + return await ConfirmSsoUserEmailAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.GetSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.GetSsoSettings.g.verified.cs new file mode 100644 index 0000000000..33b424672c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.GetSsoSettings.g.verified.cs @@ -0,0 +1,95 @@ +//HintName: G.AuthClient.GetSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareGetSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + ref string ssoLoginSlug); + partial void PrepareGetSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string ssoLoginSlug); + partial void ProcessGetSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Sso Settings
+ /// Get SSO provider settings from login slug. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetSsoSettingsAsync( + string ssoLoginSlug, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetSsoSettingsArguments( + httpClient: _httpClient, + ssoLoginSlug: ref ssoLoginSlug); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/sso/settings/{ssoLoginSlug}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + ssoLoginSlug: ssoLoginSlug); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.Login.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.Login.g.verified.cs index 68669aab07..0fd2ad0a26 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.Login.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.Login.g.verified.cs @@ -41,22 +41,6 @@ partial void ProcessLoginResponseContent( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs new file mode 100644 index 0000000000..0f760c7c73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderAuth.g.verified.cs @@ -0,0 +1,94 @@ +//HintName: G.AuthClient.OauthProviderAuth.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareOauthProviderAuthArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.OAuthProvider provider); + partial void PrepareOauthProviderAuthRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OAuthProvider provider); + partial void ProcessOauthProviderAuthResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOauthProviderAuthResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Oauth Provider Auth + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OauthProviderAuthAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOauthProviderAuthArguments( + httpClient: _httpClient, + provider: ref provider); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/oauth/{provider}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOauthProviderAuthRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + provider: provider); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOauthProviderAuthResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOauthProviderAuthResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs new file mode 100644 index 0000000000..cb4b232311 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderCallback.g.verified.cs @@ -0,0 +1,94 @@ +//HintName: G.AuthClient.OauthProviderCallback.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareOauthProviderCallbackArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.OAuthProvider provider); + partial void PrepareOauthProviderCallbackRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OAuthProvider provider); + partial void ProcessOauthProviderCallbackResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOauthProviderCallbackResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Oauth Provider Callback + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OauthProviderCallbackAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOauthProviderCallbackArguments( + httpClient: _httpClient, + provider: ref provider); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/oauth/{provider}/callback", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOauthProviderCallbackRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + provider: provider); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOauthProviderCallbackResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOauthProviderCallbackResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs new file mode 100644 index 0000000000..f439de83b4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.OauthProviderLogout.g.verified.cs @@ -0,0 +1,94 @@ +//HintName: G.AuthClient.OauthProviderLogout.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareOauthProviderLogoutArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.OAuthProvider provider); + partial void PrepareOauthProviderLogoutRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OAuthProvider provider); + partial void ProcessOauthProviderLogoutResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOauthProviderLogoutResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Oauth Provider Logout + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OauthProviderLogoutAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareOauthProviderLogoutArguments( + httpClient: _httpClient, + provider: ref provider); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/oauth/{provider}/logout", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOauthProviderLogoutRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + provider: provider); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOauthProviderLogoutResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOauthProviderLogoutResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs new file mode 100644 index 0000000000..082e27ab82 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.SendSsoEmailConfirmation.g.verified.cs @@ -0,0 +1,143 @@ +//HintName: G.AuthClient.SendSsoEmailConfirmation.g.cs + +#nullable enable + +namespace G +{ + public partial class AuthClient + { + partial void PrepareSendSsoEmailConfirmationArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOEmailVerificationSendRequest request); + partial void PrepareSendSsoEmailConfirmationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOEmailVerificationSendRequest request); + partial void ProcessSendSsoEmailConfirmationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessSendSsoEmailConfirmationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + global::G.SSOEmailVerificationSendRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareSendSsoEmailConfirmationArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/sso/email-verification/send", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareSendSsoEmailConfirmationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessSendSsoEmailConfirmationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessSendSsoEmailConfirmationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOEmailVerificationSendRequest + { + Email = email, + SamlProviderId = samlProviderId, + }; + + return await SendSsoEmailConfirmationAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs index f703e716b3..865d6cd549 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.AuthClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class AuthClient : global::G.IAuthClient, global::System.I /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs new file mode 100644 index 0000000000..4ec5ed5771 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CancelBulkExport.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.BulkExportsClient.CancelBulkExport.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareCancelBulkExportArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId, + global::G.BulkExportUpdate request); + partial void PrepareCancelBulkExportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId, + global::G.BulkExportUpdate request); + partial void ProcessCancelBulkExportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCancelBulkExportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCancelBulkExportArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCancelBulkExportRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCancelBulkExportResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCancelBulkExportResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdateStatus status = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BulkExportUpdate + { + Status = status, + }; + + return await CancelBulkExportAsync( + bulkExportId: bulkExportId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs new file mode 100644 index 0000000000..8da507dd02 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExport.g.verified.cs @@ -0,0 +1,155 @@ +//HintName: G.BulkExportsClient.CreateBulkExport.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareCreateBulkExportArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.BulkExportCreate request); + partial void PrepareCreateBulkExportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.BulkExportCreate request); + partial void ProcessCreateBulkExportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateBulkExportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::G.BulkExportCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateBulkExportArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateBulkExportRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateBulkExportResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateBulkExportResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::System.Guid bulkExportDestinationId, + global::System.Guid sessionId, + global::System.DateTime startTime, + global::System.DateTime endTime, + global::G.BulkExportFormat? format = default, + global::G.BulkExportCompression? compression = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BulkExportCreate + { + BulkExportDestinationId = bulkExportDestinationId, + SessionId = sessionId, + StartTime = startTime, + EndTime = endTime, + Format = format, + Compression = compression, + }; + + return await CreateBulkExportAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..ee436e6f38 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.CreateBulkExportDestination.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.BulkExportsClient.CreateBulkExportDestination.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareCreateBulkExportDestinationArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.BulkExportDestinationCreate request); + partial void PrepareCreateBulkExportDestinationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.BulkExportDestinationCreate request); + partial void ProcessCreateBulkExportDestinationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateBulkExportDestinationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + global::G.BulkExportDestinationCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateBulkExportDestinationArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports/destinations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateBulkExportDestinationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateBulkExportDestinationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateBulkExportDestinationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + string displayName, + global::G.BulkExportDestinationS3Config config, + global::G.BulkExportDestinationS3Credentials credentials, + global::G.BulkExportDestinationType? destinationType = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.BulkExportDestinationCreate + { + DestinationType = destinationType, + DisplayName = displayName, + Config = config, + Credentials = credentials, + }; + + return await CreateBulkExportDestinationAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs new file mode 100644 index 0000000000..051ba71252 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExport.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.BulkExportsClient.GetBulkExport.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId); + partial void PrepareGetBulkExportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId); + partial void ProcessGetBulkExportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export
+ /// Get a single bulk export by ID + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetBulkExportAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..93fd980e73 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestination.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.BulkExportsClient.GetBulkExportDestination.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportDestinationArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid destinationId); + partial void PrepareGetBulkExportDestinationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid destinationId); + partial void ProcessGetBulkExportDestinationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportDestinationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Destination
+ /// Get a single bulk export destination by ID + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetBulkExportDestinationAsync( + global::System.Guid destinationId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportDestinationArguments( + httpClient: _httpClient, + destinationId: ref destinationId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/destinations/{destinationId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportDestinationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + destinationId: destinationId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportDestinationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportDestinationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs new file mode 100644 index 0000000000..0d7cf1f75e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportDestinations.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.BulkExportsClient.GetBulkExportDestinations.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportDestinationsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetBulkExportDestinationsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetBulkExportDestinationsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportDestinationsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Destinations
+ /// Get the current workspace's bulk export destinations + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetBulkExportDestinationsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportDestinationsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports/destinations", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportDestinationsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportDestinationsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportDestinationsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs new file mode 100644 index 0000000000..5a46c93168 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRun.g.verified.cs @@ -0,0 +1,117 @@ +//HintName: G.BulkExportsClient.GetBulkExportRun.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportRunArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId, + ref global::System.Guid runId); + partial void PrepareGetBulkExportRunRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId, + global::System.Guid runId); + partial void ProcessGetBulkExportRunResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportRunResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Run
+ /// Get a single bulk export's run by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetBulkExportRunAsync( + global::System.Guid bulkExportId, + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportRunArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId, + runId: ref runId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}/runs/{runId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportRunRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId, + runId: runId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportRunResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportRunResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs new file mode 100644 index 0000000000..807407e28b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExportRuns.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.BulkExportsClient.GetBulkExportRuns.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportRunsArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid bulkExportId); + partial void PrepareGetBulkExportRunsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid bulkExportId); + partial void ProcessGetBulkExportRunsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportRunsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Export Runs
+ /// Get a bulk export's runs + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetBulkExportRunsAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportRunsArguments( + httpClient: _httpClient, + bulkExportId: ref bulkExportId); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/bulk-exports/{bulkExportId}/runs", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportRunsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + bulkExportId: bulkExportId); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportRunsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportRunsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs new file mode 100644 index 0000000000..453b128ff1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.GetBulkExports.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.BulkExportsClient.GetBulkExports.g.cs + +#nullable enable + +namespace G +{ + public partial class BulkExportsClient + { + partial void PrepareGetBulkExportsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetBulkExportsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetBulkExportsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetBulkExportsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Bulk Exports
+ /// Get the current workspace's bulk exports + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetBulkExportsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetBulkExportsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/bulk-exports", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetBulkExportsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetBulkExportsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetBulkExportsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.g.verified.cs new file mode 100644 index 0000000000..5ff8986527 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.BulkExportsClient.g.verified.cs @@ -0,0 +1,68 @@ +//HintName: G.BulkExportsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class BulkExportsClient : global::G.IBulkExportsClient, global::System.IDisposable + { + /// + /// + /// + public const string BaseUrl = ""; + + private readonly global::System.Net.Http.HttpClient _httpClient; + private global::System.Collections.Generic.List _authorizations; + + /// + /// + /// + public global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } = new global::System.Text.Json.JsonSerializerOptions(); + + + /// + /// Creates a new instance of the BulkExportsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// + /// + /// + public BulkExportsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null) + { + _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + _authorizations = authorizations ?? new global::System.Collections.Generic.List(); + + Initialized(_httpClient); + } + + /// + public void Dispose() + { + _httpClient.Dispose(); + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadCharts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadCharts.g.verified.cs index 72e63c6664..55bab53f4d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadCharts.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadCharts.g.verified.cs @@ -125,7 +125,9 @@ partial void ProcessReadChartsResponseContent( /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSections.g.verified.cs index 359ec14e32..a934acdbd4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSections.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSections.g.verified.cs @@ -10,13 +10,21 @@ partial void PrepareReadSectionsArguments( global::System.Net.Http.HttpClient httpClient, ref int? limit, ref int? offset, - ref global::G.AnyOf? titleContains); + ref global::G.AnyOf? titleContains, + ref global::G.AnyOf, object>? ids, + ref global::G.AnyOf? sortBy, + ref global::G.AnyOf? sortByDesc, + ref global::G.AnyOf, object>? tagValueId); partial void PrepareReadSectionsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? limit, int? offset, - global::G.AnyOf? titleContains); + global::G.AnyOf? titleContains, + global::G.AnyOf, object>? ids, + global::G.AnyOf? sortBy, + global::G.AnyOf? sortByDesc, + global::G.AnyOf, object>? tagValueId); partial void ProcessReadSectionsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -37,12 +45,24 @@ partial void ProcessReadSectionsResponseContent( /// Default Value: 0 /// /// + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ReadSectionsAsync( int? limit = 100, int? offset = 0, global::G.AnyOf? titleContains = default, + global::G.AnyOf, object>? ids = default, + global::G.AnyOf? sortBy = default, + global::G.AnyOf? sortByDesc = default, + global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -51,7 +71,11 @@ partial void ProcessReadSectionsResponseContent( httpClient: _httpClient, limit: ref limit, offset: ref offset, - titleContains: ref titleContains); + titleContains: ref titleContains, + ids: ref ids, + sortBy: ref sortBy, + sortByDesc: ref sortByDesc, + tagValueId: ref tagValueId); var __pathBuilder = new PathBuilder( path: "/api/v1/charts/section", @@ -60,6 +84,10 @@ partial void ProcessReadSectionsResponseContent( .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("title_contains", titleContains?.ToString() ?? string.Empty) + .AddOptionalParameter("ids", ids?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString() ?? string.Empty) + .AddOptionalParameter("tag_value_id", tagValueId?.ToString() ?? string.Empty) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -90,7 +118,11 @@ partial void ProcessReadSectionsResponseContent( httpRequestMessage: httpRequest, limit: limit, offset: offset, - titleContains: titleContains); + titleContains: titleContains, + ids: ids, + sortBy: sortBy, + sortByDesc: sortByDesc, + tagValueId: tagValueId); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs index 1600105d0b..262fb951d0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleChart.g.verified.cs @@ -132,7 +132,9 @@ partial void ProcessReadSingleChartResponseContent( /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs new file mode 100644 index 0000000000..5573ce1f98 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.ReadSingleSection.g.verified.cs @@ -0,0 +1,162 @@ +//HintName: G.ChartsClient.ReadSingleSection.g.cs + +#nullable enable + +namespace G +{ + public partial class ChartsClient + { + partial void PrepareReadSingleSectionArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid sectionId, + global::G.CustomChartsRequestBase request); + partial void PrepareReadSingleSectionRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid sectionId, + global::G.CustomChartsRequestBase request); + partial void ProcessReadSingleSectionResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessReadSingleSectionResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::G.CustomChartsRequestBase request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareReadSingleSectionArguments( + httpClient: _httpClient, + sectionId: ref sectionId, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/charts/section/{sectionId}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareReadSingleSectionRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + sectionId: sectionId, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessReadSingleSectionResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessReadSingleSectionResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// Default Value: UTC + /// + /// + /// + /// + /// Timedelta input. + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.TimedeltaInput? stride = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.CustomChartsRequestBase + { + Timezone = timezone, + StartTime = startTime, + EndTime = endTime, + Stride = stride, + }; + + return await ReadSingleSectionAsync( + sectionId: sectionId, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs index 03b4975530..0a32151e2a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ChartsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ChartsClient : global::G.IChartsClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs index 5c3c74fb1c..29dfa4501b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommentsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class CommentsClient : global::G.ICommentsClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs index 18f4af3432..2a83c3326f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.CommitsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class CommitsClient : global::G.ICommitsClient, global::Sy /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CloneDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CloneDataset.g.verified.cs index 092b0cb156..73148083ea 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CloneDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CloneDataset.g.verified.cs @@ -123,7 +123,9 @@ partial void ProcessCloneDatasetResponseContent( /// /// /// - /// + /// + /// Default Value: [] + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> CloneDatasetAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CreateDataset.g.verified.cs index 05b8336f2f..f38403b5b9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CreateDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.CreateDataset.g.verified.cs @@ -123,9 +123,6 @@ partial void ProcessCreateDatasetResponseContent( /// /// /// - /// - /// Default Value: kv - /// /// /// /// @@ -133,18 +130,21 @@ partial void ProcessCreateDatasetResponseContent( /// /// /// + /// + /// Enum for dataset data types. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateDatasetAsync( string name, global::G.AnyOf? description = default, global::System.DateTime? createdAt = default, - global::G.AnyOf? dataType = default, global::G.AnyOf? inputsSchemaDefinition = default, global::G.AnyOf? outputsSchemaDefinition = default, global::G.AnyOf? externallyManaged = default, global::G.AnyOf? id = default, global::G.AnyOf? extra = default, + global::G.DataType? dataType = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.DatasetCreate @@ -152,12 +152,12 @@ partial void ProcessCreateDatasetResponseContent( Name = name, Description = description, CreatedAt = createdAt, - DataType = dataType, InputsSchemaDefinition = inputsSchemaDefinition, OutputsSchemaDefinition = outputsSchemaDefinition, ExternallyManaged = externallyManaged, Id = id, Extra = extra, + DataType = dataType, }; return await CreateDatasetAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs new file mode 100644 index 0000000000..f12cea666b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.DatasetHandler.g.verified.cs @@ -0,0 +1,169 @@ +//HintName: G.DatasetsClient.DatasetHandler.g.cs + +#nullable enable + +namespace G +{ + public partial class DatasetsClient + { + partial void PrepareDatasetHandlerArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void PrepareDatasetHandlerRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void ProcessDatasetHandlerResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDatasetHandlerResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareDatasetHandlerArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/datasets/playground_experiment/batch", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareDatasetHandlerRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessDatasetHandlerResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessDatasetHandlerResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.PlaygroundRunOverDatasetRequestSchema + { + Manifest = manifest, + Secrets = secrets, + RunId = runId, + RepoId = repoId, + Tools = tools, + ToolChoice = toolChoice, + Options = options, + ProjectName = projectName, + DatasetId = datasetId, + Repetitions = repetitions, + }; + + return await DatasetHandlerAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs index 33cac58a6a..5260a9feda 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadComparativeExperiments.g.verified.cs @@ -14,7 +14,7 @@ partial void PrepareReadComparativeExperimentsArguments( ref global::G.AnyOf, object>? id, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByComparativeExperimentColumn? sortBy, ref bool? sortByDesc); partial void PrepareReadComparativeExperimentsRequest( global::System.Net.Http.HttpClient httpClient, @@ -25,7 +25,7 @@ partial void PrepareReadComparativeExperimentsRequest( global::G.AnyOf, object>? id, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByComparativeExperimentColumn? sortBy, bool? sortByDesc); partial void ProcessReadComparativeExperimentsResponse( global::System.Net.Http.HttpClient httpClient, @@ -51,7 +51,7 @@ partial void ProcessReadComparativeExperimentsResponseContent( /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -65,7 +65,7 @@ partial void ProcessReadComparativeExperimentsResponseContent( global::G.AnyOf, object>? id = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default) { @@ -91,7 +91,7 @@ partial void ProcessReadComparativeExperimentsResponseContent( .AddOptionalParameter("id", id?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToValueString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) ; var __path = __pathBuilder.ToString(); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs index f5a75e0977..b83e8ae99a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.ReadDatasets.g.verified.cs @@ -15,7 +15,7 @@ partial void PrepareReadDatasetsArguments( ref global::G.AnyOf? metadata, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByDatasetColumn? sortBy, ref bool? sortByDesc, ref global::G.AnyOf, object>? tagValueId); partial void PrepareReadDatasetsRequest( @@ -28,7 +28,7 @@ partial void PrepareReadDatasetsRequest( global::G.AnyOf? metadata, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByDatasetColumn? sortBy, bool? sortByDesc, global::G.AnyOf, object>? tagValueId); partial void ProcessReadDatasetsResponse( @@ -56,7 +56,7 @@ partial void ProcessReadDatasetsResponseContent( /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -72,7 +72,7 @@ partial void ProcessReadDatasetsResponseContent( global::G.AnyOf? metadata = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -103,7 +103,7 @@ partial void ProcessReadDatasetsResponseContent( .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToValueString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) .AddOptionalParameter("tag_value_id", tagValueId?.ToString() ?? string.Empty) ; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.Search.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.Search.g.verified.cs index 0893366834..6a6af0cc0c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.Search.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.Search.g.verified.cs @@ -134,6 +134,7 @@ partial void ProcessSearchResponseContent( /// /// Default Value: false /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task SearchAsync( @@ -141,6 +142,7 @@ partial void ProcessSearchResponseContent( object inputs, int? limit = 5, bool? debug = false, + global::G.AnyOf? filter = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.SearchDatasetRequest @@ -148,6 +150,7 @@ partial void ProcessSearchResponseContent( Inputs = inputs, Limit = limit, Debug = debug, + Filter = filter, }; return await SearchAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs new file mode 100644 index 0000000000..d8cb927422 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.StreamDatasetHandler.g.verified.cs @@ -0,0 +1,169 @@ +//HintName: G.DatasetsClient.StreamDatasetHandler.g.cs + +#nullable enable + +namespace G +{ + public partial class DatasetsClient + { + partial void PrepareStreamDatasetHandlerArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void PrepareStreamDatasetHandlerRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.PlaygroundRunOverDatasetRequestSchema request); + partial void ProcessStreamDatasetHandlerResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessStreamDatasetHandlerResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Stream Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareStreamDatasetHandlerArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/datasets/playground_experiment/stream", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareStreamDatasetHandlerRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessStreamDatasetHandlerResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessStreamDatasetHandlerResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Stream Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.PlaygroundRunOverDatasetRequestSchema + { + Manifest = manifest, + Secrets = secrets, + RunId = runId, + RepoId = repoId, + Tools = tools, + ToolChoice = toolChoice, + Options = options, + ProjectName = projectName, + DatasetId = datasetId, + Repetitions = repetitions, + }; + + return await StreamDatasetHandlerAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs index 629fdf4121..51d773f437 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UpdateDatasetVersion.g.verified.cs @@ -127,13 +127,15 @@ partial void ProcessUpdateDatasetVersionResponseContent( /// Set a tag on a dataset version. /// /// - /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( global::System.Guid datasetId, - global::System.DateTime asOf, + global::G.AnyOf asOf, string tag, global::System.Threading.CancellationToken cancellationToken = default) { diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs index 612474ccb0..68ab81297d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.UploadCsvDataset.g.verified.cs @@ -84,7 +84,7 @@ partial void ProcessUploadCsvDatasetResponseContent( content: new global::System.Net.Http.StringContent(request.Name?.Value1?.ToString() ?? request.Name?.Value2?.ToString() ?? string.Empty), name: "name"); } - if (request.DataType != global::G.DataType.Kv) + if (request.DataType != default) { __httpRequestContent.Add( content: new global::System.Net.Http.StringContent($"{request.DataType?.ToValueString()}"), @@ -158,9 +158,11 @@ partial void ProcessUploadCsvDatasetResponseContent( /// /// /// - /// Default Value: kv + /// Enum for dataset data types. + /// + /// + /// Default Value: [] /// - /// /// /// The token to cancel the operation with /// @@ -169,7 +171,7 @@ partial void ProcessUploadCsvDatasetResponseContent( string filename, global::System.Collections.Generic.IList inputKeys, global::G.AnyOf? name = default, - global::G.DataType? dataType = global::G.DataType.Kv, + global::G.DataType? dataType = default, global::System.Collections.Generic.IList? outputKeys = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs index eabaf21f46..7b22fb7b48 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.DatasetsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class DatasetsClient : global::G.IDatasetsClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs index c7573d6424..b2b4421516 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.EventsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class EventsClient : global::G.IEventsClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.CountExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.CountExamples.g.verified.cs new file mode 100644 index 0000000000..1dc05ffb08 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.CountExamples.g.verified.cs @@ -0,0 +1,159 @@ +//HintName: G.ExamplesClient.CountExamples.g.cs + +#nullable enable + +namespace G +{ + public partial class ExamplesClient + { + partial void PrepareCountExamplesArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::G.AnyOf, object>? id, + ref global::G.AnyOf? asOf, + ref global::G.AnyOf? metadata, + ref global::G.AnyOf, object>? fullTextContains, + ref global::G.AnyOf, object>? splits, + ref global::G.AnyOf? dataset, + ref global::G.AnyOf? filter); + partial void PrepareCountExamplesRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.AnyOf, object>? id, + global::G.AnyOf? asOf, + global::G.AnyOf? metadata, + global::G.AnyOf, object>? fullTextContains, + global::G.AnyOf, object>? splits, + global::G.AnyOf? dataset, + global::G.AnyOf? filter); + partial void ProcessCountExamplesResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCountExamplesResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Count Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CountExamplesAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, object>? fullTextContains = default, + global::G.AnyOf, object>? splits = default, + global::G.AnyOf? dataset = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCountExamplesArguments( + httpClient: _httpClient, + id: ref id, + asOf: ref asOf, + metadata: ref metadata, + fullTextContains: ref fullTextContains, + splits: ref splits, + dataset: ref dataset, + filter: ref filter); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/examples/count", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("id", id?.ToString() ?? string.Empty) + .AddOptionalParameter("as_of", asOf?.ToString() ?? string.Empty) + .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) + .AddOptionalParameter("full_text_contains", fullTextContains?.ToString() ?? string.Empty) + .AddOptionalParameter("splits", splits?.ToString() ?? string.Empty) + .AddOptionalParameter("dataset", dataset?.ToString() ?? string.Empty) + .AddOptionalParameter("filter", filter?.ToString() ?? string.Empty) + ; + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCountExamplesRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + id: id, + asOf: asOf, + metadata: metadata, + fullTextContains: fullTextContains, + splits: splits, + dataset: dataset, + filter: filter); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCountExamplesResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCountExamplesResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.ReadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.ReadExamples.g.verified.cs index 6fb371ae12..9777e013c8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.ReadExamples.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.ReadExamples.g.verified.cs @@ -16,7 +16,7 @@ partial void PrepareReadExamplesArguments( ref global::G.AnyOf? dataset, ref int? offset, ref int? limit, - ref global::G.AllOf? order, + ref global::G.ExampleListOrder? order, ref global::G.AnyOf? randomSeed, global::System.Collections.Generic.IList? select, ref global::G.AnyOf? filter); @@ -31,7 +31,7 @@ partial void PrepareReadExamplesRequest( global::G.AnyOf? dataset, int? offset, int? limit, - global::G.AllOf? order, + global::G.ExampleListOrder? order, global::G.AnyOf? randomSeed, global::System.Collections.Generic.IList? select, global::G.AnyOf? filter); @@ -63,9 +63,7 @@ partial void ProcessReadExamplesResponseContent( /// /// Default Value: 100 /// - /// - /// Default Value: recent - /// + /// /// /// /// Default Value: [id, created_at, modified_at, name, dataset_id, source_run_id, metadata, inputs, outputs] @@ -82,7 +80,7 @@ partial void ProcessReadExamplesResponseContent( global::G.AnyOf? dataset = default, int? offset = 0, int? limit = 100, - global::G.AllOf? order = default, + global::G.ExampleListOrder? order = default, global::G.AnyOf? randomSeed = default, global::System.Collections.Generic.IList? select = default, global::G.AnyOf? filter = default, @@ -117,7 +115,7 @@ partial void ProcessReadExamplesResponseContent( .AddOptionalParameter("dataset", dataset?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("order", order?.ToString() ?? string.Empty) + .AddOptionalParameter("order", order?.ToValueString()) .AddOptionalParameter("random_seed", randomSeed?.ToString() ?? string.Empty) .AddOptionalParameter("filter", filter?.ToString() ?? string.Empty) ; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs index 4dfc21bef7..e55882ebaa 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ExamplesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ExamplesClient : global::G.IExamplesClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs index f159a4da91..85f80d7d2e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenGet.g.verified.cs @@ -73,22 +73,6 @@ partial void ProcessCreateFeedbackWithTokenGetResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs index bee12f7e99..301d7b5d7b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.CreateFeedbackWithTokenPost.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessCreateFeedbackWithTokenPostResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs index 94ab7e7d4e..cea08051c7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class FeedbackClient : global::G.IFeedbackClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs index e33821325c..e1149c643c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.FeedbackConfigsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class FeedbackConfigsClient : global::G.IFeedbackConfigsCl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.Execute.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.Execute.g.verified.cs new file mode 100644 index 0000000000..54bce8abb4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.Execute.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAceClient.Execute.g.cs +#nullable enable + +namespace G +{ + public partial interface IAceClient + { + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExecuteAsync( + global::G.BodyExecuteApiV1AceExecutePost request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Execute
+ /// Execute some custom code for testing purposes. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ExecuteAsync( + global::System.Collections.Generic.IList args, + string code, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.g.verified.cs new file mode 100644 index 0000000000..32ff0de315 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAceClient.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IAceClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IAceClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs index 5d44d735de..30cd377255 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApi.g.verified.cs @@ -66,6 +66,16 @@ public partial interface IApi : global::System.IDisposable /// public AnnotationQueuesClient AnnotationQueues { get; } + /// + /// + /// + public AceClient Ace { get; } + + /// + /// + /// + public BulkExportsClient BulkExports { get; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs index 4fbb3527d5..9da10b9bfd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GenerateApiKey.g.verified.cs @@ -13,16 +13,24 @@ public partial interface IApiKeyClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GenerateApiKeyAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Generate Api Key
/// Generate an api key for the user ///
+ /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GenerateApiKeyAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs index 2df9829dc1..73cab35940 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IApiKeyClient.GeneratePersonalAccessToken.g.verified.cs @@ -13,16 +13,24 @@ public partial interface IApiKeyClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( - global::G.AllOf request, + global::G.APIKeyCreateRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Generate Personal Access Token
/// Generate a Personal Access Token the user ///
+ /// + /// Default Value: Default API key + /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task GeneratePersonalAccessTokenAsync( + string? description = "Default API key", + bool? readOnly = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs new file mode 100644 index 0000000000..ab17214b5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.CheckSsoEmailVerificationStatus.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAuthClient.CheckSsoEmailVerificationStatus.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + global::G.SSOEmailVerificationStatusRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Check Sso Email Verification Status
+ /// Retrieve the email verification status of an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CheckSsoEmailVerificationStatusAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs new file mode 100644 index 0000000000..e321ca0ea8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.ConfirmSsoUserEmail.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IAuthClient.ConfirmSsoUserEmail.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + global::G.SSOConfirmEmailRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Confirm Sso User Email
+ /// Confirm the email of an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ConfirmSsoUserEmailAsync( + string token, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs new file mode 100644 index 0000000000..4ac3a5ebcb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.GetSsoSettings.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IAuthClient.GetSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Get Sso Settings
+ /// Get SSO provider settings from login slug. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetSsoSettingsAsync( + string ssoLoginSlug, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs new file mode 100644 index 0000000000..7f549ea16b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderAuth.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAuthClient.OauthProviderAuth.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Oauth Provider Auth + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OauthProviderAuthAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs new file mode 100644 index 0000000000..eee3c48005 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderCallback.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAuthClient.OauthProviderCallback.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Oauth Provider Callback + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OauthProviderCallbackAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs new file mode 100644 index 0000000000..99a0ae6a37 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.OauthProviderLogout.g.verified.cs @@ -0,0 +1,18 @@ +//HintName: G.IAuthClient.OauthProviderLogout.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Oauth Provider Logout + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OauthProviderLogoutAsync( + global::G.OAuthProvider provider = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs new file mode 100644 index 0000000000..12e14228bd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IAuthClient.SendSsoEmailConfirmation.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IAuthClient.SendSsoEmailConfirmation.g.cs +#nullable enable + +namespace G +{ + public partial interface IAuthClient + { + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + global::G.SSOEmailVerificationSendRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Send Sso Email Confirmation
+ /// Send an email to confirm the email address for an SSO user. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task SendSsoEmailConfirmationAsync( + string email, + global::System.Guid samlProviderId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs new file mode 100644 index 0000000000..b15efd8f2f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CancelBulkExport.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IBulkExportsClient.CancelBulkExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Cancel Bulk Export
+ /// Cancel a bulk export by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CancelBulkExportAsync( + global::System.Guid bulkExportId, + global::G.BulkExportUpdateStatus status = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs new file mode 100644 index 0000000000..5b611ddb10 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExport.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IBulkExportsClient.CreateBulkExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::G.BulkExportCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Bulk Export
+ /// Create a new bulk export + ///
+ /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportAsync( + global::System.Guid bulkExportDestinationId, + global::System.Guid sessionId, + global::System.DateTime startTime, + global::System.DateTime endTime, + global::G.BulkExportFormat? format = default, + global::G.BulkExportCompression? compression = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..c3c511a0ca --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.CreateBulkExportDestination.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IBulkExportsClient.CreateBulkExportDestination.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + global::G.BulkExportDestinationCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Bulk Export Destination
+ /// Create a new bulk export destination + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateBulkExportDestinationAsync( + string displayName, + global::G.BulkExportDestinationS3Config config, + global::G.BulkExportDestinationS3Credentials credentials, + global::G.BulkExportDestinationType? destinationType = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs new file mode 100644 index 0000000000..2e1328fc0f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExport.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IBulkExportsClient.GetBulkExport.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export
+ /// Get a single bulk export by ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBulkExportAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..1e3210065a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestination.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IBulkExportsClient.GetBulkExportDestination.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Destination
+ /// Get a single bulk export destination by ID + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBulkExportDestinationAsync( + global::System.Guid destinationId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs new file mode 100644 index 0000000000..163204de8e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportDestinations.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IBulkExportsClient.GetBulkExportDestinations.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Destinations
+ /// Get the current workspace's bulk export destinations + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetBulkExportDestinationsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs new file mode 100644 index 0000000000..0a89ed35b2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRun.g.verified.cs @@ -0,0 +1,21 @@ +//HintName: G.IBulkExportsClient.GetBulkExportRun.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Run
+ /// Get a single bulk export's run by ID + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetBulkExportRunAsync( + global::System.Guid bulkExportId, + global::System.Guid runId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs new file mode 100644 index 0000000000..82421285bf --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExportRuns.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IBulkExportsClient.GetBulkExportRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Export Runs
+ /// Get a bulk export's runs + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetBulkExportRunsAsync( + global::System.Guid bulkExportId, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs new file mode 100644 index 0000000000..5b449cdec4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.GetBulkExports.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IBulkExportsClient.GetBulkExports.g.cs +#nullable enable + +namespace G +{ + public partial interface IBulkExportsClient + { + /// + /// Get Bulk Exports
+ /// Get the current workspace's bulk exports + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetBulkExportsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.g.verified.cs new file mode 100644 index 0000000000..edd19d04a1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IBulkExportsClient.g.verified.cs @@ -0,0 +1,20 @@ +//HintName: G.IBulkExportsClient.g.cs + +#nullable enable + +namespace G +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBulkExportsClient : global::System.IDisposable + { + /// + /// + /// + global::System.Text.Json.JsonSerializerOptions JsonSerializerOptions { get; set; } + + + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs index 12dcc08512..8af09fd3b1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadCharts.g.verified.cs @@ -25,7 +25,9 @@ public partial interface IChartsClient /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs index f99616f656..30250bb875 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSections.g.verified.cs @@ -16,12 +16,24 @@ public partial interface IChartsClient /// Default Value: 0 /// /// + /// + /// + /// Default Value: created_at + /// + /// + /// Default Value: true + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ReadSectionsAsync( int? limit = 100, int? offset = 0, global::G.AnyOf? titleContains = default, + global::G.AnyOf, object>? ids = default, + global::G.AnyOf? sortBy = default, + global::G.AnyOf? sortByDesc = default, + global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs index 1d2f597972..ffdd6f38da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleChart.g.verified.cs @@ -28,7 +28,9 @@ public partial interface IChartsClient /// /// /// - /// + /// + /// Timedelta input. + /// /// /// /// The token to cancel the operation with diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs new file mode 100644 index 0000000000..cd4f613e94 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IChartsClient.ReadSingleSection.g.verified.cs @@ -0,0 +1,44 @@ +//HintName: G.IChartsClient.ReadSingleSection.g.cs +#nullable enable + +namespace G +{ + public partial interface IChartsClient + { + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::G.CustomChartsRequestBase request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Read Single Section
+ /// Get a single section by ID. + ///
+ /// + /// + /// Default Value: UTC + /// + /// + /// + /// + /// Timedelta input. + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ReadSingleSectionAsync( + global::System.Guid sectionId, + global::System.DateTime startTime, + string? timezone = "UTC", + global::G.AnyOf? endTime = default, + global::G.TimedeltaInput? stride = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs index 6d25d07081..3057e00815 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CloneDataset.g.verified.cs @@ -23,7 +23,9 @@ public partial interface IDatasetsClient /// /// /// - /// + /// + /// Default Value: [] + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> CloneDatasetAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs index db1877e0a1..1b382aad37 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.CreateDataset.g.verified.cs @@ -23,9 +23,6 @@ public partial interface IDatasetsClient /// /// /// - /// - /// Default Value: kv - /// /// /// /// @@ -33,18 +30,21 @@ public partial interface IDatasetsClient /// /// /// + /// + /// Enum for dataset data types. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateDatasetAsync( string name, global::G.AnyOf? description = default, global::System.DateTime? createdAt = default, - global::G.AnyOf? dataType = default, global::G.AnyOf? inputsSchemaDefinition = default, global::G.AnyOf? outputsSchemaDefinition = default, global::G.AnyOf? externallyManaged = default, global::G.AnyOf? id = default, global::G.AnyOf? extra = default, + global::G.DataType? dataType = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs new file mode 100644 index 0000000000..0c86be3382 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.DatasetHandler.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.DatasetHandler.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs index 5bfc920a50..84e39004cd 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadComparativeExperiments.g.verified.cs @@ -20,7 +20,7 @@ public partial interface IDatasetsClient /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -34,7 +34,7 @@ public partial interface IDatasetsClient global::G.AnyOf, object>? id = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs index 00259868b1..7b1d92c770 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.ReadDatasets.g.verified.cs @@ -21,7 +21,7 @@ public partial interface IDatasetsClient /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -37,7 +37,7 @@ public partial interface IDatasetsClient global::G.AnyOf? metadata = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::G.AnyOf, object>? tagValueId = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs index 426f152f79..a1acc61941 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.Search.g.verified.cs @@ -30,6 +30,7 @@ public partial interface IDatasetsClient /// /// Default Value: false /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task SearchAsync( @@ -37,6 +38,7 @@ public partial interface IDatasetsClient object inputs, int? limit = 5, bool? debug = false, + global::G.AnyOf? filter = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs new file mode 100644 index 0000000000..770cf7f331 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.StreamDatasetHandler.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: G.IDatasetsClient.StreamDatasetHandler.g.cs +#nullable enable + +namespace G +{ + public partial interface IDatasetsClient + { + /// + /// Stream Dataset Handler + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchema request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Stream Dataset Handler + /// + /// + /// + /// + /// + /// + /// + /// + /// Configuration for a Runnable. + /// + /// + /// + /// + /// Default Value: 1 + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task StreamDatasetHandlerAsync( + global::G.PlaygroundRunOverDatasetRequestSchemaManifest manifest, + global::System.Collections.Generic.Dictionary secrets, + global::G.RunnableConfig options, + global::System.Guid datasetId, + global::G.AnyOf? runId = default, + global::G.AnyOf? repoId = default, + global::G.AnyOf, object>? tools = default, + global::G.AnyOf? toolChoice = default, + global::G.AnyOf? projectName = default, + int? repetitions = 1, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs index 6c6e9289c4..62ae057913 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UpdateDatasetVersion.g.verified.cs @@ -23,13 +23,15 @@ public partial interface IDatasetsClient /// Set a tag on a dataset version. /// /// - /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. + /// /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpdateDatasetVersionAsync( global::System.Guid datasetId, - global::System.DateTime asOf, + global::G.AnyOf asOf, string tag, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs index 162537d8fe..ca10fad57b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IDatasetsClient.UploadCsvDataset.g.verified.cs @@ -25,9 +25,11 @@ public partial interface IDatasetsClient /// /// /// - /// Default Value: kv + /// Enum for dataset data types. + /// + /// + /// Default Value: [] /// - /// /// /// The token to cancel the operation with /// @@ -36,7 +38,7 @@ public partial interface IDatasetsClient string filename, global::System.Collections.Generic.IList inputKeys, global::G.AnyOf? name = default, - global::G.DataType? dataType = global::G.DataType.Kv, + global::G.DataType? dataType = default, global::System.Collections.Generic.IList? outputKeys = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CountExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CountExamples.g.verified.cs new file mode 100644 index 0000000000..dff77f8c25 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.CountExamples.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.IExamplesClient.CountExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IExamplesClient + { + /// + /// Count Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CountExamplesAsync( + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf, object>? fullTextContains = default, + global::G.AnyOf, object>? splits = default, + global::G.AnyOf? dataset = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs index 08260d8422..fdd9932427 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IExamplesClient.ReadExamples.g.verified.cs @@ -24,9 +24,7 @@ public partial interface IExamplesClient /// /// Default Value: 100 /// - /// - /// Default Value: recent - /// + /// /// /// /// Default Value: [id, created_at, modified_at, name, dataset_id, source_run_id, metadata, inputs, outputs] @@ -43,7 +41,7 @@ public partial interface IExamplesClient global::G.AnyOf? dataset = default, int? offset = 0, int? limit = 100, - global::G.AllOf? order = default, + global::G.ExampleListOrder? order = default, global::G.AnyOf? randomSeed = default, global::System.Collections.Generic.IList? select = default, global::G.AnyOf? filter = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs new file mode 100644 index 0000000000..696d2d813a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateOrganization.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.CreateOrganization.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Organization + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationAsync( + global::G.OrganizationCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Organization + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateOrganizationAsync( + string displayName, + bool isPersonal, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..d05086d6f2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.CreateSsoSettings.g.verified.cs @@ -0,0 +1,38 @@ +//HintName: G.IOrgsClient.CreateSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::G.SSOSettingsCreate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::System.Guid defaultWorkspaceRoleId, + global::System.Collections.Generic.IList defaultWorkspaceIds, + global::G.AnyOf? metadataXml = default, + global::G.AnyOf? metadataUrl = default, + global::System.Collections.Generic.Dictionary? attributeMapping = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs new file mode 100644 index 0000000000..5c045972e1 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.DeleteSsoSettings.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.IOrgsClient.DeleteSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Delete Sso Settings
+ /// Delete SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task DeleteSsoSettingsAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs new file mode 100644 index 0000000000..f90cf6f448 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentSsoSettings.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.GetCurrentSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current Sso Settings
+ /// Get SSO provider settings for the current organization. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetCurrentSsoSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs new file mode 100644 index 0000000000..44f4cba7e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.GetCurrentUserLoginMethods.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IOrgsClient.GetCurrentUserLoginMethods.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Get Current User Login Methods
+ /// Get login methods for the current user. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetCurrentUserLoginMethodsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs index 9dd8eba011..01d9b8ce1b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.ListOrganizations.g.verified.cs @@ -9,9 +9,13 @@ public partial interface IOrgsClient /// List Organizations
/// Get all orgs visible to this auth /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListOrganizationsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs new file mode 100644 index 0000000000..8a975cac90 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateAllowedLoginMethods.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IOrgsClient.UpdateAllowedLoginMethods.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + global::G.AllowedLoginMethodsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + bool ssoOnly, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..9579118f9d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs @@ -0,0 +1,28 @@ +//HintName: G.IOrgsClient.UpdateCurrentOrganizationInfo.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.OrganizationUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.AnyOf? displayName = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..bc935fa93a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpdateSsoSettings.g.verified.cs @@ -0,0 +1,40 @@ +//HintName: G.IOrgsClient.UpdateSsoSettings.g.cs +#nullable enable + +namespace G +{ + public partial interface IOrgsClient + { + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.SSOSettingsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.AnyOf? defaultWorkspaceRoleId = default, + global::G.AnyOf, object>? defaultWorkspaceIds = default, + global::G.AnyOf? metadataUrl = default, + global::G.AnyOf? metadataXml = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs index cdb3881d8b..81c3da8079 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IOrgsClient.UpsertTtlSettings.g.verified.cs @@ -12,17 +12,23 @@ public partial interface IOrgsClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request, + global::G.UpsertTTLSettingsRequest request, global::System.Threading.CancellationToken cancellationToken = default); /// /// Upsert Ttl Settings /// + /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, + global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs new file mode 100644 index 0000000000..8c0c384c6d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.CountSharedExamples.g.verified.cs @@ -0,0 +1,30 @@ +//HintName: G.IPublicClient.CountSharedExamples.g.cs +#nullable enable + +namespace G +{ + public partial interface IPublicClient + { + /// + /// Count Shared Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CountSharedExamplesAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs index 59f9f13a2b..2ccffb67c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.QuerySharedDatasetRuns.g.verified.cs @@ -44,10 +44,10 @@ public partial interface IPublicClient /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -72,7 +72,7 @@ public partial interface IPublicClient global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs index 81aab7ecf1..da11739866 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedComparativeExperiments.g.verified.cs @@ -19,7 +19,7 @@ public partial interface IPublicClient /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -32,7 +32,7 @@ public partial interface IPublicClient global::G.AnyOf? nameContains = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs index 7e1873ebc4..a3f13df70e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDataset.g.verified.cs @@ -17,7 +17,7 @@ public partial interface IPublicClient /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -28,7 +28,7 @@ public partial interface IPublicClient global::System.Guid shareToken, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs index aacb2add79..84c3ee7f98 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IPublicClient.ReadSharedDatasetTracerSessions.g.verified.cs @@ -14,9 +14,7 @@ public partial interface IPublicClient /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -39,7 +37,7 @@ public partial interface IPublicClient global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? sortByFeedbackKey = default, int? offset = 0, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs index f4ccb68172..7a9c0a024f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.ListRepos.g.verified.cs @@ -9,6 +9,9 @@ public partial interface IReposClient /// List Repos
/// Get all repos. /// + /// + /// Default Value: false + /// /// /// Default Value: 20 /// @@ -33,6 +36,7 @@ public partial interface IReposClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ListReposAsync( + bool? withLatestManifest = false, int? limit = 20, int? offset = 0, global::G.AnyOf? tenantHandle = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.OptimizePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.OptimizePrompt.g.verified.cs new file mode 100644 index 0000000000..9876a4527d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IReposClient.OptimizePrompt.g.verified.cs @@ -0,0 +1,36 @@ +//HintName: G.IReposClient.OptimizePrompt.g.cs +#nullable enable + +namespace G +{ + public partial interface IReposClient + { + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OptimizePromptAsync( + global::G.OptimizePromptRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task OptimizePromptAsync( + string prompt, + object metaprompt, + global::System.Collections.Generic.IList examples, + global::G.AnyOf overallFeedback, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs index 8201eb7684..c5febf3896 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.CreateRule.g.verified.cs @@ -44,6 +44,7 @@ public partial interface IRunClient /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -65,6 +66,7 @@ public partial interface IRunClient global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs index 68f307ccf6..0b87775725 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.ListRules.g.verified.cs @@ -11,11 +11,15 @@ public partial interface IRunClient /// /// /// + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListRulesAsync( global::G.AnyOf? datasetId = default, global::G.AnyOf? sessionId = default, + global::G.AnyOf? type = default, + global::G.AnyOf? nameContains = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs index 4880fbb946..824e1636ff 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MonitorTracerSession.g.verified.cs @@ -24,8 +24,12 @@ public partial interface IRunClient /// Default Value: UTC /// /// - /// - /// + /// + /// Timedelta input. + /// + /// + /// Timedelta input. + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task MonitorTracerSessionAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs new file mode 100644 index 0000000000..f9f19065a0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.MultipartIngestRuns.g.verified.cs @@ -0,0 +1,17 @@ +//HintName: G.IRunClient.MultipartIngestRuns.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Multipart Ingest Runs
+ /// Batch ingest runs. + ///
+ /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task MultipartIngestRunsAsync( + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs index feef2e4ce4..569517a839 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.QueryRuns.g.verified.cs @@ -39,10 +39,10 @@ public partial interface IRunClient /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -66,7 +66,7 @@ public partial interface IRunClient global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRules.g.verified.cs new file mode 100644 index 0000000000..5514e07d01 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.TriggerRules.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.IRunClient.TriggerRules.g.cs +#nullable enable + +namespace G +{ + public partial interface IRunClient + { + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.TriggerRulesRequest request, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.AnyOf, object>? ruleIds = default, + global::G.AnyOf? datasetId = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs index 80a5a1dd80..f14f1824ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRule.g.verified.cs @@ -47,6 +47,7 @@ public partial interface IRunClient /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -69,6 +70,7 @@ public partial interface IRunClient global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs index 2b608d5658..ecfd604309 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.IRunClient.UpdateRun.g.verified.cs @@ -35,6 +35,8 @@ public partial interface IRunClient /// /// /// + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpdateRunAsync( @@ -51,6 +53,8 @@ public partial interface IRunClient global::G.OneOf? extra = default, global::G.OneOf? inputAttachments = default, global::G.OneOf? outputAttachments = default, + global::G.OneOf? sessionId = default, + global::G.OneOf? sessionName = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs index 04eecff15f..406750cc5f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.CreateTenant.g.verified.cs @@ -24,6 +24,9 @@ public partial interface ITenantClient /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateTenantAsync( @@ -31,6 +34,7 @@ public partial interface ITenantClient global::System.Guid? id = default, global::G.AnyOf? organizationId = default, global::G.AnyOf? tenantHandle = default, + bool? isPersonal = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs index 8c1bff4511..8f8ae9c67c 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITenantClient.ListTenants.g.verified.cs @@ -9,9 +9,13 @@ public partial interface ITenantClient /// List Tenants
/// Get all tenants visible to this auth /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task> ListTenantsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs index 1d35d586c5..8780247b9a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.CreateFilterView.g.verified.cs @@ -24,14 +24,18 @@ public partial interface ITracerSessionsClient /// /// /// + /// + /// /// /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task CreateFilterViewAsync( global::System.Guid sessionId, - string filterString, string displayName, + global::G.AnyOf? filterString = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs index d7e501a492..eb77037fa5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.ReadTracerSessions.g.verified.cs @@ -15,9 +15,7 @@ public partial interface ITracerSessionsClient /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -43,7 +41,7 @@ public partial interface ITracerSessionsClient global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? metadata = default, global::G.AnyOf? sortByFeedbackKey = default, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs index dda54d1681..b6f6cf8402 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITracerSessionsClient.UpdateFilterView.g.verified.cs @@ -29,6 +29,8 @@ public partial interface ITracerSessionsClient /// /// /// + /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpdateFilterViewAsync( @@ -37,6 +39,8 @@ public partial interface ITracerSessionsClient global::G.AnyOf? filterString = default, global::G.AnyOf? displayName = default, global::G.AnyOf? description = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs index 720b701a46..e2dfb2f76a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ITtlSettingsClient.UpsertTtlSettings.g.verified.cs @@ -20,11 +20,15 @@ public partial interface ITtlSettingsClient /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.GetServerInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.GetServerInfo.g.verified.cs index 34e98e0fee..f37d942435 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.GetServerInfo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.GetServerInfo.g.verified.cs @@ -42,22 +42,6 @@ partial void ProcessGetServerInfoResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs index 91ec9dcb1b..7828dee678 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.InfoClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class InfoClient : global::G.IInfoClient, global::System.I /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs index 80424d6585..1b193b67c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.LikesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class LikesClient : global::G.ILikesClient, global::System /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs index 801782acd6..f6b564a3ae 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ModelPriceMapClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ModelPriceMapClient : global::G.IModelPriceMapClient /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyCreateResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyCreateResponse.g.verified.cs index 5955edc8f2..e4cf46c7e7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyCreateResponse.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyCreateResponse.g.verified.cs @@ -45,6 +45,13 @@ public sealed partial class APIKeyCreateResponse [global::System.Text.Json.Serialization.JsonPropertyName("read_only")] public bool? ReadOnly { get; set; } = false; + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_used_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? LastUsedAt { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyGetResponse.g.verified.cs index 97f74b9bb7..2661d1e183 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyGetResponse.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.APIKeyGetResponse.g.verified.cs @@ -45,6 +45,13 @@ public sealed partial class APIKeyGetResponse [global::System.Text.Json.Serialization.JsonPropertyName("read_only")] public bool? ReadOnly { get; set; } = false; + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_used_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? LastUsedAt { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AllowedLoginMethodsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AllowedLoginMethodsUpdate.g.verified.cs new file mode 100644 index 0000000000..60b691fbd3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AllowedLoginMethodsUpdate.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.Models.AllowedLoginMethodsUpdate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class AllowedLoginMethodsUpdate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sso_only")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool SsoOnly { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AuthProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AuthProvider.g.verified.cs new file mode 100644 index 0000000000..ff97ec25ea --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.AuthProvider.g.verified.cs @@ -0,0 +1,70 @@ +//HintName: G.Models.AuthProvider.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum AuthProvider + { + /// + /// + /// + Email, + /// + /// + /// + Supabase_nonSso, + /// + /// + /// + Supabase_sso, + /// + /// + /// + Oidc, + /// + /// + /// + CustomOidc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class AuthProviderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this AuthProvider value) + { + return value switch + { + AuthProvider.Email => "email", + AuthProvider.Supabase_nonSso => "supabase:non-sso", + AuthProvider.Supabase_sso => "supabase:sso", + AuthProvider.Oidc => "oidc", + AuthProvider.CustomOidc => "custom-oidc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static AuthProvider? ToEnum(string value) + { + return value switch + { + "email" => AuthProvider.Email, + "supabase:non-sso" => AuthProvider.Supabase_nonSso, + "supabase:sso" => AuthProvider.Supabase_sso, + "oidc" => AuthProvider.Oidc, + "custom-oidc" => AuthProvider.CustomOidc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs index 522b47666c..8578137b48 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BasicAuthMemberCreate.g.verified.cs @@ -18,6 +18,13 @@ public sealed partial class BasicAuthMemberCreate [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? UserId { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ls_user_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? LsUserId { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BatchIngestConfig.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BatchIngestConfig.g.verified.cs index b9469d52c6..2d932951f0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BatchIngestConfig.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BatchIngestConfig.g.verified.cs @@ -9,6 +9,12 @@ namespace G /// public sealed partial class BatchIngestConfig { + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_multipart_endpoint")] + public bool? UseMultipartEndpoint { get; set; } = true; + /// /// Default Value: 1000 /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs index c0f14b9969..2dec1e3336 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyCloneDatasetApiV1DatasetsClonePost.g.verified.cs @@ -33,7 +33,7 @@ public sealed partial class BodyCloneDatasetApiV1DatasetsClonePost public global::G.AnyOf?, object>? AsOf { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("examples")] public global::System.Collections.Generic.IList? Examples { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs new file mode 100644 index 0000000000..807242cad9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePost.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Models.BodyExecuteApiV1AceExecutePost.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BodyExecuteApiV1AceExecutePost + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("args")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Args { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Code { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs new file mode 100644 index 0000000000..d93c926d06 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyExecuteApiV1AceExecutePostArg.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.BodyExecuteApiV1AceExecutePostArg.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BodyExecuteApiV1AceExecutePostArg + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs index 3544287eb7..110677ad3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyParamsForRunSchema.g.verified.cs @@ -137,17 +137,17 @@ public sealed partial class BodyParamsForRunSchema public int? Limit { get; set; } = 100; /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// [global::System.Text.Json.Serialization.JsonPropertyName("select")] public global::System.Collections.Generic.IList? Select { get; set; } /// - /// Default Value: desc + /// Enum for run start date order. /// [global::System.Text.Json.Serialization.JsonPropertyName("order")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.RunDateOrderJsonConverter))] - public global::G.RunDateOrder? Order { get; set; } = global::G.RunDateOrder.Desc; + public global::G.RunDateOrder? Order { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs index 3b676c20d0..2d75b12085 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BodyUploadCsvDatasetApiV1DatasetsUploadPost.g.verified.cs @@ -40,14 +40,14 @@ public sealed partial class BodyUploadCsvDatasetApiV1DatasetsUploadPost public global::G.AnyOf? Name { get; set; } /// - /// Default Value: kv + /// Enum for dataset data types. /// [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.DataTypeJsonConverter))] - public global::G.DataType? DataType { get; set; } = global::G.DataType.Kv; + public global::G.DataType? DataType { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("output_keys")] public global::System.Collections.Generic.IList? OutputKeys { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExport.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExport.g.verified.cs new file mode 100644 index 0000000000..c4defb8afd --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExport.g.verified.cs @@ -0,0 +1,106 @@ +//HintName: G.Models.BulkExport.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExport + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bulk_export_destination_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid BulkExportDestinationId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid SessionId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_time")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime StartTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_time")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime EndTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportFormatJsonConverter))] + public global::G.BulkExportFormat? Format { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("compression")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportCompressionJsonConverter))] + public global::G.BulkExportCompression? Compression { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tenant_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid TenantId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.BulkExportStatus Status { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("finished_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.AnyOf FinishedAt { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCompression.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCompression.g.verified.cs new file mode 100644 index 0000000000..1348775c91 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCompression.g.verified.cs @@ -0,0 +1,58 @@ +//HintName: G.Models.BulkExportCompression.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum BulkExportCompression + { + /// + /// + /// + None, + /// + /// + /// + Gzip, + /// + /// + /// + Snappy, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportCompressionExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportCompression value) + { + return value switch + { + BulkExportCompression.None => "none", + BulkExportCompression.Gzip => "gzip", + BulkExportCompression.Snappy => "snappy", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportCompression? ToEnum(string value) + { + return value switch + { + "none" => BulkExportCompression.None, + "gzip" => BulkExportCompression.Gzip, + "snappy" => BulkExportCompression.Snappy, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCreate.g.verified.cs new file mode 100644 index 0000000000..1e096d31e3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportCreate.g.verified.cs @@ -0,0 +1,60 @@ +//HintName: G.Models.BulkExportCreate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportCreate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bulk_export_destination_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid BulkExportDestinationId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid SessionId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_time")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime StartTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_time")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime EndTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("format")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportFormatJsonConverter))] + public global::G.BulkExportFormat? Format { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("compression")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportCompressionJsonConverter))] + public global::G.BulkExportCompression? Compression { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestination.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestination.g.verified.cs new file mode 100644 index 0000000000..d5aab61319 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestination.g.verified.cs @@ -0,0 +1,74 @@ +//HintName: G.Models.BulkExportDestination.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestination + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("destination_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportDestinationTypeJsonConverter))] + public global::G.BulkExportDestinationType? DestinationType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DisplayName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("config")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.BulkExportDestinationS3Config Config { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tenant_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid TenantId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("credentials_keys")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList CredentialsKeys { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs new file mode 100644 index 0000000000..febe7415d8 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationCreate.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.BulkExportDestinationCreate.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestinationCreate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("destination_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportDestinationTypeJsonConverter))] + public global::G.BulkExportDestinationType? DestinationType { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DisplayName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("config")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.BulkExportDestinationS3Config Config { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("credentials")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.BulkExportDestinationS3Credentials Credentials { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs new file mode 100644 index 0000000000..ddf5b98b64 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Config.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.Models.BulkExportDestinationS3Config.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestinationS3Config + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bucket_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string BucketName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.AnyOf Prefix { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("region")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? Region { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("endpoint_url")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? EndpointUrl { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs new file mode 100644 index 0000000000..1e489c92ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationS3Credentials.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Models.BulkExportDestinationS3Credentials.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportDestinationS3Credentials + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("access_key_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string AccessKeyId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secret_access_key")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string SecretAccessKey { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationType.g.verified.cs new file mode 100644 index 0000000000..944874bbc9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportDestinationType.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.BulkExportDestinationType.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum BulkExportDestinationType + { + /// + /// + /// + S3, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportDestinationTypeExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportDestinationType value) + { + return value switch + { + BulkExportDestinationType.S3 => "s3", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportDestinationType? ToEnum(string value) + { + return value switch + { + "s3" => BulkExportDestinationType.S3, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportFormat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportFormat.g.verified.cs new file mode 100644 index 0000000000..8f54c78a1a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportFormat.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.BulkExportFormat.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum BulkExportFormat + { + /// + /// + /// + Parquet, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportFormatExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportFormat value) + { + return value switch + { + BulkExportFormat.Parquet => "Parquet", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportFormat? ToEnum(string value) + { + return value switch + { + "Parquet" => BulkExportFormat.Parquet, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRun.g.verified.cs new file mode 100644 index 0000000000..4464907ce3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRun.g.verified.cs @@ -0,0 +1,84 @@ +//HintName: G.Models.BulkExportRun.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportRun + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bulk_export_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid BulkExportId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.BulkExportRunS3Metadata Metadata { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportRunStatusJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.BulkExportRunStatus Status { get; set; } + + /// + /// Default Value: 0 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("retry_number")] + public int? RetryNumber { get; set; } = 0; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("errors")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? Errors { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("finished_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.AnyOf FinishedAt { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunErrors.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunErrors.g.verified.cs new file mode 100644 index 0000000000..5985597a4e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunErrors.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.BulkExportRunErrors.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportRunErrors + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs new file mode 100644 index 0000000000..99cccad99f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunS3Metadata.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.Models.BulkExportRunS3Metadata.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class BulkExportRunS3Metadata + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Prefix { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("start_time")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime StartTime { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("end_time")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime EndTime { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunStatus.g.verified.cs new file mode 100644 index 0000000000..ce215af77b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportRunStatus.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.BulkExportRunStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum BulkExportRunStatus + { + /// + /// + /// + Cancelled, + /// + /// + /// + Completed, + /// + /// + /// + Created, + /// + /// + /// + Failed, + /// + /// + /// + FailedRetryable, + /// + /// + /// + TimedOut, + /// + /// + /// + Running, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportRunStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportRunStatus value) + { + return value switch + { + BulkExportRunStatus.Cancelled => "Cancelled", + BulkExportRunStatus.Completed => "Completed", + BulkExportRunStatus.Created => "Created", + BulkExportRunStatus.Failed => "Failed", + BulkExportRunStatus.FailedRetryable => "FailedRetryable", + BulkExportRunStatus.TimedOut => "TimedOut", + BulkExportRunStatus.Running => "Running", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportRunStatus? ToEnum(string value) + { + return value switch + { + "Cancelled" => BulkExportRunStatus.Cancelled, + "Completed" => BulkExportRunStatus.Completed, + "Created" => BulkExportRunStatus.Created, + "Failed" => BulkExportRunStatus.Failed, + "FailedRetryable" => BulkExportRunStatus.FailedRetryable, + "TimedOut" => BulkExportRunStatus.TimedOut, + "Running" => BulkExportRunStatus.Running, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportStatus.g.verified.cs new file mode 100644 index 0000000000..8e70a9e8a3 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportStatus.g.verified.cs @@ -0,0 +1,82 @@ +//HintName: G.Models.BulkExportStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum BulkExportStatus + { + /// + /// + /// + Cancelled, + /// + /// + /// + Completed, + /// + /// + /// + Created, + /// + /// + /// + Failed, + /// + /// + /// + FailedRetryable, + /// + /// + /// + TimedOut, + /// + /// + /// + Running, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportStatus value) + { + return value switch + { + BulkExportStatus.Cancelled => "Cancelled", + BulkExportStatus.Completed => "Completed", + BulkExportStatus.Created => "Created", + BulkExportStatus.Failed => "Failed", + BulkExportStatus.FailedRetryable => "FailedRetryable", + BulkExportStatus.TimedOut => "TimedOut", + BulkExportStatus.Running => "Running", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportStatus? ToEnum(string value) + { + return value switch + { + "Cancelled" => BulkExportStatus.Cancelled, + "Completed" => BulkExportStatus.Completed, + "Created" => BulkExportStatus.Created, + "Failed" => BulkExportStatus.Failed, + "FailedRetryable" => BulkExportStatus.FailedRetryable, + "TimedOut" => BulkExportStatus.TimedOut, + "Running" => BulkExportStatus.Running, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportUpdate.g.verified.cs similarity index 61% rename from src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs rename to src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportUpdate.g.verified.cs index 20046e82b6..b768d0f535 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportUpdate.g.verified.cs @@ -1,21 +1,20 @@ -//HintName: G.Models.UpsertOrgOrWorkspaceTTLSettingsRequest.g.cs +//HintName: G.Models.BulkExportUpdate.g.cs #nullable enable namespace G { /// - /// Base upsert TTL settings model. + /// /// - public sealed partial class UpsertOrgOrWorkspaceTTLSettingsRequest + public sealed partial class BulkExportUpdate { /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("default_trace_tier")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.TraceTier3JsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::G.TraceTier3 DefaultTraceTier { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.BulkExportUpdateStatusJsonConverter))] + public global::G.BulkExportUpdateStatus Status { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs new file mode 100644 index 0000000000..deac5ee10f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.BulkExportUpdateStatus.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.BulkExportUpdateStatus.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum BulkExportUpdateStatus + { + /// + /// + /// + Cancelled, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class BulkExportUpdateStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this BulkExportUpdateStatus value) + { + return value switch + { + BulkExportUpdateStatus.Cancelled => "Cancelled", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static BulkExportUpdateStatus? ToEnum(string value) + { + return value switch + { + "Cancelled" => BulkExportUpdateStatus.Cancelled, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs new file mode 100644 index 0000000000..9850847512 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CodeEvaluatorTopLevel.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.Models.CodeEvaluatorTopLevel.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CodeEvaluatorTopLevel + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Code { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookups.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookups.g.verified.cs index f811b303d5..a5a5f85ab5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookups.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookups.g.verified.cs @@ -21,9 +21,9 @@ public sealed partial class CommitWithLookups /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("manifest_id")] + [global::System.Text.Json.Serialization.JsonPropertyName("manifest")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Guid ManifestId { get; set; } + public required object Manifest { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs new file mode 100644 index 0000000000..1f1ec6173a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CommitWithLookupsManifest.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.CommitWithLookupsManifest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class CommitWithLookupsManifest + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs new file mode 100644 index 0000000000..51659e0c3a --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequest.g.verified.cs index a0234a5071..1b44e6f1cf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequest.g.verified.cs @@ -32,7 +32,7 @@ public sealed partial class CustomChartsRequest public global::G.AnyOf? EndTime { get; set; } /// - /// + /// Timedelta input. /// [global::System.Text.Json.Serialization.JsonPropertyName("stride")] public global::G.TimedeltaInput? Stride { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequestBase.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequestBase.g.verified.cs index cca3143e62..5023099784 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequestBase.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsRequestBase.g.verified.cs @@ -32,7 +32,7 @@ public sealed partial class CustomChartsRequestBase public global::G.AnyOf? EndTime { get; set; } /// - /// + /// Timedelta input. /// [global::System.Text.Json.Serialization.JsonPropertyName("stride")] public global::G.TimedeltaInput? Stride { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs index 7216b2920c..9360649b4e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.CustomChartsSectionResponse.g.verified.cs @@ -42,9 +42,23 @@ public sealed partial class CustomChartsSectionResponse /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("is_at_capacity")] + [global::System.Text.Json.Serialization.JsonPropertyName("chart_count")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] - public global::G.AnyOf? IsAtCapacity { get; set; } + public global::G.AnyOf? ChartCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("modified_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? ModifiedAt { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Dataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Dataset.g.verified.cs index 8bae58dbfe..7795e284d2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Dataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Dataset.g.verified.cs @@ -31,13 +31,6 @@ public sealed partial class Dataset [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -59,6 +52,13 @@ public sealed partial class Dataset [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? ExternallyManaged { get; set; } = false; + /// + /// Default Value: kv + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetCreate.g.verified.cs index f4add8d541..3962932dd4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetCreate.g.verified.cs @@ -31,13 +31,6 @@ public sealed partial class DatasetCreate [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -73,6 +66,13 @@ public sealed partial class DatasetCreate [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? Extra { get; set; } + /// + /// Enum for dataset data types. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.DataTypeJsonConverter))] + public global::G.DataType? DataType { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs new file mode 100644 index 0000000000..0c90f006a4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetPublicSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetPublicSchema.g.verified.cs index 3bcb8408d6..c8a4ea9665 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetPublicSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetPublicSchema.g.verified.cs @@ -33,13 +33,6 @@ public sealed partial class DatasetPublicSchema [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -61,6 +54,13 @@ public sealed partial class DatasetPublicSchema [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? ExternallyManaged { get; set; } = false; + /// + /// Default Value: kv + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs index 01986e71e7..0e895c11d7 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.DatasetSchemaForUpdate.g.verified.cs @@ -31,13 +31,6 @@ public sealed partial class DatasetSchemaForUpdate [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] public global::System.DateTime? CreatedAt { get; set; } - /// - /// Default Value: kv - /// - [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] - public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; - /// /// /// @@ -59,6 +52,13 @@ public sealed partial class DatasetSchemaForUpdate [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? ExternallyManaged { get; set; } = false; + /// + /// Default Value: kv + /// + [global::System.Text.Json.Serialization.JsonPropertyName("data_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? DataType { get; set; } = global::G.DataType.Kv; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs new file mode 100644 index 0000000000..05aa5b831c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExampleRunWithFeedback.g.verified.cs @@ -0,0 +1,53 @@ +//HintName: G.Models.ExampleRunWithFeedback.g.cs + +#nullable enable + +namespace G +{ + /// + /// An example run with feedback. + /// + public sealed partial class ExampleRunWithFeedback + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("input")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Input { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("reference_output")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string ReferenceOutput { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("output")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Output { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("feedback")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Feedback { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string RunId { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs new file mode 100644 index 0000000000..b25f3cb27b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ExecuteApiV1AceExecutePostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.ExecuteApiV1AceExecutePostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ExecuteApiV1AceExecutePostResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterView.g.verified.cs index 1155c94d28..5318005647 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterView.g.verified.cs @@ -15,8 +15,22 @@ public sealed partial class FilterView /// /// [global::System.Text.Json.Serialization.JsonPropertyName("filter_string")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FilterString { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? FilterString { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trace_filter_string")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? TraceFilterString { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tree_filter_string")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? TreeFilterString { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewCreate.g.verified.cs index b9f053082b..e03a1b5043 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewCreate.g.verified.cs @@ -15,8 +15,22 @@ public sealed partial class FilterViewCreate /// /// [global::System.Text.Json.Serialization.JsonPropertyName("filter_string")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string FilterString { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? FilterString { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trace_filter_string")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? TraceFilterString { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tree_filter_string")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? TreeFilterString { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewUpdate.g.verified.cs index cb446c731b..b47ea725ba 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewUpdate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.FilterViewUpdate.g.verified.cs @@ -32,6 +32,20 @@ public sealed partial class FilterViewUpdate [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? Description { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("trace_filter_string")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? TraceFilterString { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tree_filter_string")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? TreeFilterString { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Identity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Identity.g.verified.cs index d830e2d5a4..37981fdbf3 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Identity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Identity.g.verified.cs @@ -75,11 +75,11 @@ public sealed partial class Identity public global::G.AnyOf? RoleName { get; set; } /// - /// Default Value: workspace + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("access_scope")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AccessScopeJsonConverter))] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs new file mode 100644 index 0000000000..354b768e0c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ListRulesApiV1RunsRulesGetType2.g.verified.cs @@ -0,0 +1,52 @@ +//HintName: G.Models.ListRulesApiV1RunsRulesGetType2.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum ListRulesApiV1RunsRulesGetType2 + { + /// + /// + /// + Session, + /// + /// + /// + Dataset, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ListRulesApiV1RunsRulesGetType2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ListRulesApiV1RunsRulesGetType2 value) + { + return value switch + { + ListRulesApiV1RunsRulesGetType2.Session => "session", + ListRulesApiV1RunsRulesGetType2.Dataset => "dataset", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ListRulesApiV1RunsRulesGetType2? ToEnum(string value) + { + return value switch + { + "session" => ListRulesApiV1RunsRulesGetType2.Session, + "dataset" => ListRulesApiV1RunsRulesGetType2.Dataset, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MemberIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MemberIdentity.g.verified.cs index ae66d08123..4b0cd03d99 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MemberIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MemberIdentity.g.verified.cs @@ -75,11 +75,11 @@ public sealed partial class MemberIdentity public global::G.AnyOf? RoleName { get; set; } /// - /// Default Value: workspace + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("access_scope")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AccessScopeJsonConverter))] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MonitorRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MonitorRequest.g.verified.cs index 04c5b36e82..b20da2d171 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MonitorRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MonitorRequest.g.verified.cs @@ -23,13 +23,13 @@ public sealed partial class MonitorRequest public required global::System.Collections.Generic.IList Groups { get; set; } /// - /// + /// Timedelta input. /// [global::System.Text.Json.Serialization.JsonPropertyName("interval")] public global::G.TimedeltaInput? Interval { get; set; } /// - /// + /// Timedelta input. /// [global::System.Text.Json.Serialization.JsonPropertyName("stride")] public global::G.TimedeltaInput? Stride { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs new file mode 100644 index 0000000000..d319e50d9e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.MultipartIngestRunsApiV1RunsMultipartPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class MultipartIngestRunsApiV1RunsMultipartPostResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OAuthProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OAuthProvider.g.verified.cs new file mode 100644 index 0000000000..8e2d69b6ba --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OAuthProvider.g.verified.cs @@ -0,0 +1,46 @@ +//HintName: G.Models.OAuthProvider.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public enum OAuthProvider + { + /// + /// + /// + CustomOidc, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class OAuthProviderExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this OAuthProvider value) + { + return value switch + { + OAuthProvider.CustomOidc => "custom-oidc", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static OAuthProvider? ToEnum(string value) + { + return value switch + { + "custom-oidc" => OAuthProvider.CustomOidc, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs new file mode 100644 index 0000000000..99cc3b5f6f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OauthProviderAuthApiV1OauthProviderGetResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OauthProviderAuthApiV1OauthProviderGetResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs new file mode 100644 index 0000000000..95b4a77c57 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OauthProviderCallbackApiV1OauthProviderCallbackGetResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OauthProviderCallbackApiV1OauthProviderCallbackGetResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs new file mode 100644 index 0000000000..9d1ed963d9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OauthProviderLogoutApiV1OauthProviderLogoutGetResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequest.g.verified.cs new file mode 100644 index 0000000000..74d0ba5814 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequest.g.verified.cs @@ -0,0 +1,49 @@ +//HintName: G.Models.OptimizePromptRequest.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Request to optimize a prompt. + /// + public sealed partial class OptimizePromptRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Prompt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metaprompt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required object Metaprompt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("examples")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Examples { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("overall_feedback")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.AnyOf OverallFeedback { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs new file mode 100644 index 0000000000..b12cc2a3e5 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptRequestMetaprompt.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.OptimizePromptRequestMetaprompt.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class OptimizePromptRequestMetaprompt + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptResponse.g.verified.cs new file mode 100644 index 0000000000..96d7c4b481 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OptimizePromptResponse.g.verified.cs @@ -0,0 +1,35 @@ +//HintName: G.Models.OptimizePromptResponse.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Response from optimizing a prompt. + /// + public sealed partial class OptimizePromptResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prompt")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Prompt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("error")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.AnyOf Error { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgFeatureFlags.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgFeatureFlags.g.verified.cs index a32fa666ad..7d767b5c8b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgFeatureFlags.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgFeatureFlags.g.verified.cs @@ -9,10 +9,6 @@ namespace G /// public enum OrgFeatureFlags { - /// - /// - /// - PlaygroundRunnables, /// /// /// @@ -68,15 +64,19 @@ public enum OrgFeatureFlags /// /// /// - ConsolidatePlaygroundComparative, + ResourceTags, /// /// /// - ResourceTags, + LanggraphDeployOwnCloudEnabled, /// /// /// - LanggraphDeployOwnCloudEnabled, + ArbitraryCodeExecutionEnabled, + /// + /// + /// + PromptOptimization, } /// @@ -91,7 +91,6 @@ public static string ToValueString(this OrgFeatureFlags value) { return value switch { - OrgFeatureFlags.PlaygroundRunnables => "playground_runnables", OrgFeatureFlags.HostedLangserveEnabled => "hosted_langserve_enabled", OrgFeatureFlags.PaymentEnabled => "payment_enabled", OrgFeatureFlags.RunRulesEnabled => "run_rules_enabled", @@ -105,9 +104,10 @@ public static string ToValueString(this OrgFeatureFlags value) OrgFeatureFlags.PlaygroundComparative => "playground_comparative", OrgFeatureFlags.ShowDatasetSchemas => "show_dataset_schemas", OrgFeatureFlags.CompareTraceEnabled => "compare_trace_enabled", - OrgFeatureFlags.ConsolidatePlaygroundComparative => "consolidate_playground_comparative", OrgFeatureFlags.ResourceTags => "resource_tags", OrgFeatureFlags.LanggraphDeployOwnCloudEnabled => "langgraph_deploy_own_cloud_enabled", + OrgFeatureFlags.ArbitraryCodeExecutionEnabled => "arbitrary_code_execution_enabled", + OrgFeatureFlags.PromptOptimization => "prompt_optimization", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -118,7 +118,6 @@ public static string ToValueString(this OrgFeatureFlags value) { return value switch { - "playground_runnables" => OrgFeatureFlags.PlaygroundRunnables, "hosted_langserve_enabled" => OrgFeatureFlags.HostedLangserveEnabled, "payment_enabled" => OrgFeatureFlags.PaymentEnabled, "run_rules_enabled" => OrgFeatureFlags.RunRulesEnabled, @@ -132,9 +131,10 @@ public static string ToValueString(this OrgFeatureFlags value) "playground_comparative" => OrgFeatureFlags.PlaygroundComparative, "show_dataset_schemas" => OrgFeatureFlags.ShowDatasetSchemas, "compare_trace_enabled" => OrgFeatureFlags.CompareTraceEnabled, - "consolidate_playground_comparative" => OrgFeatureFlags.ConsolidatePlaygroundComparative, "resource_tags" => OrgFeatureFlags.ResourceTags, "langgraph_deploy_own_cloud_enabled" => OrgFeatureFlags.LanggraphDeployOwnCloudEnabled, + "arbitrary_code_execution_enabled" => OrgFeatureFlags.ArbitraryCodeExecutionEnabled, + "prompt_optimization" => OrgFeatureFlags.PromptOptimization, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgMemberIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgMemberIdentity.g.verified.cs index 29be7cbf0f..0dbebdfac6 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgMemberIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgMemberIdentity.g.verified.cs @@ -75,11 +75,11 @@ public sealed partial class OrgMemberIdentity public global::G.AnyOf? RoleName { get; set; } /// - /// Default Value: workspace + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("access_scope")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AccessScopeJsonConverter))] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// @@ -103,7 +103,7 @@ public sealed partial class OrgMemberIdentity public global::G.AnyOf? AvatarUrl { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("tenant_ids")] public global::System.Collections.Generic.IList? TenantIds { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgPendingIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgPendingIdentity.g.verified.cs index 56670c88d8..63b5e5650e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgPendingIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrgPendingIdentity.g.verified.cs @@ -60,11 +60,11 @@ public sealed partial class OrgPendingIdentity public global::G.AnyOf? FullName { get; set; } /// - /// Default Value: workspace + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("access_scope")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AccessScopeJsonConverter))] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// @@ -109,7 +109,7 @@ public sealed partial class OrgPendingIdentity public global::G.AnyOf? RoleName { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("tenant_ids")] public global::System.Collections.Generic.IList? TenantIds { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Organization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Organization.g.verified.cs index 63696a7e34..d9bca85965 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Organization.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.Organization.g.verified.cs @@ -102,7 +102,7 @@ public sealed partial class Organization public bool? ReachedMaxWorkspaces { get; set; } = false; /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] public global::System.Collections.Generic.IList? Permissions { get; set; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationConfig.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationConfig.g.verified.cs index befc45b541..a4c1b4ca09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationConfig.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationConfig.g.verified.cs @@ -74,6 +74,24 @@ public sealed partial class OrganizationConfig [global::System.Text.Json.Serialization.JsonPropertyName("max_langgraph_cloud_deployments")] public int? MaxLanggraphCloudDeployments { get; set; } = 1; + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_use_saml_sso")] + public bool? CanUseSamlSso { get; set; } = false; + + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_use_bulk_export")] + public bool? CanUseBulkExport { get; set; } = false; + + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_python_playground_service")] + public bool? UsePythonPlaygroundService { get; set; } = false; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationCreate.g.verified.cs new file mode 100644 index 0000000000..9f7f70588b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationCreate.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Models.OrganizationCreate.g.cs + +#nullable enable + +namespace G +{ + /// + /// Create organization schema. + /// + public sealed partial class OrganizationCreate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string DisplayName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_personal")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool IsPersonal { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationInfo.g.verified.cs index 0721639af8..cf61baeb8d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationInfo.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationInfo.g.verified.cs @@ -53,7 +53,7 @@ public sealed partial class OrganizationInfo public bool? ReachedMaxWorkspaces { get; set; } = false; /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("permissions")] public global::System.Collections.Generic.IList? Permissions { get; set; } @@ -64,6 +64,19 @@ public sealed partial class OrganizationInfo [global::System.Text.Json.Serialization.JsonPropertyName("disabled")] public bool? Disabled { get; set; } = false; + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sso_only")] + public bool? SsoOnly { get; set; } = false; + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sso_login_slug")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? SsoLoginSlug { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs index 77364fec66..4ec02005a9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationPGSchemaSlim.g.verified.cs @@ -60,6 +60,19 @@ public sealed partial class OrganizationPGSchemaSlim [global::System.Text.Json.Serialization.JsonRequired] public required bool Disabled { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sso_login_slug")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? SsoLoginSlug { get; set; } + + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("sso_only")] + public bool? SsoOnly { get; set; } = false; + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationUpdate.g.verified.cs new file mode 100644 index 0000000000..8551c1fd7c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.OrganizationUpdate.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.Models.OrganizationUpdate.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Update organization schema. only support display_name for now. + /// + public sealed partial class OrganizationUpdate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("display_name")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? DisplayName { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PendingIdentity.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PendingIdentity.g.verified.cs index 0eb6e51315..1e13e8e042 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PendingIdentity.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PendingIdentity.g.verified.cs @@ -60,11 +60,11 @@ public sealed partial class PendingIdentity public global::G.AnyOf? FullName { get; set; } /// - /// Default Value: workspace + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("access_scope")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AccessScopeJsonConverter))] - public global::G.AccessScope? AccessScope { get; set; } = global::G.AccessScope.Workspace; + public global::G.AccessScope? AccessScope { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs new file mode 100644 index 0000000000..da6a192e5f --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchema.g.verified.cs @@ -0,0 +1,89 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchema.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchema + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("manifest")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.PlaygroundRunOverDatasetRequestSchemaManifest Manifest { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("secrets")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Secrets { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? RunId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repo_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? RepoId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tools")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf, object>? Tools { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_choice")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? ToolChoice { get; set; } + + /// + /// Configuration for a Runnable. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("options")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::G.RunnableConfig Options { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project_name")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? ProjectName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dataset_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid DatasetId { get; set; } + + /// + /// Default Value: 1 + /// + [global::System.Text.Json.Serialization.JsonPropertyName("repetitions")] + public int? Repetitions { get; set; } = 1; + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs new file mode 100644 index 0000000000..ce258486a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchemaManifest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchemaManifest + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs new file mode 100644 index 0000000000..a7bd214015 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchemaSecrets.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchemaSecrets + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs new file mode 100644 index 0000000000..118e67aa29 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ProviderUserSlim.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ProviderUserSlim.g.verified.cs new file mode 100644 index 0000000000..23c3b09c20 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ProviderUserSlim.g.verified.cs @@ -0,0 +1,90 @@ +//HintName: G.Models.ProviderUserSlim.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class ProviderUserSlim + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? Provider { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ls_user_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid LsUserId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("saml_provider_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? SamlProviderId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider_user_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? ProviderUserId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("created_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime CreatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime UpdatedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("full_name")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? FullName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email_confirmed_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? EmailConfirmedAt { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs index ff5cd6cffb..d0f8bb1c3f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.PutDatasetVersionsSchema.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.PutDatasetVersionsSchema.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -10,11 +12,12 @@ namespace G public sealed partial class PutDatasetVersionsSchema { /// - /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used. /// [global::System.Text.Json.Serialization.JsonPropertyName("as_of")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.DateTime AsOf { get; set; } + public required global::G.AnyOf AsOf { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RepoWithLookups.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RepoWithLookups.g.verified.cs index c2983a6768..90a5881a3d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RepoWithLookups.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RepoWithLookups.g.verified.cs @@ -166,6 +166,13 @@ public sealed partial class RepoWithLookups [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? UpstreamRepoFullName { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("latest_commit_manifest")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? LatestCommitManifest { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ResourceType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ResourceType.g.verified.cs index b3fa778f53..f6acffa35f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ResourceType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.ResourceType.g.verified.cs @@ -36,7 +36,7 @@ public enum ResourceType /// /// /// - ChartsSection, + Dashboard, } /// @@ -57,7 +57,7 @@ public static string ToValueString(this ResourceType value) ResourceType.Deployment => "deployment", ResourceType.Experiment => "experiment", ResourceType.Dataset => "dataset", - ResourceType.ChartsSection => "charts_section", + ResourceType.Dashboard => "dashboard", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -74,7 +74,7 @@ public static string ToValueString(this ResourceType value) "deployment" => ResourceType.Deployment, "experiment" => ResourceType.Experiment, "dataset" => ResourceType.Dataset, - "charts_section" => ResourceType.ChartsSection, + "dashboard" => ResourceType.Dashboard, _ => null, }; } diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesCreateSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesCreateSchema.g.verified.cs index 1758c032c9..8e6b6b0781 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesCreateSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesCreateSchema.g.verified.cs @@ -119,6 +119,13 @@ public sealed partial class RunRulesCreateSchema [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf, object>? Evaluators { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code_evaluators")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf, object>? CodeEvaluators { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesSchema.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesSchema.g.verified.cs index a22fa7c783..248859c6ad 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesSchema.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunRulesSchema.g.verified.cs @@ -155,6 +155,13 @@ public sealed partial class RunRulesSchema [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf, object>? Evaluators { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("code_evaluators")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf, object>? CodeEvaluators { get; set; } + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunSelect.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunSelect.g.verified.cs index 11105c4616..28d6733d71 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunSelect.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunSelect.g.verified.cs @@ -88,6 +88,10 @@ public enum RunSelect /// /// /// + EventsOrSignedUrl, + /// + /// + /// ParentRunId, /// /// @@ -230,6 +234,7 @@ public static string ToValueString(this RunSelect value) RunSelect.OutputsOrSignedUrl => "outputs_or_signed_url", RunSelect.S3Urls => "s3_urls", RunSelect.ErrorOrSignedUrl => "error_or_signed_url", + RunSelect.EventsOrSignedUrl => "events_or_signed_url", RunSelect.ParentRunId => "parent_run_id", RunSelect.ManifestId => "manifest_id", RunSelect.ManifestS3Id => "manifest_s3_id", @@ -287,6 +292,7 @@ public static string ToValueString(this RunSelect value) "outputs_or_signed_url" => RunSelect.OutputsOrSignedUrl, "s3_urls" => RunSelect.S3Urls, "error_or_signed_url" => RunSelect.ErrorOrSignedUrl, + "events_or_signed_url" => RunSelect.EventsOrSignedUrl, "parent_run_id" => RunSelect.ParentRunId, "manifest_id" => RunSelect.ManifestId, "manifest_s3_id" => RunSelect.ManifestS3Id, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfig.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfig.g.verified.cs new file mode 100644 index 0000000000..6d5814195d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfig.g.verified.cs @@ -0,0 +1,71 @@ +//HintName: G.Models.RunnableConfig.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// Configuration for a Runnable. + /// + public sealed partial class RunnableConfig + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata")] + public object? Metadata { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("callbacks")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory3))] + public global::G.AnyOf, global::G.RunnableConfigCallbacks, object>? Callbacks { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_name")] + public string? RunName { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("max_concurrency")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? MaxConcurrency { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursion_limit")] + public int? RecursionLimit { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("configurable")] + public object? Configurable { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("run_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? RunId { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallback.g.verified.cs new file mode 100644 index 0000000000..3ba1a1fce2 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallback.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigCallback.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigCallback + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs new file mode 100644 index 0000000000..c66d156d30 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigCallbacks.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigCallbacks.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigCallbacks + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs new file mode 100644 index 0000000000..f5ab440c27 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigConfigurable.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigConfigurable.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigConfigurable + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigMetadata.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigMetadata.g.verified.cs new file mode 100644 index 0000000000..8cbcdf4f75 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.RunnableConfigMetadata.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.RunnableConfigMetadata.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class RunnableConfigMetadata + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs new file mode 100644 index 0000000000..7ba1d8f6cc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOConfirmEmailRequest.g.verified.cs @@ -0,0 +1,25 @@ +//HintName: G.Models.SSOConfirmEmailRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOConfirmEmailRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("token")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Token { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs new file mode 100644 index 0000000000..daa4d724fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationSendRequest.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Models.SSOEmailVerificationSendRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOEmailVerificationSendRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("saml_provider_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid SamlProviderId { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs new file mode 100644 index 0000000000..101617ff40 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusRequest.g.verified.cs @@ -0,0 +1,32 @@ +//HintName: G.Models.SSOEmailVerificationStatusRequest.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOEmailVerificationStatusRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Email { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("saml_provider_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid SamlProviderId { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs new file mode 100644 index 0000000000..05943da545 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOEmailVerificationStatusResponse.g.verified.cs @@ -0,0 +1,27 @@ +//HintName: G.Models.SSOEmailVerificationStatusResponse.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOEmailVerificationStatusResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("email_confirmed_at")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? EmailConfirmedAt { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProvider.g.verified.cs new file mode 100644 index 0000000000..4c728ac09b --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProvider.g.verified.cs @@ -0,0 +1,69 @@ +//HintName: G.Models.SSOProvider.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOProvider + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid OrganizationId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid ProviderId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_workspace_role_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid DefaultWorkspaceRoleId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_workspace_ids")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList DefaultWorkspaceIds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata_url")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? MetadataUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata_xml")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? MetadataXml { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProviderSlim.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProviderSlim.g.verified.cs new file mode 100644 index 0000000000..ae2c80ebe0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOProviderSlim.g.verified.cs @@ -0,0 +1,39 @@ +//HintName: G.Models.SSOProviderSlim.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOProviderSlim + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("provider_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid ProviderId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid OrganizationId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("organization_display_name")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string OrganizationDisplayName { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreate.g.verified.cs new file mode 100644 index 0000000000..d8552f24ae --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreate.g.verified.cs @@ -0,0 +1,54 @@ +//HintName: G.Models.SSOSettingsCreate.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOSettingsCreate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_workspace_role_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid DefaultWorkspaceRoleId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_workspace_ids")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList DefaultWorkspaceIds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata_xml")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? MetadataXml { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata_url")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? MetadataUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attribute_mapping")] + public global::System.Collections.Generic.Dictionary? AttributeMapping { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs new file mode 100644 index 0000000000..f638958928 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsCreateAttributeMapping.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.SSOSettingsCreateAttributeMapping.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOSettingsCreateAttributeMapping + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsUpdate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsUpdate.g.verified.cs new file mode 100644 index 0000000000..ecb2eed462 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SSOSettingsUpdate.g.verified.cs @@ -0,0 +1,48 @@ +//HintName: G.Models.SSOSettingsUpdate.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SSOSettingsUpdate + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_workspace_role_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? DefaultWorkspaceRoleId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_workspace_ids")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf, object>? DefaultWorkspaceIds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata_url")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? MetadataUrl { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("metadata_xml")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? MetadataXml { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SearchDatasetRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SearchDatasetRequest.g.verified.cs index a538b7e6cd..df477654f1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SearchDatasetRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SearchDatasetRequest.g.verified.cs @@ -1,5 +1,7 @@ //HintName: G.Models.SearchDatasetRequest.g.cs +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace G @@ -28,6 +30,13 @@ public sealed partial class SearchDatasetRequest [global::System.Text.Json.Serialization.JsonPropertyName("debug")] public bool? Debug { get; set; } = false; + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filter")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? Filter { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs new file mode 100644 index 0000000000..e7bd0bf549 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs new file mode 100644 index 0000000000..74c5377dbb --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TTLSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TTLSettings.g.verified.cs index f49c0d15e9..c4d163e1de 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TTLSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TTLSettings.g.verified.cs @@ -26,6 +26,12 @@ public sealed partial class TTLSettings [global::System.Text.Json.Serialization.JsonRequired] public required global::G.TraceTier3 DefaultTraceTier { get; set; } + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("apply_to_all_projects")] + public bool? ApplyToAllProjects { get; set; } = false; + /// /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TaggingsByResourceType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TaggingsByResourceType.g.verified.cs index 819e0ca01b..ea0391802f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TaggingsByResourceType.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TaggingsByResourceType.g.verified.cs @@ -10,46 +10,46 @@ namespace G public sealed partial class TaggingsByResourceType { /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("prompts")] public global::System.Collections.Generic.IList? Prompts { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("projects")] public global::System.Collections.Generic.IList? Projects { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("queues")] public global::System.Collections.Generic.IList? Queues { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("deployments")] public global::System.Collections.Generic.IList? Deployments { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("experiments")] public global::System.Collections.Generic.IList? Experiments { get; set; } /// - /// + /// Default Value: [] /// [global::System.Text.Json.Serialization.JsonPropertyName("datasets")] public global::System.Collections.Generic.IList? Datasets { get; set; } /// - /// + /// Default Value: [] /// - [global::System.Text.Json.Serialization.JsonPropertyName("charts_sections")] - public global::System.Collections.Generic.IList? ChartsSections { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("dashboards")] + public global::System.Collections.Generic.IList? Dashboards { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantCreate.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantCreate.g.verified.cs index c5020788be..5189479378 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantCreate.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantCreate.g.verified.cs @@ -38,6 +38,12 @@ public sealed partial class TenantCreate [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] public global::G.AnyOf? TenantHandle { get; set; } + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("is_personal")] + public bool? IsPersonal { get; set; } = false; + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantStats.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantStats.g.verified.cs index 8fbc85127d..ad45011ab9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantStats.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TenantStats.g.verified.cs @@ -47,9 +47,16 @@ public sealed partial class TenantStats /// /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("charts_count")] + [global::System.Text.Json.Serialization.JsonPropertyName("deployment_count")] [global::System.Text.Json.Serialization.JsonRequired] - public required int ChartsCount { get; set; } + public required int DeploymentCount { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dashboards_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int DashboardsCount { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs new file mode 100644 index 0000000000..5d0c41a692 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.TriggerRulesApiV1RunsRulesTriggerPostResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class TriggerRulesApiV1RunsRulesTriggerPostResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesRequest.g.verified.cs new file mode 100644 index 0000000000..c16fb42293 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.TriggerRulesRequest.g.verified.cs @@ -0,0 +1,34 @@ +//HintName: G.Models.TriggerRulesRequest.g.cs + +#pragma warning disable CS0618 // Type or member is obsolete + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class TriggerRulesRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("rule_ids")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf, object>? RuleIds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("dataset_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] + public global::G.AnyOf? DatasetId { 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(); + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs new file mode 100644 index 0000000000..db889eb013 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.verified.cs @@ -0,0 +1,19 @@ +//HintName: G.Models.UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse.g.cs + +#nullable enable + +namespace G +{ + /// + /// + /// + public sealed partial class UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse + { + + /// + /// 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/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateRunRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateRunRequest.g.verified.cs index 986aa638db..f31713bd0e 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateRunRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpdateRunRequest.g.verified.cs @@ -95,6 +95,20 @@ public sealed partial class UpdateRunRequest [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory2))] public global::G.OneOf? OutputAttachments { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_id")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory2))] + public global::G.OneOf? SessionId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("session_name")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.OneOfJsonConverterFactory2))] + public global::G.OneOf? SessionName { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs index 3651344255..dc36e3e68b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UpsertTTLSettingsRequest.g.verified.cs @@ -26,6 +26,12 @@ public sealed partial class UpsertTTLSettingsRequest [global::System.Text.Json.Serialization.JsonRequired] public required global::G.TraceTier3 DefaultTraceTier { get; set; } + /// + /// Default Value: false + /// + [global::System.Text.Json.Serialization.JsonPropertyName("apply_to_all_projects")] + public bool? ApplyToAllProjects { get; set; } = false; + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UserWithPassword.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UserWithPassword.g.verified.cs index 17e71e9f12..d5e446558f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UserWithPassword.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.Models.UserWithPassword.g.verified.cs @@ -22,8 +22,8 @@ public sealed partial class UserWithPassword /// /// [global::System.Text.Json.Serialization.JsonPropertyName("ls_user_id")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::G.JsonConverters.AnyOfJsonConverterFactory2))] - public global::G.AnyOf? LsUserId { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Guid LsUserId { get; set; } /// /// diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateOrganization.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateOrganization.g.verified.cs new file mode 100644 index 0000000000..24aca87fd4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateOrganization.g.verified.cs @@ -0,0 +1,141 @@ +//HintName: G.OrgsClient.CreateOrganization.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareCreateOrganizationArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.OrganizationCreate request); + partial void PrepareCreateOrganizationRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OrganizationCreate request); + partial void ProcessCreateOrganizationResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateOrganizationResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Organization + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateOrganizationAsync( + global::G.OrganizationCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateOrganizationArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateOrganizationRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateOrganizationResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateOrganizationResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Organization + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateOrganizationAsync( + string displayName, + bool isPersonal, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.OrganizationCreate + { + DisplayName = displayName, + IsPersonal = isPersonal, + }; + + return await CreateOrganizationAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..bc41c8680d --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.CreateSsoSettings.g.verified.cs @@ -0,0 +1,152 @@ +//HintName: G.OrgsClient.CreateSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareCreateSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.SSOSettingsCreate request); + partial void PrepareCreateSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.SSOSettingsCreate request); + partial void ProcessCreateSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::G.SSOSettingsCreate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareCreateSsoSettingsArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/sso-settings", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCreateSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCreateSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCreateSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Create Sso Settings
+ /// Create SSO provider settings for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateSsoSettingsAsync( + global::System.Guid defaultWorkspaceRoleId, + global::System.Collections.Generic.IList defaultWorkspaceIds, + global::G.AnyOf? metadataXml = default, + global::G.AnyOf? metadataUrl = default, + global::System.Collections.Generic.Dictionary? attributeMapping = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOSettingsCreate + { + DefaultWorkspaceRoleId = defaultWorkspaceRoleId, + DefaultWorkspaceIds = defaultWorkspaceIds, + MetadataXml = metadataXml, + MetadataUrl = metadataUrl, + AttributeMapping = attributeMapping, + }; + + return await CreateSsoSettingsAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs new file mode 100644 index 0000000000..77ea40f59c --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.DeleteSsoSettings.g.verified.cs @@ -0,0 +1,111 @@ +//HintName: G.OrgsClient.DeleteSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareDeleteSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid id); + partial void PrepareDeleteSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid id); + partial void ProcessDeleteSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessDeleteSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Delete Sso Settings
+ /// Delete SSO provider settings for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task DeleteSsoSettingsAsync( + global::System.Guid id, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareDeleteSsoSettingsArguments( + httpClient: _httpClient, + id: ref id); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/orgs/current/sso-settings/{id}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Delete, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareDeleteSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + id: id); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessDeleteSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessDeleteSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs new file mode 100644 index 0000000000..0d547e9137 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentSsoSettings.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.OrgsClient.GetCurrentSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareGetCurrentSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetCurrentSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetCurrentSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetCurrentSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Current Sso Settings
+ /// Get SSO provider settings for the current organization. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetCurrentSsoSettingsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetCurrentSsoSettingsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/sso-settings", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetCurrentSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetCurrentSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetCurrentSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs new file mode 100644 index 0000000000..046bcfdf66 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.GetCurrentUserLoginMethods.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.OrgsClient.GetCurrentUserLoginMethods.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareGetCurrentUserLoginMethodsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetCurrentUserLoginMethodsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetCurrentUserLoginMethodsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetCurrentUserLoginMethodsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get Current User Login Methods
+ /// Get login methods for the current user. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetCurrentUserLoginMethodsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareGetCurrentUserLoginMethodsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/user/login-methods", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using 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)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareGetCurrentUserLoginMethodsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessGetCurrentUserLoginMethodsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessGetCurrentUserLoginMethodsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize?>(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.ListOrganizations.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.ListOrganizations.g.verified.cs index f51ceb959f..8eeb969ff9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.ListOrganizations.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.ListOrganizations.g.verified.cs @@ -7,10 +7,12 @@ namespace G public partial class OrgsClient { partial void PrepareListOrganizationsArguments( - global::System.Net.Http.HttpClient httpClient); + global::System.Net.Http.HttpClient httpClient, + ref bool? skipCreate); partial void PrepareListOrganizationsRequest( global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage); + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + bool? skipCreate); partial void ProcessListOrganizationsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -24,19 +26,27 @@ partial void ProcessListOrganizationsResponseContent( /// List Organizations
/// Get all orgs visible to this auth ///
+ /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListOrganizationsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); PrepareListOrganizationsArguments( - httpClient: _httpClient); + httpClient: _httpClient, + skipCreate: ref skipCreate); var __pathBuilder = new PathBuilder( path: "/api/v1/orgs", baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("skip_create", skipCreate?.ToString()) + ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -63,7 +73,8 @@ partial void ProcessListOrganizationsResponseContent( request: httpRequest); PrepareListOrganizationsRequest( httpClient: _httpClient, - httpRequestMessage: httpRequest); + httpRequestMessage: httpRequest, + skipCreate: skipCreate); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs new file mode 100644 index 0000000000..bf5f0bb989 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateAllowedLoginMethods.g.verified.cs @@ -0,0 +1,140 @@ +//HintName: G.OrgsClient.UpdateAllowedLoginMethods.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareUpdateAllowedLoginMethodsArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.AllowedLoginMethodsUpdate request); + partial void PrepareUpdateAllowedLoginMethodsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.AllowedLoginMethodsUpdate request); + partial void ProcessUpdateAllowedLoginMethodsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateAllowedLoginMethodsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + global::G.AllowedLoginMethodsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareUpdateAllowedLoginMethodsArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/login-methods", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUpdateAllowedLoginMethodsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUpdateAllowedLoginMethodsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUpdateAllowedLoginMethodsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update Allowed Login Methods
+ /// Update allowed login methods for the current organization. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateAllowedLoginMethodsAsync( + bool ssoOnly, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.AllowedLoginMethodsUpdate + { + SsoOnly = ssoOnly, + }; + + return await UpdateAllowedLoginMethodsAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs new file mode 100644 index 0000000000..0bd7bf5600 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateCurrentOrganizationInfo.g.verified.cs @@ -0,0 +1,138 @@ +//HintName: G.OrgsClient.UpdateCurrentOrganizationInfo.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareUpdateCurrentOrganizationInfoArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.OrganizationUpdate request); + partial void PrepareUpdateCurrentOrganizationInfoRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OrganizationUpdate request); + partial void ProcessUpdateCurrentOrganizationInfoResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateCurrentOrganizationInfoResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.OrganizationUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareUpdateCurrentOrganizationInfoArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/orgs/current/info", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUpdateCurrentOrganizationInfoRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUpdateCurrentOrganizationInfoResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUpdateCurrentOrganizationInfoResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update Current Organization Info + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateCurrentOrganizationInfoAsync( + global::G.AnyOf? displayName = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.OrganizationUpdate + { + DisplayName = displayName, + }; + + return await UpdateCurrentOrganizationInfoAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs new file mode 100644 index 0000000000..89130899f4 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpdateSsoSettings.g.verified.cs @@ -0,0 +1,158 @@ +//HintName: G.OrgsClient.UpdateSsoSettings.g.cs + +#nullable enable + +namespace G +{ + public partial class OrgsClient + { + partial void PrepareUpdateSsoSettingsArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid id, + global::G.SSOSettingsUpdate request); + partial void PrepareUpdateSsoSettingsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid id, + global::G.SSOSettingsUpdate request); + partial void ProcessUpdateSsoSettingsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUpdateSsoSettingsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.SSOSettingsUpdate request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareUpdateSsoSettingsArguments( + httpClient: _httpClient, + id: ref id, + request: request); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/orgs/current/sso-settings/{id}", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: new global::System.Net.Http.HttpMethod("PATCH"), + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareUpdateSsoSettingsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + id: id, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessUpdateSsoSettingsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessUpdateSsoSettingsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Update Sso Settings
+ /// Update SSO provider settings defaults for the current organization. + ///
+ /// + /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UpdateSsoSettingsAsync( + global::System.Guid id, + global::G.AnyOf? defaultWorkspaceRoleId = default, + global::G.AnyOf, object>? defaultWorkspaceIds = default, + global::G.AnyOf? metadataUrl = default, + global::G.AnyOf? metadataXml = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.SSOSettingsUpdate + { + DefaultWorkspaceRoleId = defaultWorkspaceRoleId, + DefaultWorkspaceIds = defaultWorkspaceIds, + MetadataUrl = metadataUrl, + MetadataXml = metadataXml, + }; + + return await UpdateSsoSettingsAsync( + id: id, + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs index 5e5b9c93bf..8c04266a09 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.UpsertTtlSettings.g.verified.cs @@ -8,11 +8,11 @@ public partial class OrgsClient { partial void PrepareUpsertTtlSettingsArguments( global::System.Net.Http.HttpClient httpClient, - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request); + global::G.UpsertTTLSettingsRequest request); partial void PrepareUpsertTtlSettingsRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request); + global::G.UpsertTTLSettingsRequest request); partial void ProcessUpsertTtlSettingsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -29,7 +29,7 @@ partial void ProcessUpsertTtlSettingsResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( - global::G.UpsertOrgOrWorkspaceTTLSettingsRequest request, + global::G.UpsertTTLSettingsRequest request, global::System.Threading.CancellationToken cancellationToken = default) { request = request ?? throw new global::System.ArgumentNullException(nameof(request)); @@ -118,16 +118,24 @@ partial void ProcessUpsertTtlSettingsResponseContent( /// /// Upsert Ttl Settings /// + /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, + global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default) { - var request = new global::G.UpsertOrgOrWorkspaceTTLSettingsRequest + var request = new global::G.UpsertTTLSettingsRequest { + TenantId = tenantId, DefaultTraceTier = defaultTraceTier, + ApplyToAllProjects = applyToAllProjects, }; return await UpsertTtlSettingsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs index fc81499d0a..5ae991f893 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.OrgsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class OrgsClient : global::G.IOrgsClient, global::System.I /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs index ab799a1169..f6a6e2c74d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PlaygroundSettingsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PlaygroundSettingsClient : global::G.IPlaygroundSett /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.InvokePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.InvokePrompt.g.verified.cs index 9133e88669..e7e1bc9d5a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.InvokePrompt.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.InvokePrompt.g.verified.cs @@ -47,22 +47,6 @@ partial void ProcessInvokePromptResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs index bba0b7e3b9..398a0c6a7d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PromptsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PromptsClient : global::G.IPromptsClient, global::Sy /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.CountSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.CountSharedExamples.g.verified.cs new file mode 100644 index 0000000000..75395a5e30 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.CountSharedExamples.g.verified.cs @@ -0,0 +1,128 @@ +//HintName: G.PublicClient.CountSharedExamples.g.cs + +#nullable enable + +namespace G +{ + public partial class PublicClient + { + partial void PrepareCountSharedExamplesArguments( + global::System.Net.Http.HttpClient httpClient, + ref global::System.Guid shareToken, + ref global::G.AnyOf, object>? id, + ref global::G.AnyOf? asOf, + ref global::G.AnyOf? metadata, + ref global::G.AnyOf? filter); + partial void PrepareCountSharedExamplesRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::System.Guid shareToken, + global::G.AnyOf, object>? id, + global::G.AnyOf? asOf, + global::G.AnyOf? metadata, + global::G.AnyOf? filter); + partial void ProcessCountSharedExamplesResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCountSharedExamplesResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Count Shared Examples
+ /// Count all examples by query params + ///
+ /// + /// + /// + /// Only modifications made on or before this time are included. If None, the latest version of the dataset is used.
+ /// Default Value: latest + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CountSharedExamplesAsync( + global::System.Guid shareToken, + global::G.AnyOf, object>? id = default, + global::G.AnyOf? asOf = default, + global::G.AnyOf? metadata = default, + global::G.AnyOf? filter = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareCountSharedExamplesArguments( + httpClient: _httpClient, + shareToken: ref shareToken, + id: ref id, + asOf: ref asOf, + metadata: ref metadata, + filter: ref filter); + + var __pathBuilder = new PathBuilder( + path: $"/api/v1/public/{shareToken}/examples/count", + baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("id", id?.ToString() ?? string.Empty) + .AddOptionalParameter("as_of", asOf?.ToString() ?? string.Empty) + .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) + .AddOptionalParameter("filter", filter?.ToString() ?? string.Empty) + ; + var __path = __pathBuilder.ToString(); + using 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)); + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareCountSharedExamplesRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + shareToken: shareToken, + id: id, + asOf: asOf, + metadata: metadata, + filter: filter); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessCountSharedExamplesResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessCountSharedExamplesResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs index 71a7e4c9cb..93b5539bde 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GenerateQueryForSharedDatasetRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessGenerateQueryForSharedDatasetRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRun.g.verified.cs index b4a6e89e46..4ff8189b79 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRun.g.verified.cs @@ -57,22 +57,6 @@ partial void ProcessGetSharedRunResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRunById.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRunById.g.verified.cs index ebac54e55c..b8282ecf41 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRunById.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.GetSharedRunById.g.verified.cs @@ -62,22 +62,6 @@ partial void ProcessGetSharedRunByIdResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs index b075366b78..e3b7fe9345 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedDatasetRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessQuerySharedDatasetRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, @@ -148,10 +132,10 @@ partial void ProcessQuerySharedDatasetRunsResponseContent( /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -176,7 +160,7 @@ partial void ProcessQuerySharedDatasetRunsResponseContent( global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.BodyParamsForRunSchema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs index 76799d1a15..88bd3402da 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.QuerySharedRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessQuerySharedRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs index 7c0aae4037..31d3549d0a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedComparativeExperiments.g.verified.cs @@ -13,7 +13,7 @@ partial void PrepareReadSharedComparativeExperimentsArguments( ref global::G.AnyOf? nameContains, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByComparativeExperimentColumn? sortBy, ref bool? sortByDesc); partial void PrepareReadSharedComparativeExperimentsRequest( global::System.Net.Http.HttpClient httpClient, @@ -23,7 +23,7 @@ partial void PrepareReadSharedComparativeExperimentsRequest( global::G.AnyOf? nameContains, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByComparativeExperimentColumn? sortBy, bool? sortByDesc); partial void ProcessReadSharedComparativeExperimentsResponse( global::System.Net.Http.HttpClient httpClient, @@ -48,7 +48,7 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( /// Default Value: 100 /// /// - /// Default Value: created_at + /// Enum for available comparative experiment columns to sort by. /// /// /// Default Value: true @@ -61,7 +61,7 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( global::G.AnyOf? nameContains = default, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByComparativeExperimentColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default) { @@ -85,7 +85,7 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToValueString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -93,22 +93,6 @@ partial void ProcessReadSharedComparativeExperimentsResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs index 7d05f8ea82..d98dd773a4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDataset.g.verified.cs @@ -11,7 +11,7 @@ partial void PrepareReadSharedDatasetArguments( ref global::System.Guid shareToken, ref int? offset, ref int? limit, - ref global::G.AllOf? sortBy, + ref global::G.SortByDatasetColumn? sortBy, ref bool? sortByDesc); partial void PrepareReadSharedDatasetRequest( global::System.Net.Http.HttpClient httpClient, @@ -19,7 +19,7 @@ partial void PrepareReadSharedDatasetRequest( global::System.Guid shareToken, int? offset, int? limit, - global::G.AllOf? sortBy, + global::G.SortByDatasetColumn? sortBy, bool? sortByDesc); partial void ProcessReadSharedDatasetResponse( global::System.Net.Http.HttpClient httpClient, @@ -42,7 +42,7 @@ partial void ProcessReadSharedDatasetResponseContent( /// Default Value: 100 /// /// - /// Default Value: last_session_start_time + /// Enum for available dataset columns to sort by. /// /// /// Default Value: true @@ -53,7 +53,7 @@ partial void ProcessReadSharedDatasetResponseContent( global::System.Guid shareToken, int? offset = 0, int? limit = 100, - global::G.AllOf? sortBy = default, + global::G.SortByDatasetColumn? sortBy = default, bool? sortByDesc = true, global::System.Threading.CancellationToken cancellationToken = default) { @@ -73,7 +73,7 @@ partial void ProcessReadSharedDatasetResponseContent( __pathBuilder .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToValueString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) ; var __path = __pathBuilder.ToString(); @@ -81,22 +81,6 @@ partial void ProcessReadSharedDatasetResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs index f2c10b4a09..9bbb12c12f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetExamplesWithRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessReadSharedDatasetExamplesWithRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs index 6032e1cc62..2dfdb8bbb0 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetFeedback.g.verified.cs @@ -113,22 +113,6 @@ partial void ProcessReadSharedDatasetFeedbackResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs index d6f2e7a2de..b17184b35f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetRun.g.verified.cs @@ -62,22 +62,6 @@ partial void ProcessReadSharedDatasetRunResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs index d500fb0640..6069a591a1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDatasetTracerSessions.g.verified.cs @@ -13,7 +13,7 @@ partial void PrepareReadSharedDatasetTracerSessionsArguments( ref global::G.AnyOf? name, ref global::G.AnyOf? nameContains, ref global::G.AnyOf? datasetVersion, - ref global::G.AllOf? sortBy, + ref global::G.SessionSortableColumns? sortBy, ref bool? sortByDesc, ref global::G.AnyOf? sortByFeedbackKey, ref int? offset, @@ -28,7 +28,7 @@ partial void PrepareReadSharedDatasetTracerSessionsRequest( global::G.AnyOf? name, global::G.AnyOf? nameContains, global::G.AnyOf? datasetVersion, - global::G.AllOf? sortBy, + global::G.SessionSortableColumns? sortBy, bool? sortByDesc, global::G.AnyOf? sortByFeedbackKey, int? offset, @@ -53,9 +53,7 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -78,7 +76,7 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? sortByFeedbackKey = default, int? offset = 0, @@ -112,7 +110,7 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( .AddOptionalParameter("name", name?.ToString() ?? string.Empty) .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) .AddOptionalParameter("dataset_version", datasetVersion?.ToString() ?? string.Empty) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToValueString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) .AddOptionalParameter("sort_by_feedback_key", sortByFeedbackKey?.ToString() ?? string.Empty) .AddOptionalParameter("offset", offset?.ToString()) @@ -124,22 +122,6 @@ partial void ProcessReadSharedDatasetTracerSessionsResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - if (accept != default) { httpRequest.Headers.TryAddWithoutValidation("accept", accept.ToString()); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs index 026b6b54e6..b0ea17725a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedDelta.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessReadSharedDeltaResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs index ef59b26f7f..3e79963abc 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedExamples.g.verified.cs @@ -99,22 +99,6 @@ partial void ProcessReadSharedExamplesResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs index 7cd200c2a8..f8796fd454 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.ReadSharedFeedbacks.g.verified.cs @@ -112,22 +112,6 @@ partial void ProcessReadSharedFeedbacksResponseContent( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } - PrepareRequest( client: _httpClient, request: httpRequest); diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs index bb14e1f3a6..d7fb0a4d8d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.StatsSharedDatasetRuns.g.verified.cs @@ -53,22 +53,6 @@ partial void ProcessStatsSharedDatasetRunsResponseContent( using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); - - foreach (var _authorization in _authorizations) - { - if (_authorization.Type == "Http" || - _authorization.Type == "OAuth2") - { - 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); - } - } var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); var __httpRequestContent = new global::System.Net.Http.StringContent( content: __httpRequestContentBody, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs index 80ab35c571..d9f067b0d1 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.PublicClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class PublicClient : global::G.IPublicClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.ListRepos.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.ListRepos.g.verified.cs index 0b6c801602..445ceb3696 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.ListRepos.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.ListRepos.g.verified.cs @@ -8,6 +8,7 @@ public partial class ReposClient { partial void PrepareListReposArguments( global::System.Net.Http.HttpClient httpClient, + ref bool? withLatestManifest, ref int? limit, ref int? offset, ref global::G.AnyOf? tenantHandle, @@ -26,6 +27,7 @@ partial void PrepareListReposArguments( partial void PrepareListReposRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, + bool? withLatestManifest, int? limit, int? offset, global::G.AnyOf? tenantHandle, @@ -54,6 +56,9 @@ partial void ProcessListReposResponseContent( /// List Repos
/// Get all repos. /// + /// + /// Default Value: false + /// /// /// Default Value: 20 /// @@ -78,6 +83,7 @@ partial void ProcessListReposResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ListReposAsync( + bool? withLatestManifest = false, int? limit = 20, int? offset = 0, global::G.AnyOf? tenantHandle = default, @@ -99,6 +105,7 @@ partial void ProcessListReposResponseContent( client: _httpClient); PrepareListReposArguments( httpClient: _httpClient, + withLatestManifest: ref withLatestManifest, limit: ref limit, offset: ref offset, tenantHandle: ref tenantHandle, @@ -119,6 +126,7 @@ partial void ProcessListReposResponseContent( path: "/api/v1/repos", baseUri: _httpClient.BaseAddress); __pathBuilder + .AddOptionalParameter("with_latest_manifest", withLatestManifest?.ToString()) .AddOptionalParameter("limit", limit?.ToString()) .AddOptionalParameter("offset", offset?.ToString()) .AddOptionalParameter("tenant_handle", tenantHandle?.ToString() ?? string.Empty) @@ -162,6 +170,7 @@ partial void ProcessListReposResponseContent( PrepareListReposRequest( httpClient: _httpClient, httpRequestMessage: httpRequest, + withLatestManifest: withLatestManifest, limit: limit, offset: offset, tenantHandle: tenantHandle, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.OptimizePrompt.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.OptimizePrompt.g.verified.cs new file mode 100644 index 0000000000..113c8da000 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.OptimizePrompt.g.verified.cs @@ -0,0 +1,149 @@ +//HintName: G.ReposClient.OptimizePrompt.g.cs + +#nullable enable + +namespace G +{ + public partial class ReposClient + { + partial void PrepareOptimizePromptArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.OptimizePromptRequest request); + partial void PrepareOptimizePromptRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.OptimizePromptRequest request); + partial void ProcessOptimizePromptResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessOptimizePromptResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OptimizePromptAsync( + global::G.OptimizePromptRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareOptimizePromptArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/repos/optimize", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareOptimizePromptRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessOptimizePromptResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessOptimizePromptResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Optimize Prompt
+ /// Optimize prompt tables. + ///
+ /// + /// + /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task OptimizePromptAsync( + string prompt, + object metaprompt, + global::System.Collections.Generic.IList examples, + global::G.AnyOf overallFeedback, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.OptimizePromptRequest + { + Prompt = prompt, + Metaprompt = metaprompt, + Examples = examples, + OverallFeedback = overallFeedback, + }; + + return await OptimizePromptAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs index 617a0dcc01..fed1b106c4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ReposClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ReposClient : global::G.IReposClient, global::System /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.CreateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.CreateRule.g.verified.cs index 752db84ac1..5175f042c9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.CreateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.CreateRule.g.verified.cs @@ -144,6 +144,7 @@ partial void ProcessCreateRuleResponseContent( /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -165,6 +166,7 @@ partial void ProcessCreateRuleResponseContent( global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -187,6 +189,7 @@ partial void ProcessCreateRuleResponseContent( AddToDatasetId = addToDatasetId, AddToDatasetPreferCorrection = addToDatasetPreferCorrection, Evaluators = evaluators, + CodeEvaluators = codeEvaluators, Alerts = alerts, Webhooks = webhooks, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.ListRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.ListRules.g.verified.cs index c8e2cde48c..447a7b054b 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.ListRules.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.ListRules.g.verified.cs @@ -9,12 +9,16 @@ public partial class RunClient partial void PrepareListRulesArguments( global::System.Net.Http.HttpClient httpClient, ref global::G.AnyOf? datasetId, - ref global::G.AnyOf? sessionId); + ref global::G.AnyOf? sessionId, + ref global::G.AnyOf? type, + ref global::G.AnyOf? nameContains); partial void PrepareListRulesRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::G.AnyOf? datasetId, - global::G.AnyOf? sessionId); + global::G.AnyOf? sessionId, + global::G.AnyOf? type, + global::G.AnyOf? nameContains); partial void ProcessListRulesResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -30,11 +34,15 @@ partial void ProcessListRulesResponseContent( /// /// /// + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListRulesAsync( global::G.AnyOf? datasetId = default, global::G.AnyOf? sessionId = default, + global::G.AnyOf? type = default, + global::G.AnyOf? nameContains = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( @@ -42,7 +50,9 @@ partial void ProcessListRulesResponseContent( PrepareListRulesArguments( httpClient: _httpClient, datasetId: ref datasetId, - sessionId: ref sessionId); + sessionId: ref sessionId, + type: ref type, + nameContains: ref nameContains); var __pathBuilder = new PathBuilder( path: "/api/v1/runs/rules", @@ -50,6 +60,8 @@ partial void ProcessListRulesResponseContent( __pathBuilder .AddOptionalParameter("dataset_id", datasetId?.ToString() ?? string.Empty) .AddOptionalParameter("session_id", sessionId?.ToString() ?? string.Empty) + .AddOptionalParameter("type", type?.ToString() ?? string.Empty) + .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( @@ -79,7 +91,9 @@ partial void ProcessListRulesResponseContent( httpClient: _httpClient, httpRequestMessage: httpRequest, datasetId: datasetId, - sessionId: sessionId); + sessionId: sessionId, + type: type, + nameContains: nameContains); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MonitorTracerSession.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MonitorTracerSession.g.verified.cs index 5327a71e78..2ca5f0ce37 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MonitorTracerSession.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MonitorTracerSession.g.verified.cs @@ -124,8 +124,12 @@ partial void ProcessMonitorTracerSessionResponseContent( /// Default Value: UTC /// /// - /// - /// + /// + /// Timedelta input. + /// + /// + /// Timedelta input. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task MonitorTracerSessionAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs new file mode 100644 index 0000000000..d72138f8b0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.MultipartIngestRuns.g.verified.cs @@ -0,0 +1,105 @@ +//HintName: G.RunClient.MultipartIngestRuns.g.cs + +#nullable enable + +namespace G +{ + public partial class RunClient + { + partial void PrepareMultipartIngestRunsArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareMultipartIngestRunsRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessMultipartIngestRunsResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessMultipartIngestRunsResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Multipart Ingest Runs
+ /// Batch ingest runs. + ///
+ /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task MultipartIngestRunsAsync( + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: _httpClient); + PrepareMultipartIngestRunsArguments( + httpClient: _httpClient); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/runs/multipart", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareMultipartIngestRunsRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessMultipartIngestRunsResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessMultipartIngestRunsResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.QueryRuns.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.QueryRuns.g.verified.cs index 00fe81ff6b..6b08369dfe 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.QueryRuns.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.QueryRuns.g.verified.cs @@ -139,10 +139,10 @@ partial void ProcessQueryRunsResponseContent( /// Default Value: 100 /// /// - /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, child_run_ids, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] + /// Default Value: [id, name, run_type, start_time, end_time, status, error, extra, events, inputs, outputs, parent_run_id, manifest_id, manifest_s3_id, session_id, serialized, reference_example_id, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, price_model_id, first_token_time, trace_id, dotted_order, last_queued_at, feedback_stats, parent_run_ids, tags, in_dataset, app_path, share_token, trace_tier, trace_first_received_at, ttl_seconds, trace_upgrade] /// /// - /// Default Value: desc + /// Enum for run start date order. /// /// The token to cancel the operation with /// @@ -166,7 +166,7 @@ partial void ProcessQueryRunsResponseContent( global::G.AnyOf? cursor = default, int? limit = 100, global::System.Collections.Generic.IList? select = default, - global::G.RunDateOrder? order = global::G.RunDateOrder.Desc, + global::G.RunDateOrder? order = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.BodyParamsForRunSchema diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.TriggerRules.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.TriggerRules.g.verified.cs new file mode 100644 index 0000000000..a5491c9617 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.TriggerRules.g.verified.cs @@ -0,0 +1,143 @@ +//HintName: G.RunClient.TriggerRules.g.cs + +#nullable enable + +namespace G +{ + public partial class RunClient + { + partial void PrepareTriggerRulesArguments( + global::System.Net.Http.HttpClient httpClient, + global::G.TriggerRulesRequest request); + partial void PrepareTriggerRulesRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::G.TriggerRulesRequest request); + partial void ProcessTriggerRulesResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessTriggerRulesResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.TriggerRulesRequest request, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: _httpClient); + PrepareTriggerRulesArguments( + httpClient: _httpClient, + request: request); + + var __pathBuilder = new PathBuilder( + path: "/api/v1/runs/rules/trigger", + baseUri: _httpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + using var httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Post, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); + + foreach (var _authorization in _authorizations) + { + if (_authorization.Type == "Http" || + _authorization.Type == "OAuth2") + { + 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); + } + } + var __httpRequestContentBody = global::System.Text.Json.JsonSerializer.Serialize(request, JsonSerializerOptions); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + httpRequest.Content = __httpRequestContent; + + PrepareRequest( + client: _httpClient, + request: httpRequest); + PrepareTriggerRulesRequest( + httpClient: _httpClient, + httpRequestMessage: httpRequest, + request: request); + + using var response = await _httpClient.SendAsync( + request: httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: cancellationToken).ConfigureAwait(false); + + ProcessResponse( + client: _httpClient, + response: response); + ProcessTriggerRulesResponse( + httpClient: _httpClient, + httpResponseMessage: response); + + var __content = await response.Content.ReadAsStringAsync(cancellationToken).ConfigureAwait(false); + + ProcessResponseContent( + client: _httpClient, + response: response, + content: ref __content); + ProcessTriggerRulesResponseContent( + httpClient: _httpClient, + httpResponseMessage: response, + content: ref __content); + + try + { + response.EnsureSuccessStatusCode(); + } + catch (global::System.Net.Http.HttpRequestException ex) + { + throw new global::System.InvalidOperationException(__content, ex); + } + + return + global::System.Text.Json.JsonSerializer.Deserialize(__content, JsonSerializerOptions) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + + /// + /// Trigger Rules
+ /// Trigger an array of run rules manually. + ///
+ /// + /// + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task TriggerRulesAsync( + global::G.AnyOf, object>? ruleIds = default, + global::G.AnyOf? datasetId = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var request = new global::G.TriggerRulesRequest + { + RuleIds = ruleIds, + DatasetId = datasetId, + }; + + return await TriggerRulesAsync( + request: request, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRule.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRule.g.verified.cs index f581d64652..80de796fef 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRule.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRule.g.verified.cs @@ -151,6 +151,7 @@ partial void ProcessUpdateRuleResponseContent( /// Default Value: false /// /// + /// /// /// /// The token to cancel the operation with @@ -173,6 +174,7 @@ partial void ProcessUpdateRuleResponseContent( global::G.AnyOf? addToDatasetId = default, bool? addToDatasetPreferCorrection = false, global::G.AnyOf, object>? evaluators = default, + global::G.AnyOf, object>? codeEvaluators = default, global::G.AnyOf, object>? alerts = default, global::G.AnyOf, object>? webhooks = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -195,6 +197,7 @@ partial void ProcessUpdateRuleResponseContent( AddToDatasetId = addToDatasetId, AddToDatasetPreferCorrection = addToDatasetPreferCorrection, Evaluators = evaluators, + CodeEvaluators = codeEvaluators, Alerts = alerts, Webhooks = webhooks, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRun.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRun.g.verified.cs index 192b6f8153..d0e90597e9 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRun.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.UpdateRun.g.verified.cs @@ -139,6 +139,8 @@ partial void ProcessUpdateRunResponseContent( /// /// /// + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpdateRunAsync( @@ -155,6 +157,8 @@ partial void ProcessUpdateRunResponseContent( global::G.OneOf? extra = default, global::G.OneOf? inputAttachments = default, global::G.OneOf? outputAttachments = default, + global::G.OneOf? sessionId = default, + global::G.OneOf? sessionName = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.UpdateRunRequest @@ -171,6 +175,8 @@ partial void ProcessUpdateRunResponseContent( Extra = extra, InputAttachments = inputAttachments, OutputAttachments = outputAttachments, + SessionId = sessionId, + SessionName = sessionName, }; return await UpdateRunAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs index ebf6180620..a4936d7448 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.RunClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class RunClient : global::G.IRunClient, global::System.IDi /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs index 9ac76afdbf..dc2a0c3f1f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.ServiceAccountsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class ServiceAccountsClient : global::G.IServiceAccountsCl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs index 547a13287e..546252dfbb 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.SettingsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class SettingsClient : global::G.ISettingsClient, global:: /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.CreateTenant.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.CreateTenant.g.verified.cs index 2590c8c205..27cbe9cd65 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.CreateTenant.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.CreateTenant.g.verified.cs @@ -124,6 +124,9 @@ partial void ProcessCreateTenantResponseContent( /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateTenantAsync( @@ -131,6 +134,7 @@ partial void ProcessCreateTenantResponseContent( global::System.Guid? id = default, global::G.AnyOf? organizationId = default, global::G.AnyOf? tenantHandle = default, + bool? isPersonal = false, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.TenantCreate @@ -139,6 +143,7 @@ partial void ProcessCreateTenantResponseContent( OrganizationId = organizationId, DisplayName = displayName, TenantHandle = tenantHandle, + IsPersonal = isPersonal, }; return await CreateTenantAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.ListTenants.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.ListTenants.g.verified.cs index d25dfd432f..903af67f1f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.ListTenants.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.ListTenants.g.verified.cs @@ -7,10 +7,12 @@ namespace G public partial class TenantClient { partial void PrepareListTenantsArguments( - global::System.Net.Http.HttpClient httpClient); + global::System.Net.Http.HttpClient httpClient, + ref bool? skipCreate); partial void PrepareListTenantsRequest( global::System.Net.Http.HttpClient httpClient, - global::System.Net.Http.HttpRequestMessage httpRequestMessage); + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + bool? skipCreate); partial void ProcessListTenantsResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -24,19 +26,27 @@ partial void ProcessListTenantsResponseContent( /// List Tenants
/// Get all tenants visible to this auth /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task> ListTenantsAsync( + bool? skipCreate = false, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: _httpClient); PrepareListTenantsArguments( - httpClient: _httpClient); + httpClient: _httpClient, + skipCreate: ref skipCreate); var __pathBuilder = new PathBuilder( path: "/api/v1/tenants", baseUri: _httpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("skip_create", skipCreate?.ToString()) + ; var __path = __pathBuilder.ToString(); using var httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, @@ -63,7 +73,8 @@ partial void ProcessListTenantsResponseContent( request: httpRequest); PrepareListTenantsRequest( httpClient: _httpClient, - httpRequestMessage: httpRequest); + httpRequestMessage: httpRequest, + skipCreate: skipCreate); using var response = await _httpClient.SendAsync( request: httpRequest, diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs index 759123f6af..703491e3a8 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TenantClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class TenantClient : global::G.ITenantClient, global::Syst /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs index 8db97372ec..91993d67e5 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.CreateFilterView.g.verified.cs @@ -128,20 +128,26 @@ partial void ProcessCreateFilterViewResponseContent( /// /// /// + /// + /// /// /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task CreateFilterViewAsync( global::System.Guid sessionId, - string filterString, string displayName, + global::G.AnyOf? filterString = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::G.AnyOf? description = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.FilterViewCreate { FilterString = filterString, + TraceFilterString = traceFilterString, + TreeFilterString = treeFilterString, DisplayName = displayName, Description = description, }; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs index 2c5f4dc957..ce9af38a0a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.ReadTracerSessions.g.verified.cs @@ -14,7 +14,7 @@ partial void PrepareReadTracerSessionsArguments( ref global::G.AnyOf? name, ref global::G.AnyOf? nameContains, ref global::G.AnyOf? datasetVersion, - ref global::G.AllOf? sortBy, + ref global::G.SessionSortableColumns? sortBy, ref bool? sortByDesc, ref global::G.AnyOf? metadata, ref global::G.AnyOf? sortByFeedbackKey, @@ -32,7 +32,7 @@ partial void PrepareReadTracerSessionsRequest( global::G.AnyOf? name, global::G.AnyOf? nameContains, global::G.AnyOf? datasetVersion, - global::G.AllOf? sortBy, + global::G.SessionSortableColumns? sortBy, bool? sortByDesc, global::G.AnyOf? metadata, global::G.AnyOf? sortByFeedbackKey, @@ -60,9 +60,7 @@ partial void ProcessReadTracerSessionsResponseContent( /// /// /// - /// - /// Default Value: start_time - /// + /// /// /// Default Value: true /// @@ -88,7 +86,7 @@ partial void ProcessReadTracerSessionsResponseContent( global::G.AnyOf? name = default, global::G.AnyOf? nameContains = default, global::G.AnyOf? datasetVersion = default, - global::G.AllOf? sortBy = default, + global::G.SessionSortableColumns? sortBy = default, bool? sortByDesc = true, global::G.AnyOf? metadata = default, global::G.AnyOf? sortByFeedbackKey = default, @@ -129,7 +127,7 @@ partial void ProcessReadTracerSessionsResponseContent( .AddOptionalParameter("name", name?.ToString() ?? string.Empty) .AddOptionalParameter("name_contains", nameContains?.ToString() ?? string.Empty) .AddOptionalParameter("dataset_version", datasetVersion?.ToString() ?? string.Empty) - .AddOptionalParameter("sort_by", sortBy?.ToString() ?? string.Empty) + .AddOptionalParameter("sort_by", sortBy?.ToValueString()) .AddOptionalParameter("sort_by_desc", sortByDesc?.ToString()) .AddOptionalParameter("metadata", metadata?.ToString() ?? string.Empty) .AddOptionalParameter("sort_by_feedback_key", sortByFeedbackKey?.ToString() ?? string.Empty) diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs index 956dde03fa..01ab9f2baf 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.UpdateFilterView.g.verified.cs @@ -137,6 +137,8 @@ partial void ProcessUpdateFilterViewResponseContent( /// /// /// + /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpdateFilterViewAsync( @@ -145,6 +147,8 @@ partial void ProcessUpdateFilterViewResponseContent( global::G.AnyOf? filterString = default, global::G.AnyOf? displayName = default, global::G.AnyOf? description = default, + global::G.AnyOf? traceFilterString = default, + global::G.AnyOf? treeFilterString = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.FilterViewUpdate @@ -152,6 +156,8 @@ partial void ProcessUpdateFilterViewResponseContent( FilterString = filterString, DisplayName = displayName, Description = description, + TraceFilterString = traceFilterString, + TreeFilterString = treeFilterString, }; return await UpdateFilterViewAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs index 06e97f1287..24718f2c32 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TracerSessionsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class TracerSessionsClient : global::G.ITracerSessionsClie /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs index b2ab4c71e0..4ec6144fc4 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.UpsertTtlSettings.g.verified.cs @@ -120,17 +120,22 @@ partial void ProcessUpsertTtlSettingsResponseContent( /// /// /// + /// + /// Default Value: false + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task UpsertTtlSettingsAsync( global::G.TraceTier3 defaultTraceTier, global::G.AnyOf? tenantId = default, + bool? applyToAllProjects = false, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::G.UpsertTTLSettingsRequest { TenantId = tenantId, DefaultTraceTier = defaultTraceTier, + ApplyToAllProjects = applyToAllProjects, }; return await UpsertTtlSettingsAsync( diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs index df702e077c..c433de08f2 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.TtlSettingsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class TtlSettingsClient : global::G.ITtlSettingsClient, gl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs index 038cabc881..b87b6f668d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.UsageLimitsClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class UsageLimitsClient : global::G.IUsageLimitsClient, gl /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs index fc78fab387..3a7c6af47a 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#G.WorkspacesClient.g.verified.cs @@ -13,7 +13,7 @@ public sealed partial class WorkspacesClient : global::G.IWorkspacesClient, glob /// /// /// - public const string BaseUrl = "https://api.smith.langchain.com"; + public const string BaseUrl = ""; private readonly global::System.Net.Http.HttpClient _httpClient; private global::System.Collections.Generic.List _authorizations; diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOf1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOf1.g.verified.cs deleted file mode 100644 index b945f9d934..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOf1.g.verified.cs +++ /dev/null @@ -1,62 +0,0 @@ -//HintName: JsonConverters.AllOf1.g.cs -#nullable enable - -namespace G.JsonConverters -{ - /// - public class AllOfJsonConverter : global::System.Text.Json.Serialization.JsonConverter> - { - /// - public override global::G.AllOf 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."); - - var - readerCopy = reader; - T1? value1 = default; - try - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - value1 = global::System.Text.Json.JsonSerializer.Deserialize(ref readerCopy, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - - var result = new global::G.AllOf( - value1 - ); - - if (value1 != null) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - _ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo); - } - - return result; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::G.AllOf 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.IsValue1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(T1), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(T1).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.Value1, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOfFactory1.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOfFactory1.g.verified.cs deleted file mode 100644 index 4a2f8b96bd..0000000000 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AllOfFactory1.g.verified.cs +++ /dev/null @@ -1,26 +0,0 @@ -//HintName: JsonConverters.AllOfFactory1.g.cs -#nullable enable - -namespace G.JsonConverters -{ - /// - public sealed class AllOfJsonConverterFactory1 : global::System.Text.Json.Serialization.JsonConverterFactory - { - /// - public override bool CanConvert(global::System.Type? typeToConvert) - { - return typeToConvert is { IsGenericType: true } && typeToConvert.GetGenericTypeDefinition() == typeof(global::G.AllOf<>); - } - - /// - public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - typeToConvert = typeToConvert ?? throw new global::System.ArgumentNullException(nameof(typeToConvert)); - - return (global::System.Text.Json.Serialization.JsonConverter)global::System.Activator.CreateInstance( - typeof(AllOfJsonConverter<>).MakeGenericType(typeToConvert.GenericTypeArguments))!; - } - } -} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProvider.g.verified.cs new file mode 100644 index 0000000000..a0872c9f34 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProvider.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.AuthProvider.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class AuthProviderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.AuthProvider 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::G.AuthProviderExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.AuthProvider)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.AuthProvider value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.AuthProviderExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProviderNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProviderNullable.g.verified.cs new file mode 100644 index 0000000000..f575d068ce --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.AuthProviderNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.AuthProviderNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class AuthProviderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.AuthProvider? 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::G.AuthProviderExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.AuthProvider)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.AuthProvider? 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::G.AuthProviderExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompression.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompression.g.verified.cs new file mode 100644 index 0000000000..48d80582f9 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompression.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.BulkExportCompression.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportCompressionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportCompression 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::G.BulkExportCompressionExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportCompression)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportCompression value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.BulkExportCompressionExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompressionNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompressionNullable.g.verified.cs new file mode 100644 index 0000000000..e1027711a7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportCompressionNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.BulkExportCompressionNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportCompressionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportCompression? 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::G.BulkExportCompressionExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportCompression)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportCompression? 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::G.BulkExportCompressionExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationType.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationType.g.verified.cs new file mode 100644 index 0000000000..dfe61111f7 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationType.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.BulkExportDestinationType.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportDestinationTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportDestinationType 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::G.BulkExportDestinationTypeExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportDestinationType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportDestinationType value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.BulkExportDestinationTypeExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationTypeNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationTypeNullable.g.verified.cs new file mode 100644 index 0000000000..27d3090d46 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportDestinationTypeNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.BulkExportDestinationTypeNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportDestinationTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportDestinationType? 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::G.BulkExportDestinationTypeExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportDestinationType)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportDestinationType? 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::G.BulkExportDestinationTypeExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormat.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormat.g.verified.cs new file mode 100644 index 0000000000..df03af1eed --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormat.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.BulkExportFormat.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportFormat 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::G.BulkExportFormatExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportFormat)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportFormat value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.BulkExportFormatExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormatNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormatNullable.g.verified.cs new file mode 100644 index 0000000000..16d9222164 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportFormatNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.BulkExportFormatNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportFormat? 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::G.BulkExportFormatExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportFormat)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportFormat? 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::G.BulkExportFormatExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatus.g.verified.cs new file mode 100644 index 0000000000..2bedf0c850 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.BulkExportRunStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportRunStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportRunStatus 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::G.BulkExportRunStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportRunStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportRunStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.BulkExportRunStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatusNullable.g.verified.cs new file mode 100644 index 0000000000..52bf3f6f65 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportRunStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.BulkExportRunStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportRunStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportRunStatus? 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::G.BulkExportRunStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportRunStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportRunStatus? 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::G.BulkExportRunStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatus.g.verified.cs new file mode 100644 index 0000000000..42ca650344 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.BulkExportStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportStatus 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::G.BulkExportStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.BulkExportStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatusNullable.g.verified.cs new file mode 100644 index 0000000000..eea22cc289 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.BulkExportStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportStatus? 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::G.BulkExportStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportStatus? 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::G.BulkExportStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatus.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatus.g.verified.cs new file mode 100644 index 0000000000..2f3f99db5e --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatus.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.BulkExportUpdateStatus.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportUpdateStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportUpdateStatus 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::G.BulkExportUpdateStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportUpdateStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportUpdateStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.BulkExportUpdateStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatusNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatusNullable.g.verified.cs new file mode 100644 index 0000000000..0210b9c8fc --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.BulkExportUpdateStatusNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.BulkExportUpdateStatusNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class BulkExportUpdateStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.BulkExportUpdateStatus? 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::G.BulkExportUpdateStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.BulkExportUpdateStatus)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.BulkExportUpdateStatus? 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::G.BulkExportUpdateStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2.g.verified.cs new file mode 100644 index 0000000000..113e88b246 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.ListRulesApiV1RunsRulesGetType2.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ListRulesApiV1RunsRulesGetType2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ListRulesApiV1RunsRulesGetType2 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::G.ListRulesApiV1RunsRulesGetType2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ListRulesApiV1RunsRulesGetType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ListRulesApiV1RunsRulesGetType2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.ListRulesApiV1RunsRulesGetType2Extensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2Nullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2Nullable.g.verified.cs new file mode 100644 index 0000000000..a58b0c5906 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.ListRulesApiV1RunsRulesGetType2Nullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.ListRulesApiV1RunsRulesGetType2Nullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class ListRulesApiV1RunsRulesGetType2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.ListRulesApiV1RunsRulesGetType2? 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::G.ListRulesApiV1RunsRulesGetType2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.ListRulesApiV1RunsRulesGetType2)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.ListRulesApiV1RunsRulesGetType2? 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::G.ListRulesApiV1RunsRulesGetType2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProvider.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProvider.g.verified.cs new file mode 100644 index 0000000000..9ac84b4ef0 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProvider.g.verified.cs @@ -0,0 +1,50 @@ +//HintName: JsonConverters.OAuthProvider.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class OAuthProviderJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.OAuthProvider 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::G.OAuthProviderExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.OAuthProvider)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.OAuthProvider value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::G.OAuthProviderExtensions.ToValueString(value)); + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProviderNullable.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProviderNullable.g.verified.cs new file mode 100644 index 0000000000..a31feeb224 --- /dev/null +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonConverters.OAuthProviderNullable.g.verified.cs @@ -0,0 +1,57 @@ +//HintName: JsonConverters.OAuthProviderNullable.g.cs +#nullable enable + +namespace G.JsonConverters +{ + /// + public sealed class OAuthProviderNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::G.OAuthProvider? 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::G.OAuthProviderExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::G.OAuthProvider)numValue; + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::G.OAuthProvider? 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::G.OAuthProviderExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs index c2376cdfba..a6b1d77f1d 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextConverters.g.verified.cs @@ -13,6 +13,8 @@ internal sealed partial class JsonSerializerContextConverters { typeof(global::G.JsonConverters.AccessScopeJsonConverter), typeof(global::G.JsonConverters.AccessScopeNullableJsonConverter), + typeof(global::G.JsonConverters.AuthProviderJsonConverter), + typeof(global::G.JsonConverters.AuthProviderNullableJsonConverter), typeof(global::G.JsonConverters.RunTypeEnumJsonConverter), typeof(global::G.JsonConverters.RunTypeEnumNullableJsonConverter), typeof(global::G.JsonConverters.RunsFilterDataSourceTypeEnumJsonConverter), @@ -23,6 +25,18 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.RunDateOrderNullableJsonConverter), typeof(global::G.JsonConverters.DataTypeJsonConverter), typeof(global::G.JsonConverters.DataTypeNullableJsonConverter), + typeof(global::G.JsonConverters.BulkExportFormatJsonConverter), + typeof(global::G.JsonConverters.BulkExportFormatNullableJsonConverter), + typeof(global::G.JsonConverters.BulkExportCompressionJsonConverter), + typeof(global::G.JsonConverters.BulkExportCompressionNullableJsonConverter), + typeof(global::G.JsonConverters.BulkExportStatusJsonConverter), + typeof(global::G.JsonConverters.BulkExportStatusNullableJsonConverter), + typeof(global::G.JsonConverters.BulkExportDestinationTypeJsonConverter), + typeof(global::G.JsonConverters.BulkExportDestinationTypeNullableJsonConverter), + typeof(global::G.JsonConverters.BulkExportRunStatusJsonConverter), + typeof(global::G.JsonConverters.BulkExportRunStatusNullableJsonConverter), + typeof(global::G.JsonConverters.BulkExportUpdateStatusJsonConverter), + typeof(global::G.JsonConverters.BulkExportUpdateStatusNullableJsonConverter), typeof(global::G.JsonConverters.ChangePaymentPlanReqJsonConverter), typeof(global::G.JsonConverters.ChangePaymentPlanReqNullableJsonConverter), typeof(global::G.JsonConverters.ConfiguredByJsonConverter), @@ -47,6 +61,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.TraceTier3NullableJsonConverter), typeof(global::G.JsonConverters.FeedbackLevelJsonConverter), typeof(global::G.JsonConverters.FeedbackLevelNullableJsonConverter), + typeof(global::G.JsonConverters.OAuthProviderJsonConverter), + typeof(global::G.JsonConverters.OAuthProviderNullableJsonConverter), typeof(global::G.JsonConverters.OrgFeatureFlagsJsonConverter), typeof(global::G.JsonConverters.OrgFeatureFlagsNullableJsonConverter), typeof(global::G.JsonConverters.OrganizationDashboardColorSchemeJsonConverter), @@ -85,6 +101,8 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.CreateRunRequestRunTypeNullableJsonConverter), typeof(global::G.JsonConverters.BatchIngestRunsRequestPostItemRunTypeJsonConverter), typeof(global::G.JsonConverters.BatchIngestRunsRequestPostItemRunTypeNullableJsonConverter), + typeof(global::G.JsonConverters.ListRulesApiV1RunsRulesGetType2JsonConverter), + typeof(global::G.JsonConverters.ListRulesApiV1RunsRulesGetType2NullableJsonConverter), typeof(global::G.JsonConverters.ListReposApiV1ReposGetIsArchived2JsonConverter), typeof(global::G.JsonConverters.ListReposApiV1ReposGetIsArchived2NullableJsonConverter), typeof(global::G.JsonConverters.ListReposApiV1ReposGetIsPublic2JsonConverter), @@ -104,7 +122,6 @@ internal sealed partial class JsonSerializerContextConverters typeof(global::G.JsonConverters.AnyOfJsonConverterFactory5), typeof(global::G.JsonConverters.OneOfJsonConverterFactory2), typeof(global::G.JsonConverters.OneOfJsonConverterFactory3), - typeof(global::G.JsonConverters.AllOfJsonConverterFactory1), }; } } \ No newline at end of file diff --git a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs index 3082654416..5375c1736f 100644 --- a/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs +++ b/src/tests/AutoSDK.SnapshotTests/Snapshots/LangSmith/SystemTextJson/_#JsonSerializerContextTypes.g.verified.cs @@ -67,2126 +67,2366 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::G.AnnotationQueueCreateSchema? Type12 { get; set; } + public global::G.AllowedLoginMethodsUpdate? Type12 { get; set; } /// /// /// - public global::G.AnyOf? Type13 { get; set; } + public global::G.AnnotationQueueCreateSchema? Type13 { get; set; } /// /// /// - public global::G.AnyOf? Type14 { get; set; } + public global::G.AnyOf? Type14 { get; set; } /// /// /// - public global::G.AnyOf? Type15 { get; set; } + public global::G.AnyOf? Type15 { get; set; } /// /// /// - public int? Type16 { get; set; } + public global::G.AnyOf? Type16 { get; set; } /// /// /// - public global::G.AnyOf? Type17 { get; set; } + public int? Type17 { get; set; } /// /// /// - public global::G.AnnotationQueueRunSchema? Type18 { get; set; } + public global::G.AnyOf? Type18 { get; set; } /// /// /// - public global::G.AnnotationQueueRunUpdateSchema? Type19 { get; set; } + public global::G.AnnotationQueueRunSchema? Type19 { get; set; } /// /// /// - public global::G.AnnotationQueueSchema? Type20 { get; set; } + public global::G.AnnotationQueueRunUpdateSchema? Type20 { get; set; } /// /// /// - public global::G.AnnotationQueueSchemaWithSize? Type21 { get; set; } + public global::G.AnnotationQueueSchema? Type21 { get; set; } /// /// /// - public global::G.AnnotationQueueSizeSchema? Type22 { get; set; } + public global::G.AnnotationQueueSchemaWithSize? Type22 { get; set; } /// /// /// - public global::G.AnnotationQueueUpdateSchema? Type23 { get; set; } + public global::G.AnnotationQueueSizeSchema? Type23 { get; set; } /// /// /// - public global::G.AppFeedbackSource? Type24 { get; set; } + public global::G.AnnotationQueueUpdateSchema? Type24 { get; set; } /// /// /// - public global::G.AutoEvalFeedbackSource? Type25 { get; set; } + public global::G.AppFeedbackSource? Type25 { get; set; } /// /// /// - public global::G.BasicAuthMemberCreate? Type26 { get; set; } + public global::G.AuthProvider? Type26 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type27 { get; set; } + public global::G.AutoEvalFeedbackSource? Type27 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type28 { get; set; } + public global::G.BasicAuthMemberCreate? Type28 { get; set; } /// /// /// - public global::G.BasicAuthResponse? Type29 { get; set; } + public global::G.AnyOf, object>? Type29 { get; set; } /// /// /// - public global::G.BasicAuthUserPatch? Type30 { get; set; } + public global::System.Collections.Generic.IList? Type30 { get; set; } /// /// /// - public global::G.BatchIngestConfig? Type31 { get; set; } + public global::G.BasicAuthResponse? Type31 { get; set; } /// /// /// - public global::G.BodyParamsForRunSchema? Type32 { get; set; } + public global::G.BasicAuthUserPatch? Type32 { get; set; } /// /// /// - public global::G.AnyOf? Type33 { get; set; } + public global::G.BatchIngestConfig? Type33 { get; set; } /// /// /// - public global::G.RunTypeEnum? Type34 { get; set; } + public global::G.BodyParamsForRunSchema? Type34 { get; set; } /// /// /// - public global::G.AnyOf? Type35 { get; set; } + public global::G.AnyOf? Type35 { get; set; } /// /// /// - public global::G.RunsFilterDataSourceTypeEnum? Type36 { get; set; } + public global::G.RunTypeEnum? Type36 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type37 { get; set; } + public global::G.AnyOf? Type37 { get; set; } /// /// /// - public global::G.RunSelect? Type38 { get; set; } + public global::G.RunsFilterDataSourceTypeEnum? Type38 { get; set; } /// /// /// - public global::G.RunDateOrder? Type39 { get; set; } + public global::System.Collections.Generic.IList? Type39 { get; set; } /// /// /// - public global::G.BodyCloneDatasetApiV1DatasetsClonePost? Type40 { get; set; } + public global::G.RunSelect? Type40 { get; set; } /// /// /// - public global::G.AnyOf?, object>? Type41 { get; set; } + public global::G.RunDateOrder? Type41 { get; set; } /// /// /// - public global::G.AnyOf? Type42 { get; set; } + public global::G.BodyCloneDatasetApiV1DatasetsClonePost? Type42 { get; set; } /// /// /// - public global::G.BodyUpdateDatasetSplitsApiV1DatasetsDatasetIdSplitsPut? Type43 { get; set; } + public global::G.AnyOf?, object>? Type43 { get; set; } /// /// /// - public global::G.BodyUploadCsvDatasetApiV1DatasetsUploadPost? Type44 { get; set; } + public global::G.AnyOf? Type44 { get; set; } /// /// /// - public byte[]? Type45 { get; set; } + public global::G.BodyExecuteApiV1AceExecutePost? Type45 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type46 { get; set; } + public global::System.Collections.Generic.IList? Type46 { get; set; } /// /// /// - public global::G.DataType? Type47 { get; set; } + public global::G.BodyExecuteApiV1AceExecutePostArg? Type47 { get; set; } /// /// /// - public global::G.BodyUploadExamplesApiV1ExamplesUploadDatasetIdPost? Type48 { get; set; } + public global::G.BodyUpdateDatasetSplitsApiV1DatasetsDatasetIdSplitsPut? Type48 { get; set; } /// /// /// - public global::G.ChangePaymentPlanReq? Type49 { get; set; } + public global::G.BodyUploadCsvDatasetApiV1DatasetsUploadPost? Type49 { get; set; } /// /// /// - public global::G.ChangePaymentPlanSchema? Type50 { get; set; } + public byte[]? Type50 { get; set; } /// /// /// - public global::G.Comment? Type51 { get; set; } + public global::System.Collections.Generic.IList? Type51 { get; set; } /// /// /// - public global::G.CommitManifestResponse? Type52 { get; set; } + public global::G.DataType? Type52 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type53 { get; set; } + public global::G.BodyUploadExamplesApiV1ExamplesUploadDatasetIdPost? Type53 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type54 { get; set; } + public global::G.BulkExport? Type54 { get; set; } /// /// /// - public global::G.RepoExampleResponse? Type55 { get; set; } + public global::G.BulkExportFormat? Type55 { get; set; } /// /// /// - public global::G.CommitWithLookups? Type56 { get; set; } + public global::G.BulkExportCompression? Type56 { get; set; } /// /// /// - public global::G.ComparativeExperiment? Type57 { get; set; } + public global::G.BulkExportStatus? Type57 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type58 { get; set; } + public global::G.BulkExportCreate? Type58 { get; set; } /// /// /// - public global::G.SimpleExperimentInfo? Type59 { get; set; } + public global::G.BulkExportDestination? Type59 { get; set; } /// /// /// - public global::G.ComparativeExperimentBase? Type60 { get; set; } + public global::G.BulkExportDestinationType? Type60 { get; set; } /// /// /// - public global::G.ComparativeExperimentCreate? Type61 { get; set; } + public global::G.BulkExportDestinationS3Config? Type61 { get; set; } /// /// /// - public global::G.ConfiguredBy? Type62 { get; set; } + public global::G.BulkExportDestinationCreate? Type62 { get; set; } /// /// /// - public global::G.CreateCommentRequest? Type63 { get; set; } + public global::G.BulkExportDestinationS3Credentials? Type63 { get; set; } /// /// /// - public global::G.CreateEventRequest? Type64 { get; set; } + public global::G.BulkExportRun? Type64 { get; set; } /// /// /// - public global::G.CreateEventRequestEventType? Type65 { get; set; } + public global::G.BulkExportRunS3Metadata? Type65 { get; set; } /// /// /// - public global::G.CreateFeedbackConfigSchema? Type66 { get; set; } + public global::G.BulkExportRunStatus? Type66 { get; set; } /// /// /// - public global::G.FeedbackConfig? Type67 { get; set; } + public global::G.BulkExportUpdate? Type67 { get; set; } /// /// /// - public global::G.FeedbackType? Type68 { get; set; } + public global::G.BulkExportUpdateStatus? Type68 { get; set; } /// /// /// - public global::G.AnyOf? Type69 { get; set; } + public global::G.ChangePaymentPlanReq? Type69 { get; set; } /// /// /// - public double? Type70 { get; set; } + public global::G.ChangePaymentPlanSchema? Type70 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type71 { get; set; } + public global::G.CodeEvaluatorTopLevel? Type71 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type72 { get; set; } + public global::G.Comment? Type72 { get; set; } /// /// /// - public global::G.FeedbackCategory? Type73 { get; set; } + public global::G.CommitManifestResponse? Type73 { get; set; } /// /// /// - public global::G.CreateRepoCommitRequest? Type74 { get; set; } + public global::G.AnyOf, object>? Type74 { get; set; } /// /// /// - public global::G.CreateRepoCommitResponse? Type75 { get; set; } + public global::System.Collections.Generic.IList? Type75 { get; set; } /// /// /// - public global::G.CreateRepoRequest? Type76 { get; set; } + public global::G.RepoExampleResponse? Type76 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type77 { get; set; } + public global::G.CommitWithLookups? Type77 { get; set; } /// /// /// - public global::G.CreateRepoResponse? Type78 { get; set; } + public global::G.ComparativeExperiment? Type78 { get; set; } /// /// /// - public global::G.RepoWithLookups? Type79 { get; set; } + public global::System.Collections.Generic.IList? Type79 { get; set; } /// /// /// - public global::G.CreateRoleRequest? Type80 { get; set; } + public global::G.SimpleExperimentInfo? Type80 { get; set; } /// /// /// - public global::G.CustomChartCreate? Type81 { get; set; } + public global::G.ComparativeExperimentBase? Type81 { get; set; } /// /// /// - public global::G.CustomChartType? Type82 { get; set; } + public global::G.ComparativeExperimentCreate? Type82 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type83 { get; set; } + public global::G.ConfiguredBy? Type83 { get; set; } /// /// /// - public global::G.CustomChartSeriesCreate? Type84 { get; set; } + public global::G.CreateCommentRequest? Type84 { get; set; } /// /// /// - public global::G.AnyOf? Type85 { get; set; } + public global::G.CreateEventRequest? Type85 { get; set; } /// /// /// - public global::G.CustomChartSeriesFilters? Type86 { get; set; } + public global::G.CreateEventRequestEventType? Type86 { get; set; } /// /// /// - public global::G.CustomChartMetric? Type87 { get; set; } + public global::G.CreateFeedbackConfigSchema? Type87 { get; set; } /// /// /// - public global::G.CustomChartCreatePreview? Type88 { get; set; } + public global::G.FeedbackConfig? Type88 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type89 { get; set; } + public global::G.FeedbackType? Type89 { get; set; } /// /// /// - public global::G.CustomChartSeries? Type90 { get; set; } + public global::G.AnyOf? Type90 { get; set; } /// /// /// - public global::G.CustomChartPreviewRequest? Type91 { get; set; } + public double? Type91 { get; set; } /// /// /// - public global::G.CustomChartsRequestBase? Type92 { get; set; } + public global::G.AnyOf, object>? Type92 { get; set; } /// /// /// - public global::G.TimedeltaInput? Type93 { get; set; } + public global::System.Collections.Generic.IList? Type93 { get; set; } /// /// /// - public global::G.CustomChartResponse? Type94 { get; set; } + public global::G.FeedbackCategory? Type94 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type95 { get; set; } + public global::G.CreateRepoCommitRequest? Type95 { get; set; } /// /// /// - public global::G.CustomChartSeriesUpdate? Type96 { get; set; } + public global::G.CreateRepoCommitResponse? Type96 { get; set; } /// /// /// - public global::G.CustomChartUpdate? Type97 { get; set; } + public global::G.CreateRepoRequest? Type97 { get; set; } /// /// /// - public global::G.AnyOf? Type98 { get; set; } + public global::G.AnyOf, object>? Type98 { get; set; } /// /// /// - public global::G.Missing? Type99 { get; set; } + public global::G.CreateRepoResponse? Type99 { get; set; } /// /// /// - public global::G.MissingMissing1? Type100 { get; set; } + public global::G.RepoWithLookups? Type100 { get; set; } /// /// /// - public global::G.AnyOf? Type101 { get; set; } + public global::G.AnyOf? Type101 { get; set; } /// /// /// - public global::G.AnyOf? Type102 { get; set; } + public global::G.CreateRoleRequest? Type102 { get; set; } /// /// /// - public global::G.AnyOf? Type103 { get; set; } + public global::G.CustomChartCreate? Type103 { get; set; } /// /// /// - public global::G.AnyOf, global::G.Missing>? Type104 { get; set; } + public global::G.CustomChartType? Type104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type105 { get; set; } + public global::System.Collections.Generic.IList? Type105 { get; set; } /// /// /// - public global::G.AnyOf? Type106 { get; set; } + public global::G.CustomChartSeriesCreate? Type106 { get; set; } /// /// /// - public global::G.AnyOf? Type107 { get; set; } + public global::G.AnyOf? Type107 { get; set; } /// /// /// - public global::G.AnyOf? Type108 { get; set; } + public global::G.CustomChartSeriesFilters? Type108 { get; set; } /// /// /// - public global::G.CustomChartsDataPoint? Type109 { get; set; } + public global::G.CustomChartMetric? Type109 { get; set; } /// /// /// - public global::G.AnyOf? Type110 { get; set; } + public global::G.CustomChartCreatePreview? Type110 { get; set; } /// /// /// - public global::G.CustomChartsRequest? Type111 { get; set; } + public global::System.Collections.Generic.IList? Type111 { get; set; } /// /// /// - public global::G.CustomChartsResponse? Type112 { get; set; } + public global::G.CustomChartSeries? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type113 { get; set; } + public global::G.CustomChartPreviewRequest? Type113 { get; set; } /// /// /// - public global::G.CustomChartsSection? Type114 { get; set; } + public global::G.CustomChartsRequestBase? Type114 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type115 { get; set; } + public global::G.TimedeltaInput? Type115 { get; set; } /// /// /// - public global::G.SingleCustomChartResponse? Type116 { get; set; } + public global::G.CustomChartResponse? Type116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type117 { get; set; } + public global::G.AnyOf, object>? Type117 { get; set; } /// /// /// - public global::G.CustomChartsSectionCreate? Type118 { get; set; } + public global::G.CustomChartSeriesUpdate? Type118 { get; set; } /// /// /// - public global::G.CustomChartsSectionResponse? Type119 { get; set; } + public global::G.CustomChartUpdate? Type119 { get; set; } /// /// /// - public global::G.CustomChartsSectionUpdate? Type120 { get; set; } + public global::G.AnyOf? Type120 { get; set; } /// /// /// - public global::G.CustomerVisiblePlanInfo? Type121 { get; set; } + public global::G.Missing? Type121 { get; set; } /// /// /// - public global::G.PaymentPlanTier? Type122 { get; set; } + public global::G.MissingMissing1? Type122 { get; set; } /// /// /// - public global::G.Dataset? Type123 { get; set; } + public global::G.AnyOf? Type123 { get; set; } /// /// /// - public global::G.AnyOf? Type124 { get; set; } + public global::G.AnyOf? Type124 { get; set; } /// /// /// - public global::G.DatasetCreate? Type125 { get; set; } + public global::G.AnyOf? Type125 { get; set; } /// /// /// - public global::G.DatasetDiffInfo? Type126 { get; set; } + public global::G.AnyOf, global::G.Missing>? Type126 { get; set; } /// /// /// - public global::G.DatasetIndexInfo? Type127 { get; set; } + public global::System.Collections.Generic.IList? Type127 { get; set; } /// /// /// - public global::G.DatasetIndexRequest? Type128 { get; set; } + public global::G.AnyOf? Type128 { get; set; } /// /// /// - public global::G.DatasetPublicSchema? Type129 { get; set; } + public global::G.AnyOf? Type129 { get; set; } /// /// /// - public global::G.DatasetSchemaForUpdate? Type130 { get; set; } + public global::G.AnyOf? Type130 { get; set; } /// /// /// - public global::G.DatasetShareSchema? Type131 { get; set; } + public global::G.CustomChartsDataPoint? Type131 { get; set; } /// /// /// - public global::G.DatasetUpdate? Type132 { get; set; } + public global::G.AnyOf? Type132 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type133 { get; set; } + public global::G.CustomChartsRequest? Type133 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type134 { get; set; } + public global::G.CustomChartsResponse? Type134 { get; set; } /// /// /// - public global::G.ExampleUpdate? Type135 { get; set; } + public global::System.Collections.Generic.IList? Type135 { get; set; } /// /// /// - public global::G.AnyOf, string, object>? Type136 { get; set; } + public global::G.CustomChartsSection? Type136 { get; set; } /// /// /// - public global::G.DatasetVersion? Type137 { get; set; } + public global::System.Collections.Generic.IList? Type137 { get; set; } /// /// /// - public global::G.EvaluatorStructuredOutput? Type138 { get; set; } + public global::G.SingleCustomChartResponse? Type138 { get; set; } /// /// /// - public global::G.AnyOf>, object>? Type139 { get; set; } + public global::System.Collections.Generic.IList? Type139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type140 { get; set; } + public global::G.CustomChartsSectionCreate? Type140 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type141 { get; set; } + public global::G.CustomChartsSectionResponse? Type141 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type142 { get; set; } + public global::G.CustomChartsSectionUpdate? Type142 { get; set; } /// /// /// - public global::G.EvaluatorTopLevel? Type143 { get; set; } + public global::G.CustomerVisiblePlanInfo? Type143 { get; set; } /// /// /// - public global::G.Example? Type144 { get; set; } + public global::G.PaymentPlanTier? Type144 { get; set; } /// /// /// - public global::G.ExampleBulkCreate? Type145 { get; set; } + public global::G.Dataset? Type145 { get; set; } /// /// /// - public global::G.ExampleCreate? Type146 { get; set; } + public global::G.AnyOf? Type146 { get; set; } /// /// /// - public global::G.ExampleListOrder? Type147 { get; set; } + public global::G.DatasetCreate? Type147 { get; set; } /// /// /// - public global::G.ExampleSelect? Type148 { get; set; } + public global::G.DatasetDiffInfo? Type148 { get; set; } /// /// /// - public global::G.ExampleUpdateWithID? Type149 { get; set; } + public global::G.DatasetIndexInfo? Type149 { get; set; } /// /// /// - public global::G.ExampleWithRuns? Type150 { get; set; } + public global::G.DatasetIndexRequest? Type150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type151 { get; set; } + public global::G.DatasetPublicSchema? Type151 { get; set; } /// /// /// - public global::G.RunSchema? Type152 { get; set; } + public global::G.DatasetSchemaForUpdate? Type152 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type153 { get; set; } + public global::G.DatasetShareSchema? Type153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type154 { get; set; } + public global::G.DatasetUpdate? Type154 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type155 { get; set; } + public global::G.AnyOf, object>? Type155 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type156 { get; set; } + public global::System.Collections.Generic.Dictionary? Type156 { get; set; } /// /// /// - public global::G.AnyOf? Type157 { get; set; } + public global::G.ExampleUpdate? Type157 { get; set; } /// /// /// - public global::G.TraceTier3? Type158 { get; set; } + public global::G.AnyOf, string, object>? Type158 { get; set; } /// /// /// - public global::G.ExampleWithRunsCH? Type159 { get; set; } + public global::G.DatasetVersion? Type159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type160 { get; set; } + public global::G.EvaluatorStructuredOutput? Type160 { get; set; } /// /// /// - public global::G.RunSchemaComparisonView? Type161 { get; set; } + public global::G.AnyOf>, object>? Type161 { get; set; } /// /// /// - public global::G.ExperimentResultRow? Type162 { get; set; } + public global::System.Collections.Generic.IList>? Type162 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type163 { get; set; } + public global::G.AnyOf, object>? Type163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type164 { get; set; } + public global::System.Collections.Generic.Dictionary? Type164 { get; set; } /// /// /// - public global::G.FeedbackCreateCoreSchema? Type165 { get; set; } + public global::G.EvaluatorTopLevel? Type165 { get; set; } /// /// /// - public global::G.AnyOf? Type166 { get; set; } + public global::G.Example? Type166 { get; set; } /// /// /// - public global::G.AnyOf? Type167 { get; set; } + public global::G.ExampleBulkCreate? Type167 { get; set; } /// /// /// - public global::G.AnyOf? Type168 { get; set; } + public global::G.ExampleCreate? Type168 { get; set; } /// /// /// - public global::G.AnyOf? Type169 { get; set; } + public global::G.ExampleListOrder? Type169 { get; set; } /// /// /// - public global::G.ModelFeedbackSource? Type170 { get; set; } + public global::G.ExampleRunWithFeedback? Type170 { get; set; } /// /// /// - public global::G.AnyOf? Type171 { get; set; } + public global::G.ExampleSelect? Type171 { get; set; } /// /// /// - public global::G.ExperimentResultsUpload? Type172 { get; set; } + public global::G.ExampleUpdateWithID? Type172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type173 { get; set; } + public global::G.ExampleWithRuns? Type173 { get; set; } /// /// /// - public global::G.ExperimentResultsUploadResult? Type174 { get; set; } + public global::System.Collections.Generic.IList? Type174 { get; set; } /// /// /// - public global::G.TracerSession? Type175 { get; set; } + public global::G.RunSchema? Type175 { get; set; } /// /// /// - public global::G.FeedbackConfigSchema? Type176 { get; set; } + public global::G.AnyOf, object>? Type176 { get; set; } /// /// /// - public global::G.FeedbackCreateSchema? Type177 { get; set; } + public global::System.Collections.Generic.IList? Type177 { get; set; } /// /// /// - public global::G.FeedbackCreateWithTokenExtendedSchema? Type178 { get; set; } + public global::G.AnyOf, object>? Type178 { get; set; } /// /// /// - public global::G.AnyOf? Type179 { get; set; } + public global::System.Collections.Generic.Dictionary? Type179 { get; set; } /// /// /// - public global::G.FeedbackDelta? Type180 { get; set; } + public global::G.AnyOf? Type180 { get; set; } /// /// /// - public global::G.FeedbackIngestTokenCreateSchema? Type181 { get; set; } + public global::G.TraceTier3? Type181 { get; set; } /// /// /// - public global::G.AnyOf? Type182 { get; set; } + public global::G.ExampleWithRunsCH? Type182 { get; set; } /// /// /// - public global::G.FeedbackIngestTokenSchema? Type183 { get; set; } + public global::System.Collections.Generic.IList? Type183 { get; set; } /// /// /// - public global::G.FeedbackLevel? Type184 { get; set; } + public global::G.RunSchemaComparisonView? Type184 { get; set; } /// /// /// - public global::G.FeedbackSchema? Type185 { get; set; } + public global::G.ExperimentResultRow? Type185 { get; set; } /// /// /// - public global::G.AnyOf? Type186 { get; set; } + public global::G.AnyOf, object>? Type186 { get; set; } /// /// /// - public global::G.FeedbackSource4? Type187 { get; set; } + public global::System.Collections.Generic.IList? Type187 { get; set; } /// /// /// - public global::G.FeedbackUpdateSchema? Type188 { get; set; } + public global::G.FeedbackCreateCoreSchema? Type188 { get; set; } /// /// /// - public global::G.FilterQueryParamsForRunSchema? Type189 { get; set; } + public global::G.AnyOf? Type189 { get; set; } /// /// /// - public global::G.FilterView? Type190 { get; set; } + public global::G.AnyOf? Type190 { get; set; } /// /// /// - public global::G.FilterViewCreate? Type191 { get; set; } + public global::G.AnyOf? Type191 { get; set; } /// /// /// - public global::G.FilterViewUpdate? Type192 { get; set; } + public global::G.AnyOf? Type192 { get; set; } /// /// /// - public global::G.ForkRepoRequest? Type193 { get; set; } + public global::G.ModelFeedbackSource? Type193 { get; set; } /// /// /// - public global::G.GenerateSyntheticExamplesBody? Type194 { get; set; } + public global::G.AnyOf? Type194 { get; set; } /// /// /// - public global::G.GetRepoResponse? Type195 { get; set; } + public global::G.ExperimentResultsUpload? Type195 { get; set; } /// /// /// - public global::G.HTTPValidationError? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type197 { get; set; } + public global::G.ExperimentResultsUploadResult? Type197 { get; set; } /// /// /// - public global::G.ValidationError? Type198 { get; set; } + public global::G.TracerSession? Type198 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type199 { get; set; } + public global::G.FeedbackConfigSchema? Type199 { get; set; } /// /// /// - public global::G.AnyOf? Type200 { get; set; } + public global::G.FeedbackCreateSchema? Type200 { get; set; } /// /// /// - public global::G.Identity? Type201 { get; set; } + public global::G.FeedbackCreateWithTokenExtendedSchema? Type201 { get; set; } /// /// /// - public global::G.IdentityAnnotationQueueRunStatusCreateSchema? Type202 { get; set; } + public global::G.AnyOf? Type202 { get; set; } /// /// /// - public global::G.IdentityCreate? Type203 { get; set; } + public global::G.FeedbackDelta? Type203 { get; set; } /// /// /// - public global::G.IdentityPatch? Type204 { get; set; } + public global::G.FeedbackIngestTokenCreateSchema? Type204 { get; set; } /// /// /// - public global::G.InfoGetResponse? Type205 { get; set; } + public global::G.AnyOf? Type205 { get; set; } /// /// /// - public global::G.InvokePromptPayload? Type206 { get; set; } + public global::G.FeedbackIngestTokenSchema? Type206 { get; set; } /// /// /// - public global::G.LikeRepoRequest? Type207 { get; set; } + public global::G.FeedbackLevel? Type207 { get; set; } /// /// /// - public global::G.LikeRepoResponse? Type208 { get; set; } + public global::G.FeedbackSchema? Type208 { get; set; } /// /// /// - public global::G.ListCommentsResponse? Type209 { get; set; } + public global::G.AnyOf? Type209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type210 { get; set; } + public global::G.FeedbackSource4? Type210 { get; set; } /// /// /// - public global::G.ListCommitsResponse? Type211 { get; set; } + public global::G.FeedbackUpdateSchema? Type211 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type212 { get; set; } + public global::G.FilterQueryParamsForRunSchema? Type212 { get; set; } /// /// /// - public global::G.ListPublicDatasetRunsResponse? Type213 { get; set; } + public global::G.FilterView? Type213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type214 { get; set; } + public global::G.FilterViewCreate? Type214 { get; set; } /// /// /// - public global::G.RunPublicDatasetSchema? Type215 { get; set; } + public global::G.FilterViewUpdate? Type215 { get; set; } /// /// /// - public global::G.ListPublicRunsResponse? Type216 { get; set; } + public global::G.ForkRepoRequest? Type216 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type217 { get; set; } + public global::G.GenerateSyntheticExamplesBody? Type217 { get; set; } /// /// /// - public global::G.RunPublicSchema? Type218 { get; set; } + public global::G.GetRepoResponse? Type218 { get; set; } /// /// /// - public global::G.ListReposResponse? Type219 { get; set; } + public global::G.HTTPValidationError? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::G.ListRunsResponse? Type221 { get; set; } + public global::G.ValidationError? Type221 { get; set; } /// /// /// - public global::G.ListTagsResponse? Type222 { get; set; } + public global::System.Collections.Generic.IList>? Type222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type223 { get; set; } + public global::G.AnyOf? Type223 { get; set; } /// /// /// - public global::G.TagCount? Type224 { get; set; } + public global::G.Identity? Type224 { get; set; } /// /// /// - public global::G.MemberIdentity? Type225 { get; set; } + public global::G.IdentityAnnotationQueueRunStatusCreateSchema? Type225 { get; set; } /// /// /// - public global::G.MetadataKeyValue? Type226 { get; set; } + public global::G.IdentityCreate? Type226 { get; set; } /// /// /// - public global::G.ModelPriceMapCreateSchema? Type227 { get; set; } + public global::G.IdentityPatch? Type227 { get; set; } /// /// /// - public global::G.AnyOf? Type228 { get; set; } + public global::G.InfoGetResponse? Type228 { get; set; } /// /// /// - public global::G.ModelPriceMapUpdateSchema? Type229 { get; set; } + public global::G.InvokePromptPayload? Type229 { get; set; } /// /// /// - public global::G.MonitorBlock? Type230 { get; set; } + public global::G.LikeRepoRequest? Type230 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type231 { get; set; } + public global::G.LikeRepoResponse? Type231 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type232 { get; set; } + public global::G.ListCommentsResponse? Type232 { get; set; } /// /// /// - public global::G.MonitorBlockRowItem? Type233 { get; set; } + public global::System.Collections.Generic.IList? Type233 { get; set; } /// /// /// - public global::G.AnyOf>, object>? Type234 { get; set; } + public global::G.ListCommitsResponse? Type234 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type235 { get; set; } + public global::System.Collections.Generic.IList? Type235 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type236 { get; set; } + public global::G.ListPublicDatasetRunsResponse? Type236 { get; set; } /// /// /// - public global::G.MonitorGroupSpec? Type237 { get; set; } + public global::System.Collections.Generic.IList? Type237 { get; set; } /// /// /// - public global::G.AnyOf? Type238 { get; set; } + public global::G.RunPublicDatasetSchema? Type238 { get; set; } /// /// /// - public global::G.MonitorRequest? Type239 { get; set; } + public global::G.ListPublicRunsResponse? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type240 { get; set; } + public global::System.Collections.Generic.IList? Type240 { get; set; } /// /// /// - public global::G.MonitorResponse? Type241 { get; set; } + public global::G.RunPublicSchema? Type241 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type242 { get; set; } + public global::G.ListReposResponse? Type242 { get; set; } /// /// /// - public global::G.OrgFeatureFlags? Type243 { get; set; } + public global::System.Collections.Generic.IList? Type243 { get; set; } /// /// /// - public global::G.OrgIdentityPatch? Type244 { get; set; } + public global::G.ListRunsResponse? Type244 { get; set; } /// /// /// - public global::G.OrgMemberIdentity? Type245 { get; set; } + public global::G.ListTagsResponse? Type245 { get; set; } /// /// /// - public global::G.OrgPendingIdentity? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::G.Organization? Type247 { get; set; } + public global::G.TagCount? Type247 { get; set; } /// /// /// - public global::G.OrganizationConfig? Type248 { get; set; } + public global::G.MemberIdentity? Type248 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type249 { get; set; } + public global::G.MetadataKeyValue? Type249 { get; set; } /// /// /// - public global::G.AnyOf? Type250 { get; set; } + public global::G.ModelPriceMapCreateSchema? Type250 { get; set; } /// /// /// - public global::G.AnyOf? Type251 { get; set; } + public global::G.AnyOf? Type251 { get; set; } /// /// /// - public global::G.StripePaymentMethodInfo? Type252 { get; set; } + public global::G.ModelPriceMapUpdateSchema? Type252 { get; set; } /// /// /// - public global::G.AnyOf? Type253 { get; set; } + public global::G.MonitorBlock? Type253 { get; set; } /// /// /// - public global::G.OrganizationBillingInfo? Type254 { get; set; } + public global::System.Collections.Generic.IList>? Type254 { get; set; } /// /// /// - public global::G.OrganizationDashboardColorScheme? Type255 { get; set; } + public global::System.Collections.Generic.IList? Type255 { get; set; } /// /// /// - public global::G.OrganizationDashboardSchema? Type256 { get; set; } + public global::G.MonitorBlockRowItem? Type256 { get; set; } /// /// /// - public global::G.OrganizationDashboardType? Type257 { get; set; } + public global::G.AnyOf>, object>? Type257 { get; set; } /// /// /// - public global::G.OrganizationInfo? Type258 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type258 { get; set; } /// /// /// - public global::G.OrganizationMembers? Type259 { get; set; } + public global::System.Collections.Generic.IList? Type259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type260 { get; set; } + public global::G.MonitorGroupSpec? Type260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type261 { get; set; } + public global::G.AnyOf? Type261 { get; set; } /// /// /// - public global::G.OrganizationPGSchemaSlim? Type262 { get; set; } + public global::G.MonitorRequest? Type262 { get; set; } /// /// /// - public global::G.PagerdutySeverity? Type263 { get; set; } + public global::System.Collections.Generic.IList? Type263 { get; set; } /// /// /// - public global::G.PendingIdentity? Type264 { get; set; } + public global::G.MonitorResponse? Type264 { get; set; } /// /// /// - public global::G.PendingIdentityCreate? Type265 { get; set; } + public global::System.Collections.Generic.IList? Type265 { get; set; } /// /// /// - public global::G.PermissionResponse? Type266 { get; set; } + public global::G.OAuthProvider? Type266 { get; set; } /// /// /// - public global::G.PlaygroundSettingsCreateRequest? Type267 { get; set; } + public global::G.OptimizePromptRequest? Type267 { get; set; } /// /// /// - public global::G.PlaygroundSettingsResponse? Type268 { get; set; } + public global::System.Collections.Generic.IList? Type268 { get; set; } /// /// /// - public global::G.PlaygroundSettingsUpdateRequest? Type269 { get; set; } + public global::G.OptimizePromptResponse? Type269 { get; set; } /// /// /// - public global::G.PublicComparativeExperiment? Type270 { get; set; } + public global::G.OrgFeatureFlags? Type270 { get; set; } /// /// /// - public global::G.PublicExampleWithRuns? Type271 { get; set; } + public global::G.OrgIdentityPatch? Type271 { get; set; } /// /// /// - public global::G.PutDatasetVersionsSchema? Type272 { get; set; } + public global::G.OrgMemberIdentity? Type272 { get; set; } /// /// /// - public global::G.QueryExampleSchemaWithRuns? Type273 { get; set; } + public global::G.OrgPendingIdentity? Type273 { get; set; } /// /// /// - public global::G.AnyOf>, object>? Type274 { get; set; } + public global::G.Organization? Type274 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>? Type275 { get; set; } + public global::G.OrganizationConfig? Type275 { get; set; } /// /// /// - public global::G.QueryFeedbackDelta? Type276 { get; set; } + public global::System.Collections.Generic.Dictionary? Type276 { get; set; } /// /// /// - public global::G.QueryParamsForPublicRunSchema? Type277 { get; set; } + public global::G.AnyOf? Type277 { get; set; } /// /// /// - public global::G.RequestBodyForRunsGenerateQuery? Type278 { get; set; } + public global::G.AnyOf? Type278 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type279 { get; set; } + public global::G.StripePaymentMethodInfo? Type279 { get; set; } /// /// /// - public global::G.RunsGenerateQueryFeedbackKeys? Type280 { get; set; } + public global::G.AnyOf? Type280 { get; set; } /// /// /// - public global::G.Resource? Type281 { get; set; } + public global::G.OrganizationBillingInfo? Type281 { get; set; } /// /// /// - public global::G.ResourceType? Type282 { get; set; } + public global::G.OrganizationCreate? Type282 { get; set; } /// /// /// - public global::G.ResponseBodyForRunsGenerateQuery? Type283 { get; set; } + public global::G.OrganizationDashboardColorScheme? Type283 { get; set; } /// /// /// - public global::G.Role? Type284 { get; set; } + public global::G.OrganizationDashboardSchema? Type284 { get; set; } /// /// /// - public global::G.AnyOf? Type285 { get; set; } + public global::G.OrganizationDashboardType? Type285 { get; set; } /// /// /// - public global::G.RuleLogActionOutcome? Type286 { get; set; } + public global::G.OrganizationInfo? Type286 { get; set; } /// /// /// - public global::G.RuleLogActionResponse? Type287 { get; set; } + public global::G.OrganizationMembers? Type287 { get; set; } /// /// /// - public global::G.RuleLogSchema? Type288 { get; set; } + public global::System.Collections.Generic.IList? Type288 { get; set; } /// /// /// - public global::G.AnyOf? Type289 { get; set; } + public global::System.Collections.Generic.IList? Type289 { get; set; } /// /// /// - public global::G.RunGroupBy? Type290 { get; set; } + public global::G.OrganizationPGSchemaSlim? Type290 { get; set; } /// /// /// - public global::G.RunGroupRequest? Type291 { get; set; } + public global::G.OrganizationUpdate? Type291 { get; set; } /// /// /// - public global::G.RunGroupStats? Type292 { get; set; } + public global::G.PagerdutySeverity? Type292 { get; set; } /// /// /// - public global::G.RunRulesAlertType? Type293 { get; set; } + public global::G.PendingIdentity? Type293 { get; set; } /// /// /// - public global::G.RunRulesCreateSchema? Type294 { get; set; } + public global::G.PendingIdentityCreate? Type294 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type295 { get; set; } + public global::G.PermissionResponse? Type295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type296 { get; set; } + public global::G.PlaygroundRunOverDatasetRequestSchema? Type296 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type297 { get; set; } + public global::G.PlaygroundRunOverDatasetRequestSchemaManifest? Type297 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type298 { get; set; } + public global::G.AnyOf, object>? Type298 { get; set; } /// /// /// - public global::G.RunRulesPagerdutyAlertSchema? Type299 { get; set; } + public global::System.Collections.Generic.IList? Type299 { get; set; } /// /// /// - public global::G.AnyOf? Type300 { get; set; } + public global::G.PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item? Type300 { get; set; } /// /// /// - public global::G.AnyOf? Type301 { get; set; } + public global::G.RunnableConfig? Type301 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type302 { get; set; } + public global::G.AnyOf, global::G.RunnableConfigCallbacks, object>? Type302 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type303 { get; set; } + public global::System.Collections.Generic.IList? Type303 { get; set; } /// /// /// - public global::G.RunRulesWebhookSchema? Type304 { get; set; } + public global::G.RunnableConfigCallback? Type304 { get; set; } /// /// /// - public global::G.RunRulesSchema? Type305 { get; set; } + public global::G.RunnableConfigCallbacks? Type305 { get; set; } /// /// /// - public global::G.RunSchemaWithAnnotationQueueInfo? Type306 { get; set; } + public global::G.PlaygroundSettingsCreateRequest? Type306 { get; set; } /// /// /// - public global::G.RunShareSchema? Type307 { get; set; } + public global::G.PlaygroundSettingsResponse? Type307 { get; set; } /// /// /// - public global::G.RunStats? Type308 { get; set; } + public global::G.PlaygroundSettingsUpdateRequest? Type308 { get; set; } /// /// /// - public global::G.SearchDatasetRequest? Type309 { get; set; } + public global::G.ProviderUserSlim? Type309 { get; set; } /// /// /// - public global::G.SearchDatasetResponse? Type310 { get; set; } + public global::G.AnyOf? Type310 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type311 { get; set; } + public global::G.PublicComparativeExperiment? Type311 { get; set; } /// /// /// - public global::G.SearchedFewShotExample? Type312 { get; set; } + public global::G.PublicExampleWithRuns? Type312 { get; set; } /// /// /// - public global::G.SecretKey? Type313 { get; set; } + public global::G.PutDatasetVersionsSchema? Type313 { get; set; } /// /// /// - public global::G.SecretUpsert? Type314 { get; set; } + public global::G.QueryExampleSchemaWithRuns? Type314 { get; set; } /// /// /// - public global::G.ServiceAccount? Type315 { get; set; } + public global::G.AnyOf>, object>? Type315 { get; set; } /// /// /// - public global::G.ServiceAccountCreateRequest? Type316 { get; set; } + public global::System.Collections.Generic.Dictionary>? Type316 { get; set; } /// /// /// - public global::G.ServiceAccountCreateResponse? Type317 { get; set; } + public global::G.QueryFeedbackDelta? Type317 { get; set; } /// /// /// - public global::G.ServiceAccountDeleteResponse? Type318 { get; set; } + public global::G.QueryParamsForPublicRunSchema? Type318 { get; set; } /// /// /// - public global::G.SessionFeedbackDelta? Type319 { get; set; } + public global::G.RequestBodyForRunsGenerateQuery? Type319 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type320 { get; set; } + public global::System.Collections.Generic.IList? Type320 { get; set; } /// /// /// - public global::G.SessionSortableColumns? Type321 { get; set; } + public global::G.RunsGenerateQueryFeedbackKeys? Type321 { get; set; } /// /// /// - public global::G.SetTenantHandleRequest? Type322 { get; set; } + public global::G.Resource? Type322 { get; set; } /// /// /// - public global::G.SingleCustomChartResponseBase? Type323 { get; set; } + public global::G.ResourceType? Type323 { get; set; } /// /// /// - public global::G.SortByComparativeExperimentColumn? Type324 { get; set; } + public global::G.ResponseBodyForRunsGenerateQuery? Type324 { get; set; } /// /// /// - public global::G.SortByDatasetColumn? Type325 { get; set; } + public global::G.Role? Type325 { get; set; } /// /// /// - public global::G.SourceType? Type326 { get; set; } + public global::G.AnyOf? Type326 { get; set; } /// /// /// - public global::G.StripeBusinessBillingInfo? Type327 { get; set; } + public global::G.RuleLogActionOutcome? Type327 { get; set; } /// /// /// - public global::G.AnyOf? Type328 { get; set; } + public global::G.RuleLogActionResponse? Type328 { get; set; } /// /// /// - public global::G.StripeCustomerAddress? Type329 { get; set; } + public global::G.RuleLogSchema? Type329 { get; set; } /// /// /// - public global::G.StripeBusinessInfoInput? Type330 { get; set; } + public global::G.AnyOf? Type330 { get; set; } /// /// /// - public global::G.AnyOf? Type331 { get; set; } + public global::G.RunGroupBy? Type331 { get; set; } /// /// /// - public global::G.AnyOf? Type332 { get; set; } + public global::G.RunGroupRequest? Type332 { get; set; } /// /// /// - public global::G.StripeTaxId? Type333 { get; set; } + public global::G.RunGroupStats? Type333 { get; set; } /// /// /// - public global::G.StripeBusinessInfoOutput? Type334 { get; set; } + public global::G.RunRulesAlertType? Type334 { get; set; } /// /// /// - public global::G.StripeCustomerBillingInfo? Type335 { get; set; } + public global::G.RunRulesCreateSchema? Type335 { get; set; } /// /// /// - public global::G.StripePaymentInformation? Type336 { get; set; } + public global::G.AnyOf, object>? Type336 { get; set; } /// /// /// - public global::G.StripeSetupIntentResponse? Type337 { get; set; } + public global::System.Collections.Generic.IList? Type337 { get; set; } /// /// /// - public global::G.TTLSettings? Type338 { get; set; } + public global::G.AnyOf, object>? Type338 { get; set; } /// /// /// - public global::G.TagKey? Type339 { get; set; } + public global::System.Collections.Generic.IList? Type339 { get; set; } /// /// /// - public global::G.TagKeyCreate? Type340 { get; set; } + public global::G.AnyOf, object>? Type340 { get; set; } /// /// /// - public global::G.TagKeyUpdate? Type341 { get; set; } + public global::System.Collections.Generic.IList? Type341 { get; set; } /// /// /// - public global::G.TagKeyWithValues? Type342 { get; set; } + public global::G.RunRulesPagerdutyAlertSchema? Type342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type343 { get; set; } + public global::G.AnyOf? Type343 { get; set; } /// /// /// - public global::G.TagValue? Type344 { get; set; } + public global::G.AnyOf? Type344 { get; set; } /// /// /// - public global::G.TagKeyWithValuesAndTaggings? Type345 { get; set; } + public global::G.AnyOf, object>? Type345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type346 { get; set; } + public global::System.Collections.Generic.IList? Type346 { get; set; } /// /// /// - public global::G.TagValueWithTaggings? Type347 { get; set; } + public global::G.RunRulesWebhookSchema? Type347 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type348 { get; set; } + public global::G.RunRulesSchema? Type348 { get; set; } /// /// /// - public global::G.Tagging? Type349 { get; set; } + public global::G.RunSchemaWithAnnotationQueueInfo? Type349 { get; set; } /// /// /// - public global::G.TagValueCreate? Type350 { get; set; } + public global::G.RunShareSchema? Type350 { get; set; } /// /// /// - public global::G.TagValueUpdate? Type351 { get; set; } + public global::G.RunStats? Type351 { get; set; } /// /// /// - public global::G.TaggingCreate? Type352 { get; set; } + public global::G.SSOConfirmEmailRequest? Type352 { get; set; } /// /// /// - public global::G.TaggingsByResourceType? Type353 { get; set; } + public global::G.SSOEmailVerificationSendRequest? Type353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type354 { get; set; } + public global::G.SSOEmailVerificationStatusRequest? Type354 { get; set; } /// /// /// - public global::G.TaggingsResponse? Type355 { get; set; } + public global::G.SSOEmailVerificationStatusResponse? Type355 { get; set; } /// /// /// - public global::G.TenantBulkUnshareRequest? Type356 { get; set; } + public global::G.SSOProvider? Type356 { get; set; } /// /// /// - public global::G.TenantCreate? Type357 { get; set; } + public global::G.SSOProviderSlim? Type357 { get; set; } /// /// /// - public global::G.TenantForUser? Type358 { get; set; } + public global::G.SSOSettingsCreate? Type358 { get; set; } /// /// /// - public global::G.TenantMembers? Type359 { get; set; } + public global::G.SSOSettingsUpdate? Type359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type360 { get; set; } + public global::G.SearchDatasetRequest? Type360 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type361 { get; set; } + public global::G.SearchDatasetResponse? Type361 { get; set; } /// /// /// - public global::G.TenantShareDatasetToken? Type362 { get; set; } + public global::System.Collections.Generic.IList? Type362 { get; set; } /// /// /// - public global::G.TenantShareDatasetTokenType? Type363 { get; set; } + public global::G.SearchedFewShotExample? Type363 { get; set; } /// /// /// - public global::G.TenantShareRunToken? Type364 { get; set; } + public global::G.SecretKey? Type364 { get; set; } /// /// /// - public global::G.TenantShareRunTokenType? Type365 { get; set; } + public global::G.SecretUpsert? Type365 { get; set; } /// /// /// - public global::G.TenantShareTokensResponse? Type366 { get; set; } + public global::G.ServiceAccount? Type366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type367 { get; set; } + public global::G.ServiceAccountCreateRequest? Type367 { get; set; } /// /// /// - public global::G.OneOf? Type368 { get; set; } + public global::G.ServiceAccountCreateResponse? Type368 { get; set; } /// /// /// - public global::G.TenantStats? Type369 { get; set; } + public global::G.ServiceAccountDeleteResponse? Type369 { get; set; } /// /// /// - public global::G.TenantUsageLimitInfo? Type370 { get; set; } + public global::G.SessionFeedbackDelta? Type370 { get; set; } /// /// /// - public global::G.AnyOf? Type371 { get; set; } + public global::System.Collections.Generic.Dictionary? Type371 { get; set; } /// /// /// - public global::G.TenantUsageLimitType? Type372 { get; set; } + public global::G.SessionSortableColumns? Type372 { get; set; } /// /// /// - public global::G.TracerSessionCreate? Type373 { get; set; } + public global::G.SetTenantHandleRequest? Type373 { get; set; } /// /// /// - public global::G.TracerSessionUpdate? Type374 { get; set; } + public global::G.SingleCustomChartResponseBase? Type374 { get; set; } /// /// /// - public global::G.TracerSessionWithoutVirtualFields? Type375 { get; set; } + public global::G.SortByComparativeExperimentColumn? Type375 { get; set; } /// /// /// - public global::G.UpdateFeedbackConfigSchema? Type376 { get; set; } + public global::G.SortByDatasetColumn? Type376 { get; set; } /// /// /// - public global::G.UpdateRepoRequest? Type377 { get; set; } + public global::G.SourceType? Type377 { get; set; } /// /// /// - public global::G.UpdateRoleRequest? Type378 { get; set; } + public global::G.StripeBusinessBillingInfo? Type378 { get; set; } /// /// /// - public global::G.UpsertOrgOrWorkspaceTTLSettingsRequest? Type379 { get; set; } + public global::G.AnyOf? Type379 { get; set; } /// /// /// - public global::G.UpsertTTLSettingsRequest? Type380 { get; set; } + public global::G.StripeCustomerAddress? Type380 { get; set; } /// /// /// - public global::G.UpsertUsageLimit? Type381 { get; set; } + public global::G.StripeBusinessInfoInput? Type381 { get; set; } /// /// /// - public global::G.UsageLimitType2? Type382 { get; set; } + public global::G.AnyOf? Type382 { get; set; } /// /// /// - public global::G.UsageLimit? Type383 { get; set; } + public global::G.AnyOf? Type383 { get; set; } /// /// /// - public global::G.UserWithPassword? Type384 { get; set; } + public global::G.StripeTaxId? Type384 { get; set; } /// /// /// - public global::G.WorkspaceCreate? Type385 { get; set; } + public global::G.StripeBusinessInfoOutput? Type385 { get; set; } /// /// /// - public global::G.WorkspacePatch? Type386 { get; set; } + public global::G.StripeCustomerBillingInfo? Type386 { get; set; } /// /// /// - public global::G.AppHubCrudTenantsTenant? Type387 { get; set; } + public global::G.StripePaymentInformation? Type387 { get; set; } /// /// /// - public global::G.AppSchemasTenant? Type388 { get; set; } + public global::G.StripeSetupIntentResponse? Type388 { get; set; } /// /// /// - public global::G.CreateRunRequest? Type389 { get; set; } + public global::G.TTLSettings? Type389 { get; set; } /// /// /// - public global::G.OneOf? Type390 { get; set; } + public global::G.TagKey? Type390 { get; set; } /// /// /// - public global::G.CreateRunRequestRunType? Type391 { get; set; } + public global::G.TagKeyCreate? Type391 { get; set; } /// /// /// - public global::G.OneOf? Type392 { get; set; } + public global::G.TagKeyUpdate? Type392 { get; set; } /// /// /// - public global::G.OneOf? Type393 { get; set; } + public global::G.TagKeyWithValues? Type393 { get; set; } /// /// /// - public global::G.OneOf? Type394 { get; set; } + public global::System.Collections.Generic.IList? Type394 { get; set; } /// /// /// - public global::G.OneOf, object>? Type395 { get; set; } + public global::G.TagValue? Type395 { get; set; } /// /// /// - public global::G.OneOf, object>? Type396 { get; set; } + public global::G.TagKeyWithValuesAndTaggings? Type396 { get; set; } /// /// /// - public global::G.BatchIngestRunsRequest? Type397 { get; set; } + public global::System.Collections.Generic.IList? Type397 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type398 { get; set; } + public global::G.TagValueWithTaggings? Type398 { get; set; } /// /// /// - public global::G.BatchIngestRunsRequestPostItem? Type399 { get; set; } + public global::System.Collections.Generic.IList? Type399 { get; set; } /// /// /// - public global::G.BatchIngestRunsRequestPostItemRunType? Type400 { get; set; } + public global::G.Tagging? Type400 { get; set; } /// /// /// - public global::G.OneOf? Type401 { get; set; } + public global::G.TagValueCreate? Type401 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type402 { get; set; } + public global::G.TagValueUpdate? Type402 { get; set; } /// /// /// - public global::G.BatchIngestRunsRequestPatchItem? Type403 { get; set; } + public global::G.TaggingCreate? Type403 { get; set; } /// /// /// - public global::G.UpdateRunRequest? Type404 { get; set; } + public global::G.TaggingsByResourceType? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::System.Collections.Generic.IList? Type405 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type406 { get; set; } + public global::G.TaggingsResponse? Type406 { get; set; } /// /// /// - public global::G.AllOf? Type407 { get; set; } + public global::G.TenantBulkUnshareRequest? Type407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type408 { get; set; } + public global::G.TenantCreate? Type408 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type409 { get; set; } + public global::G.TenantForUser? Type409 { get; set; } /// /// /// - public global::G.AnyOf>? Type410 { get; set; } + public global::G.TenantMembers? Type410 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type412 { get; set; } + public global::System.Collections.Generic.IList? Type412 { get; set; } /// /// /// - public global::G.AllOf? Type413 { get; set; } + public global::G.TenantShareDatasetToken? Type413 { get; set; } /// /// /// - public global::G.AnyOf? Type414 { get; set; } + public global::G.TenantShareDatasetTokenType? Type414 { get; set; } /// /// /// - public global::G.AllOf? Type415 { get; set; } + public global::G.TenantShareRunToken? Type415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type416 { get; set; } + public global::G.TenantShareRunTokenType? Type416 { get; set; } /// /// /// - public global::G.AnyOf, global::G.DataType?, object>? Type417 { get; set; } + public global::G.TenantShareTokensResponse? Type417 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type418 { get; set; } + public global::System.Collections.Generic.IList>? Type418 { get; set; } /// /// /// - public global::G.AllOf? Type419 { get; set; } + public global::G.OneOf? Type419 { get; set; } /// /// /// - public global::G.AllOf? Type420 { get; set; } + public global::G.TenantStats? Type420 { get; set; } /// /// /// - public global::G.AnyOf, object>? Type421 { get; set; } + public global::G.TenantUsageLimitInfo? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type422 { get; set; } + public global::G.AnyOf? Type422 { get; set; } /// /// /// - public global::G.AnyOf? Type423 { get; set; } + public global::G.TenantUsageLimitType? Type423 { get; set; } /// /// /// - public global::G.AnyOf? Type424 { get; set; } + public global::G.TracerSessionCreate? Type424 { get; set; } /// /// /// - public global::G.ListReposApiV1ReposGetIsArchived2? Type425 { get; set; } + public global::G.TracerSessionUpdate? Type425 { get; set; } /// /// /// - public global::G.AnyOf? Type426 { get; set; } + public global::G.TracerSessionWithoutVirtualFields? Type426 { get; set; } /// /// /// - public global::G.ListReposApiV1ReposGetIsPublic2? Type427 { get; set; } + public global::G.TriggerRulesRequest? Type427 { get; set; } /// /// /// - public global::G.AnyOf? Type428 { get; set; } + public global::G.UpdateFeedbackConfigSchema? Type428 { get; set; } /// /// /// - public global::G.ListReposApiV1ReposGetSortDirectionVariant1? Type429 { get; set; } + public global::G.UpdateRepoRequest? Type429 { get; set; } /// /// /// - public global::G.ListReposApiV1ReposGetSortDirectionVariant2? Type430 { get; set; } + public global::G.UpdateRoleRequest? Type430 { get; set; } /// /// /// - public global::G.AnyOf? Type431 { get; set; } + public global::G.UpsertTTLSettingsRequest? Type431 { get; set; } /// /// /// - public global::G.ListRepoTagsApiV1ReposTagsGetIsArchived2? Type432 { get; set; } + public global::G.UpsertUsageLimit? Type432 { get; set; } /// /// /// - public global::G.AnyOf? Type433 { get; set; } + public global::G.UsageLimitType2? Type433 { get; set; } /// /// /// - public global::G.ListRepoTagsApiV1ReposTagsGetIsPublic2? Type434 { get; set; } + public global::G.UsageLimit? Type434 { get; set; } /// /// /// - public global::G.DeleteTracerSessionApiV1SessionsSessionIdDeleteResponse? Type435 { get; set; } + public global::G.UserWithPassword? Type435 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type436 { get; set; } + public global::G.WorkspaceCreate? Type436 { get; set; } /// /// /// - public global::G.DeleteTracerSessionsApiV1SessionsDeleteResponse? Type437 { get; set; } + public global::G.WorkspacePatch? Type437 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type438 { get; set; } + public global::G.AppHubCrudTenantsTenant? Type438 { get; set; } /// /// /// - public global::G.DeleteFilterViewApiV1SessionsSessionIdViewsViewIdDeleteResponse? Type439 { get; set; } + public global::G.AppSchemasTenant? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type440 { get; set; } + public global::G.CreateRunRequest? Type440 { get; set; } /// /// /// - public global::G.OnPaymentMethodCreatedApiV1OrgsCurrentPaymentMethodPostResponse? Type441 { get; set; } + public global::G.OneOf? Type441 { get; set; } /// /// /// - public global::G.SetCompanyInfoApiV1OrgsCurrentBusinessInfoPostResponse? Type442 { get; set; } + public global::G.CreateRunRequestRunType? Type442 { get; set; } /// /// /// - public global::G.ChangePaymentPlanApiV1OrgsCurrentPlanPostResponse? Type443 { get; set; } + public global::G.OneOf? Type443 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type444 { get; set; } + public global::G.OneOf? Type444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type445 { get; set; } + public global::G.OneOf? Type445 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type446 { get; set; } + public global::G.OneOf, object>? Type446 { get; set; } /// /// /// - public global::G.DeleteCurrentOrgPendingMemberApiV1OrgsCurrentMembersIdentityIdPendingDeleteResponse? Type447 { get; set; } + public global::G.OneOf, object>? Type447 { get; set; } /// /// /// - public global::G.DeletePendingOrganizationInviteApiV1OrgsPendingOrganizationIdDeleteResponse? Type448 { get; set; } + public global::G.BatchIngestRunsRequest? Type448 { get; set; } /// /// /// - public global::G.RemoveMemberFromCurrentOrgApiV1OrgsCurrentMembersIdentityIdDeleteResponse? Type449 { get; set; } + public global::System.Collections.Generic.IList? Type449 { get; set; } /// /// /// - public global::G.UpdateCurrentOrgMemberApiV1OrgsCurrentMembersIdentityIdPatchResponse? Type450 { get; set; } + public global::G.BatchIngestRunsRequestPostItem? Type450 { get; set; } /// /// /// - public global::G.UpdateCurrentUserApiV1OrgsMembersBasicPatchResponse? Type451 { get; set; } + public global::G.BatchIngestRunsRequestPostItemRunType? Type451 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type452 { get; set; } + public global::G.OneOf? Type452 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type453 { get; set; } + public global::System.Collections.Generic.IList? Type453 { get; set; } /// /// /// - public global::G.UpdateExampleApiV1ExamplesExampleIdPatchResponse? Type454 { get; set; } + public global::G.BatchIngestRunsRequestPatchItem? Type454 { get; set; } /// /// /// - public global::G.DeleteExampleApiV1ExamplesExampleIdDeleteResponse? Type455 { get; set; } + public global::G.UpdateRunRequest? Type455 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type456 { get; set; } + public global::System.Collections.Generic.IList? Type456 { get; set; } /// /// /// - public global::G.DeleteExamplesApiV1ExamplesDeleteResponse? Type457 { get; set; } + public global::System.Collections.Generic.IList? Type457 { get; set; } /// /// /// - public global::G.UpdateExamplesApiV1ExamplesBulkPatchResponse? Type458 { get; set; } + public global::System.Collections.Generic.IList? Type458 { get; set; } /// /// /// - public global::G.DeleteDatasetApiV1DatasetsDatasetIdDeleteResponse? Type459 { get; set; } + public global::System.Collections.Generic.IList? Type459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type460 { get; set; } + public global::G.AnyOf>? Type460 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type461 { get; set; } + public global::System.Collections.Generic.IList? Type461 { get; set; } /// /// /// - public global::G.DownloadDatasetOpenaiApiV1DatasetsDatasetIdOpenaiGetResponse? Type462 { get; set; } + public global::System.Collections.Generic.IList? Type462 { get; set; } /// /// /// - public global::G.DownloadDatasetOpenaiFtApiV1DatasetsDatasetIdOpenaiFtGetResponse? Type463 { get; set; } + public global::G.AnyOf? Type463 { get; set; } /// /// /// - public global::G.DownloadDatasetCsvApiV1DatasetsDatasetIdCsvGetResponse? Type464 { get; set; } + public global::System.Collections.Generic.IList? Type464 { get; set; } /// /// /// - public global::G.AnyOf, global::System.Collections.Generic.IList>? Type465 { get; set; } + public global::G.AnyOf, global::G.DataType?, object>? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::System.Collections.Generic.IList? Type466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type467 { get; set; } + public global::G.AnyOf? Type467 { get; set; } /// /// /// - public global::G.AnyOf? Type468 { get; set; } + public global::G.ListRulesApiV1RunsRulesGetType2? Type468 { get; set; } /// /// /// - public global::G.UnshareDatasetApiV1DatasetsDatasetIdShareDeleteResponse? Type469 { get; set; } + public global::G.AnyOf, object>? Type469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type470 { get; set; } + public global::System.Collections.Generic.IList? Type470 { get; set; } /// /// /// - public global::G.DeleteComparativeExperimentApiV1DatasetsComparativeComparativeExperimentIdDeleteResponse? Type471 { get; set; } + public global::G.AnyOf? Type471 { get; set; } /// /// /// - public global::G.IndexApiV1DatasetsDatasetIdIndexPostResponse? Type472 { get; set; } + public global::G.AnyOf? Type472 { get; set; } /// /// /// - public global::G.RemoveIndexApiV1DatasetsDatasetIdIndexDeleteResponse? Type473 { get; set; } + public global::G.ListReposApiV1ReposGetIsArchived2? Type473 { get; set; } /// /// /// - public global::G.GenerateApiV1DatasetsDatasetIdGeneratePostResponse? Type474 { get; set; } + public global::G.AnyOf? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type475 { get; set; } + public global::G.ListReposApiV1ReposGetIsPublic2? Type475 { get; set; } /// /// /// - public global::G.DeleteRuleApiV1RunsRulesRuleIdDeleteResponse? Type476 { get; set; } + public global::G.AnyOf? Type476 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type477 { get; set; } + public global::G.ListReposApiV1ReposGetSortDirectionVariant1? Type477 { get; set; } /// /// /// - public global::G.UpdateRunApiV1RunsRunIdPatchResponse? Type478 { get; set; } + public global::G.ListReposApiV1ReposGetSortDirectionVariant2? Type478 { get; set; } /// /// /// - public global::G.AnyOf? Type479 { get; set; } + public global::G.AnyOf? Type479 { get; set; } /// /// /// - public global::G.UnshareRunApiV1RunsRunIdShareDeleteResponse? Type480 { get; set; } + public global::G.ListRepoTagsApiV1ReposTagsGetIsArchived2? Type480 { get; set; } /// /// /// - public global::G.CreateRunApiV1RunsPostResponse? Type481 { get; set; } + public global::G.AnyOf? Type481 { get; set; } /// /// /// - public global::G.BatchIngestRunsApiV1RunsBatchPostResponse? Type482 { get; set; } + public global::G.ListRepoTagsApiV1ReposTagsGetIsPublic2? Type482 { get; set; } /// /// /// - public global::G.GroupRunsApiV1RunsGroupPostResponse? Type483 { get; set; } + public global::G.DeleteTracerSessionApiV1SessionsSessionIdDeleteResponse? Type483 { get; set; } /// /// /// - public global::G.DeleteFeedbackApiV1FeedbackFeedbackIdDeleteResponse? Type484 { get; set; } + public global::System.Collections.Generic.IList? Type484 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type485 { get; set; } + public global::G.DeleteTracerSessionsApiV1SessionsDeleteResponse? Type485 { get; set; } /// /// /// - public global::G.AnyOf>? Type486 { get; set; } + public global::System.Collections.Generic.IList? Type486 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type487 { get; set; } + public global::G.DeleteFilterViewApiV1SessionsSessionIdViewsViewIdDeleteResponse? Type487 { get; set; } /// /// /// - public global::G.CreateFeedbackWithTokenGetApiV1FeedbackTokensTokenGetResponse? Type488 { get; set; } + public global::System.Collections.Generic.IList? Type488 { get; set; } /// /// /// - public global::G.CreateFeedbackWithTokenPostApiV1FeedbackTokensTokenPostResponse? Type489 { get; set; } + public global::G.OnPaymentMethodCreatedApiV1OrgsCurrentPaymentMethodPostResponse? Type489 { get; set; } /// /// /// - public global::G.AnyOf, global::System.Collections.Generic.IList>? Type490 { get; set; } + public global::G.SetCompanyInfoApiV1OrgsCurrentBusinessInfoPostResponse? Type490 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type491 { get; set; } + public global::G.ChangePaymentPlanApiV1OrgsCurrentPlanPostResponse? Type491 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type492 { get; set; } + public global::System.Collections.Generic.IList? Type492 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type493 { get; set; } + public global::System.Collections.Generic.IList? Type493 { get; set; } /// /// /// - public global::G.DeleteAnnotationQueueApiV1AnnotationQueuesQueueIdDeleteResponse? Type494 { get; set; } + public global::System.Collections.Generic.IList? Type494 { get; set; } /// /// /// - public global::G.UpdateAnnotationQueueApiV1AnnotationQueuesQueueIdPatchResponse? Type495 { get; set; } + public global::G.DeleteCurrentOrgPendingMemberApiV1OrgsCurrentMembersIdentityIdPendingDeleteResponse? Type495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type496 { get; set; } + public global::G.DeletePendingOrganizationInviteApiV1OrgsPendingOrganizationIdDeleteResponse? Type496 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type497 { get; set; } + public global::G.RemoveMemberFromCurrentOrgApiV1OrgsCurrentMembersIdentityIdDeleteResponse? Type497 { get; set; } /// /// /// - public global::G.UpdateRunInAnnotationQueueApiV1AnnotationQueuesQueueIdRunsQueueRunIdPatchResponse? Type498 { get; set; } + public global::G.UpdateCurrentOrgMemberApiV1OrgsCurrentMembersIdentityIdPatchResponse? Type498 { get; set; } /// /// /// - public global::G.DeleteRunFromAnnotationQueueApiV1AnnotationQueuesQueueIdRunsQueueRunIdDeleteResponse? Type499 { get; set; } + public global::G.UpdateCurrentUserApiV1OrgsMembersBasicPatchResponse? Type499 { get; set; } /// /// /// - public global::G.CreateIdentityAnnotationQueueRunStatusApiV1AnnotationQueuesStatusAnnotationQueueRunIdPostResponse? Type500 { get; set; } + public global::System.Collections.Generic.IList? Type500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type501 { get; set; } + public global::System.Collections.Generic.IList? Type501 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type502 { get; set; } + public global::System.Collections.Generic.IList? Type502 { get; set; } /// /// /// - public global::G.DeletePendingTenantInviteApiV1TenantsPendingIdDeleteResponse? Type503 { get; set; } + public global::G.OauthProviderLogoutApiV1OauthProviderLogoutGetResponse? Type503 { get; set; } /// /// /// - public global::G.ClaimPendingTenantInviteApiV1TenantsPendingTenantIdClaimPostResponse? Type504 { get; set; } + public global::G.OauthProviderAuthApiV1OauthProviderGetResponse? Type504 { get; set; } /// /// /// - public global::G.BulkUnshareEntitiesApiV1TenantsCurrentSharedDeleteResponse? Type505 { get; set; } + public global::System.Collections.Generic.IList? Type505 { get; set; } /// /// /// - public global::G.DeleteCurrentTenantMemberApiV1TenantsCurrentMembersIdentityIdDeleteResponse? Type506 { get; set; } + public global::System.Collections.Generic.IList? Type506 { get; set; } /// /// /// - public global::G.PatchCurrentTenantMemberApiV1TenantsCurrentMembersIdentityIdPatchResponse? Type507 { get; set; } + public global::G.UpdateExampleApiV1ExamplesExampleIdPatchResponse? Type507 { get; set; } /// /// /// - public global::G.DeleteCurrentTenantPendingMemberApiV1TenantsCurrentMembersIdentityIdPendingDeleteResponse? Type508 { get; set; } + public global::G.DeleteExampleApiV1ExamplesExampleIdDeleteResponse? Type508 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type509 { get; set; } + public global::System.Collections.Generic.IList? Type509 { get; set; } /// /// /// - public global::G.UpsertCurrentTenantSecretsApiV1TenantsCurrentSecretsPostResponse? Type510 { get; set; } + public global::G.DeleteExamplesApiV1ExamplesDeleteResponse? Type510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type511 { get; set; } + public global::G.UpdateExamplesApiV1ExamplesBulkPatchResponse? Type511 { get; set; } /// /// /// - public global::G.ReadModelPriceMapApiV1ModelPriceMapGetResponse? Type512 { get; set; } + public global::G.DeleteDatasetApiV1DatasetsDatasetIdDeleteResponse? Type512 { get; set; } /// /// /// - public global::G.CreateNewModelPriceApiV1ModelPriceMapPostResponse? Type513 { get; set; } + public global::System.Collections.Generic.IList? Type513 { get; set; } /// /// /// - public global::G.UpdateModelPriceApiV1ModelPriceMapIdPutResponse? Type514 { get; set; } + public global::System.Collections.Generic.IList? Type514 { get; set; } /// /// /// - public global::G.DeleteModelPriceApiV1ModelPriceMapIdDeleteResponse? Type515 { get; set; } + public global::G.DownloadDatasetOpenaiApiV1DatasetsDatasetIdOpenaiGetResponse? Type515 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type516 { get; set; } + public global::G.DownloadDatasetOpenaiFtApiV1DatasetsDatasetIdOpenaiFtGetResponse? Type516 { get; set; } /// /// /// - public global::G.DeleteUsageLimitApiV1UsageLimitsUsageLimitIdDeleteResponse? Type517 { get; set; } + public global::G.DownloadDatasetCsvApiV1DatasetsDatasetIdCsvGetResponse? Type517 { get; set; } /// /// /// - public global::G.InvokePromptApiV1PromptsInvokePromptPostResponse? Type518 { get; set; } + public global::G.AnyOf, global::System.Collections.Generic.IList>? Type518 { get; set; } /// /// /// - public global::G.DeletePendingWorkspaceInviteApiV1WorkspacesPendingIdDeleteResponse? Type519 { get; set; } + public global::System.Collections.Generic.IList? Type519 { get; set; } /// /// /// - public global::G.ClaimPendingWorkspaceInviteApiV1WorkspacesPendingWorkspaceIdClaimPostResponse? Type520 { get; set; } + public global::System.Collections.Generic.IList? Type520 { get; set; } /// /// /// - public global::G.BulkUnshareEntitiesApiV1WorkspacesCurrentSharedDeleteResponse? Type521 { get; set; } + public global::G.AnyOf? Type521 { get; set; } /// /// /// - public global::G.DeleteCurrentWorkspaceMemberApiV1WorkspacesCurrentMembersIdentityIdDeleteResponse? Type522 { get; set; } + public global::G.UnshareDatasetApiV1DatasetsDatasetIdShareDeleteResponse? Type522 { get; set; } /// /// /// - public global::G.PatchCurrentWorkspaceMemberApiV1WorkspacesCurrentMembersIdentityIdPatchResponse? Type523 { get; set; } + public global::System.Collections.Generic.IList? Type523 { get; set; } /// /// /// - public global::G.DeleteCurrentWorkspacePendingMemberApiV1WorkspacesCurrentMembersIdentityIdPendingDeleteResponse? Type524 { get; set; } + public global::G.DeleteComparativeExperimentApiV1DatasetsComparativeComparativeExperimentIdDeleteResponse? Type524 { get; set; } /// /// /// - public global::G.UpsertCurrentWorkspaceSecretsApiV1WorkspacesCurrentSecretsPostResponse? Type525 { get; set; } + public global::G.IndexApiV1DatasetsDatasetIdIndexPostResponse? Type525 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type526 { get; set; } + public global::G.RemoveIndexApiV1DatasetsDatasetIdIndexDeleteResponse? Type526 { get; set; } /// /// /// - public global::G.DeleteTagKeyApiV1WorkspacesCurrentTagKeysTagKeyIdDeleteResponse? Type527 { get; set; } + public global::G.GenerateApiV1DatasetsDatasetIdGeneratePostResponse? Type527 { get; set; } /// /// /// - public global::G.DeleteTagValueApiV1WorkspacesCurrentTagKeysTagKeyIdTagValuesTagValueIdDeleteResponse? Type528 { get; set; } + public global::G.DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse? Type528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type529 { get; set; } + public global::G.StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse? Type529 { get; set; } /// /// /// - public global::G.DeleteTaggingApiV1WorkspacesCurrentTaggingsTaggingIdDeleteResponse? Type530 { get; set; } + public global::System.Collections.Generic.IList? Type530 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type531 { get; set; } + public global::G.DeleteRuleApiV1RunsRulesRuleIdDeleteResponse? Type531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type532 { get; set; } + public global::System.Collections.Generic.IList? Type532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type533 { get; set; } + public global::G.TriggerRulesApiV1RunsRulesTriggerPostResponse? Type533 { get; set; } /// /// /// - public global::G.DeletePlaygroundSettingsApiV1PlaygroundSettingsPlaygroundSettingsIdDeleteResponse? Type534 { get; set; } + public global::G.UpdateRunApiV1RunsRunIdPatchResponse? Type534 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type535 { get; set; } + public global::G.AnyOf? Type535 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type536 { get; set; } + public global::G.UnshareRunApiV1RunsRunIdShareDeleteResponse? Type536 { get; set; } /// /// /// - public global::G.DeleteChartApiV1ChartsChartIdDeleteResponse? Type537 { get; set; } + public global::G.CreateRunApiV1RunsPostResponse? Type537 { get; set; } /// /// /// - public global::G.DeleteSectionApiV1ChartsSectionSectionIdDeleteResponse? Type538 { get; set; } + public global::G.BatchIngestRunsApiV1RunsBatchPostResponse? Type538 { get; set; } /// /// /// - public global::G.OkApiV1OkGetResponse? Type539 { get; set; } + public global::G.MultipartIngestRunsApiV1RunsMultipartPostResponse? Type539 { get; set; } /// /// /// - public global::G.DeleteRepoApiV1ReposOwnerRepoDeleteResponse? Type540 { get; set; } + public global::G.GroupRunsApiV1RunsGroupPostResponse? Type540 { get; set; } /// /// /// - public global::G.CreateEventApiV1EventsPostResponse? Type541 { get; set; } + public global::G.DeleteFeedbackApiV1FeedbackFeedbackIdDeleteResponse? Type541 { get; set; } /// /// /// - public global::G.CreateCommentApiV1CommentsOwnerRepoPostResponse? Type542 { get; set; } + public global::System.Collections.Generic.IList? Type542 { get; set; } + /// + /// + /// + public global::G.AnyOf>? Type543 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type544 { get; set; } + /// + /// + /// + public global::G.CreateFeedbackWithTokenGetApiV1FeedbackTokensTokenGetResponse? Type545 { get; set; } + /// + /// + /// + public global::G.CreateFeedbackWithTokenPostApiV1FeedbackTokensTokenPostResponse? Type546 { get; set; } + /// + /// + /// + public global::G.AnyOf, global::System.Collections.Generic.IList>? Type547 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type548 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type549 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type550 { get; set; } + /// + /// + /// + public global::G.DeleteAnnotationQueueApiV1AnnotationQueuesQueueIdDeleteResponse? Type551 { get; set; } + /// + /// + /// + public global::G.UpdateAnnotationQueueApiV1AnnotationQueuesQueueIdPatchResponse? Type552 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type553 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type554 { get; set; } + /// + /// + /// + public global::G.UpdateRunInAnnotationQueueApiV1AnnotationQueuesQueueIdRunsQueueRunIdPatchResponse? Type555 { get; set; } + /// + /// + /// + public global::G.DeleteRunFromAnnotationQueueApiV1AnnotationQueuesQueueIdRunsQueueRunIdDeleteResponse? Type556 { get; set; } + /// + /// + /// + public global::G.CreateIdentityAnnotationQueueRunStatusApiV1AnnotationQueuesStatusAnnotationQueueRunIdPostResponse? Type557 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type558 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type559 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type560 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type561 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type562 { get; set; } + /// + /// + /// + public global::G.DeletePendingTenantInviteApiV1TenantsPendingIdDeleteResponse? Type563 { get; set; } + /// + /// + /// + public global::G.ClaimPendingTenantInviteApiV1TenantsPendingTenantIdClaimPostResponse? Type564 { get; set; } + /// + /// + /// + public global::G.BulkUnshareEntitiesApiV1TenantsCurrentSharedDeleteResponse? Type565 { get; set; } + /// + /// + /// + public global::G.DeleteCurrentTenantMemberApiV1TenantsCurrentMembersIdentityIdDeleteResponse? Type566 { get; set; } + /// + /// + /// + public global::G.PatchCurrentTenantMemberApiV1TenantsCurrentMembersIdentityIdPatchResponse? Type567 { get; set; } + /// + /// + /// + public global::G.DeleteCurrentTenantPendingMemberApiV1TenantsCurrentMembersIdentityIdPendingDeleteResponse? Type568 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type569 { get; set; } + /// + /// + /// + public global::G.UpsertCurrentTenantSecretsApiV1TenantsCurrentSecretsPostResponse? Type570 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type571 { get; set; } + /// + /// + /// + public global::G.ReadModelPriceMapApiV1ModelPriceMapGetResponse? Type572 { get; set; } + /// + /// + /// + public global::G.CreateNewModelPriceApiV1ModelPriceMapPostResponse? Type573 { get; set; } + /// + /// + /// + public global::G.UpdateModelPriceApiV1ModelPriceMapIdPutResponse? Type574 { get; set; } + /// + /// + /// + public global::G.DeleteModelPriceApiV1ModelPriceMapIdDeleteResponse? Type575 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type576 { get; set; } + /// + /// + /// + public global::G.DeleteUsageLimitApiV1UsageLimitsUsageLimitIdDeleteResponse? Type577 { get; set; } + /// + /// + /// + public global::G.InvokePromptApiV1PromptsInvokePromptPostResponse? Type578 { get; set; } + /// + /// + /// + public global::G.DeletePendingWorkspaceInviteApiV1WorkspacesPendingIdDeleteResponse? Type579 { get; set; } + /// + /// + /// + public global::G.ClaimPendingWorkspaceInviteApiV1WorkspacesPendingWorkspaceIdClaimPostResponse? Type580 { get; set; } + /// + /// + /// + public global::G.BulkUnshareEntitiesApiV1WorkspacesCurrentSharedDeleteResponse? Type581 { get; set; } + /// + /// + /// + public global::G.DeleteCurrentWorkspaceMemberApiV1WorkspacesCurrentMembersIdentityIdDeleteResponse? Type582 { get; set; } + /// + /// + /// + public global::G.PatchCurrentWorkspaceMemberApiV1WorkspacesCurrentMembersIdentityIdPatchResponse? Type583 { get; set; } + /// + /// + /// + public global::G.DeleteCurrentWorkspacePendingMemberApiV1WorkspacesCurrentMembersIdentityIdPendingDeleteResponse? Type584 { get; set; } + /// + /// + /// + public global::G.UpsertCurrentWorkspaceSecretsApiV1WorkspacesCurrentSecretsPostResponse? Type585 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type586 { get; set; } + /// + /// + /// + public global::G.DeleteTagKeyApiV1WorkspacesCurrentTagKeysTagKeyIdDeleteResponse? Type587 { get; set; } + /// + /// + /// + public global::G.DeleteTagValueApiV1WorkspacesCurrentTagKeysTagKeyIdTagValuesTagValueIdDeleteResponse? Type588 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type589 { get; set; } + /// + /// + /// + public global::G.DeleteTaggingApiV1WorkspacesCurrentTaggingsTaggingIdDeleteResponse? Type590 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type591 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type592 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type593 { get; set; } + /// + /// + /// + public global::G.DeletePlaygroundSettingsApiV1PlaygroundSettingsPlaygroundSettingsIdDeleteResponse? Type594 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type595 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type596 { get; set; } + /// + /// + /// + public global::G.DeleteChartApiV1ChartsChartIdDeleteResponse? Type597 { get; set; } + /// + /// + /// + public global::G.DeleteSectionApiV1ChartsSectionSectionIdDeleteResponse? Type598 { get; set; } + /// + /// + /// + public global::G.OkApiV1OkGetResponse? Type599 { get; set; } + /// + /// + /// + public global::G.DeleteRepoApiV1ReposOwnerRepoDeleteResponse? Type600 { get; set; } + /// + /// + /// + public global::G.CreateEventApiV1EventsPostResponse? Type601 { get; set; } + /// + /// + /// + public global::G.CreateCommentApiV1CommentsOwnerRepoPostResponse? Type602 { get; set; } } } \ No newline at end of file diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/ResolvedSchemas/_.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/ResolvedSchemas/_.verified.txt index 81f08e16c6..881465cc02 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/ResolvedSchemas/_.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/ResolvedSchemas/_.verified.txt @@ -15,6 +15,9 @@ ShortKey(string)[api-key], Description(string)[api-key], ReadOnly(bool)[api-key], + LastUsedAt(anyOf)[api-key], + LastUsedAtVariant1(DateTime)[api-key], + LastUsedAtVariant2(null)[api-key], Key(string)[api-key], APIKeyGetResponse(class)[api-key], CreatedAt2(anyOf)[api-key], @@ -24,7 +27,12 @@ ShortKey(string)[api-key], Description(string)[api-key], ReadOnly(bool)[api-key], + LastUsedAt2(anyOf)[api-key], + LastUsedAtVariant1(DateTime)[api-key], + LastUsedAtVariant2(null)[api-key], AccessScope(enum)[orgs, tenant, workspaces], + AllowedLoginMethodsUpdate(class)[orgs], + SsoOnly(bool)[orgs], AnnotationQueueCreateSchema(class)[annotation-queues], Name(string)[annotation-queues], Description(anyOf)[annotation-queues], @@ -127,6 +135,7 @@ Metadata2(anyOf)[feedback, datasets], AppFeedbackSourceMetadata(class)[feedback, datasets], MetadataVariant2(null)[feedback, datasets], + AuthProvider(enum)[orgs], AutoEvalFeedbackSource(class)[feedback, datasets], Type(string)[feedback, datasets], Metadata3(anyOf)[feedback, datasets], @@ -136,6 +145,9 @@ UserId(anyOf)[orgs], UserIdVariant1(string)[orgs], UserIdVariant2(null)[orgs], + LsUserId(anyOf)[orgs], + LsUserIdVariant1(string)[orgs], + LsUserIdVariant2(null)[orgs], Email(string)[orgs], ReadOnly(anyOf)[orgs], ReadOnlyVariant1(bool)[orgs], @@ -166,6 +178,7 @@ FullNameVariant1(string)[orgs], FullNameVariant2(null)[orgs], BatchIngestConfig(class)[info], + UseMultipartEndpoint(bool)[info], ScaleUpQsizeTrigger(int)[info], ScaleUpNthreadsLimit(int)[info], ScaleDownNemptyTrigger(int)[info], @@ -229,8 +242,7 @@ Limit(int)[run, public], Select(array)[run, public], RunSelect(ref)[run, public], - Order_AllOf1Wrapped(allOf)[run, public], - RunDateOrder(ref)[run, public], + RunDateOrder(ref)[run, public], RunTypeEnum(enum)[run, public, annotation-queues, datasets], RunsFilterDataSourceTypeEnum(enum)[run, public], RunSelect(enum)[run, public], @@ -245,6 +257,10 @@ AsOfVariant2(null)[datasets], Examples(array)[datasets], ExamplesItem(string)[datasets], + BodyExecuteApiV1AceExecutePost(class)[ace], + Args(array)[ace], + BodyExecuteApiV1AceExecutePostArg(class)[ace], + Code(string)[ace], BodyUpdateDatasetSplitsApiV1DatasetsDatasetIdSplitsPut(class)[datasets], SplitName(string)[datasets], Examples(array)[datasets], @@ -257,8 +273,7 @@ Name2(anyOf)[datasets], NameVariant1(string)[datasets], NameVariant2(null)[datasets], - DataType_AllOf1Wrapped(allOf)[datasets], - DataType(ref)[datasets], + DataType(ref)[datasets], OutputKeys(array)[datasets], OutputKeysItem(string)[datasets], Description5(anyOf)[datasets], @@ -271,9 +286,87 @@ InputKeysItem(string)[examples], OutputKeys(array)[examples], OutputKeysItem(string)[examples], + BulkExport(class)[bulk-exports], + BulkExportDestinationId(string)[bulk-exports], + SessionId(string)[bulk-exports], + StartTime(DateTime)[bulk-exports], + EndTime(DateTime)[bulk-exports], + BulkExportFormat(ref)[bulk-exports], + BulkExportCompression(ref)[bulk-exports], + Id(string)[bulk-exports], + TenantId(string)[bulk-exports], + BulkExportStatus(ref)[bulk-exports], + CreatedAt(DateTime)[bulk-exports], + UpdatedAt(DateTime)[bulk-exports], + FinishedAt(anyOf)[bulk-exports], + FinishedAtVariant1(DateTime)[bulk-exports], + FinishedAtVariant2(null)[bulk-exports], + BulkExportFormat(enum)[bulk-exports], + BulkExportCompression(enum)[bulk-exports], + BulkExportStatus(enum)[bulk-exports], + BulkExportCreate(class)[bulk-exports], + BulkExportDestinationId(string)[bulk-exports], + SessionId(string)[bulk-exports], + StartTime(DateTime)[bulk-exports], + EndTime(DateTime)[bulk-exports], + BulkExportFormat(ref)[bulk-exports], + BulkExportCompression(ref)[bulk-exports], + BulkExportDestination(class)[bulk-exports], + BulkExportDestinationType(ref)[bulk-exports], + DisplayName(string)[bulk-exports], + BulkExportDestinationS3Config(ref)[bulk-exports], + Id(string)[bulk-exports], + TenantId(string)[bulk-exports], + CreatedAt(DateTime)[bulk-exports], + UpdatedAt(DateTime)[bulk-exports], + CredentialsKeys(array)[bulk-exports], + CredentialsKeysItem(string)[bulk-exports], + BulkExportDestinationType(enum)[bulk-exports], + BulkExportDestinationS3Config(class)[bulk-exports], + BucketName(string)[bulk-exports], + Prefix(anyOf)[bulk-exports], + PrefixVariant1(string)[bulk-exports], + PrefixVariant2(null)[bulk-exports], + Region(anyOf)[bulk-exports], + RegionVariant1(string)[bulk-exports], + RegionVariant2(null)[bulk-exports], + EndpointUrl(anyOf)[bulk-exports], + EndpointUrlVariant1(string)[bulk-exports], + EndpointUrlVariant2(null)[bulk-exports], + BulkExportDestinationCreate(class)[bulk-exports], + BulkExportDestinationType(ref)[bulk-exports], + DisplayName(string)[bulk-exports], + BulkExportDestinationS3Config(ref)[bulk-exports], + BulkExportDestinationS3Credentials(ref)[bulk-exports], + BulkExportDestinationS3Credentials(class)[bulk-exports], + AccessKeyId(string)[bulk-exports], + SecretAccessKey(string)[bulk-exports], + BulkExportRun(class)[bulk-exports], + BulkExportId(string)[bulk-exports], + BulkExportRunS3Metadata(ref)[bulk-exports], + Id(string)[bulk-exports], + BulkExportRunStatus(ref)[bulk-exports], + RetryNumber(int)[bulk-exports], + Errors(anyOf)[bulk-exports], + BulkExportRunErrors(class)[bulk-exports], + ErrorsVariant2(null)[bulk-exports], + CreatedAt(DateTime)[bulk-exports], + UpdatedAt(DateTime)[bulk-exports], + FinishedAt2(anyOf)[bulk-exports], + FinishedAtVariant1(DateTime)[bulk-exports], + FinishedAtVariant2(null)[bulk-exports], + BulkExportRunS3Metadata(class)[bulk-exports], + Prefix(string)[bulk-exports], + StartTime(DateTime)[bulk-exports], + EndTime(DateTime)[bulk-exports], + BulkExportRunStatus(enum)[bulk-exports], + BulkExportUpdate(class)[bulk-exports], + BulkExportUpdateStatus(enum)[bulk-exports], ChangePaymentPlanReq(enum)[orgs], ChangePaymentPlanSchema(class)[orgs], ChangePaymentPlanReq(ref)[orgs], + CodeEvaluatorTopLevel(class)[run], + Code(string)[run], Comment(class)[comments], Id(string)[comments], CommentBy(anyOf)[comments], @@ -294,14 +387,14 @@ LikedByAuthUser(anyOf)[comments], LikedByAuthUserVariant1(bool)[comments], LikedByAuthUserVariant2(null)[comments], - CommitManifestResponse(class)[commits], - CommitHash(string)[commits], - CommitManifestResponseManifest(class)[commits], - Examples(anyOf)[commits], - ExamplesVariant1(array)[commits], - RepoExampleResponse(ref)[commits], - ExamplesVariant2(null)[commits], - RepoExampleResponse(class)[commits], + CommitManifestResponse(class)[commits, repos], + CommitHash(string)[commits, repos], + CommitManifestResponseManifest(class)[commits, repos], + Examples(anyOf)[commits, repos], + ExamplesVariant1(array)[commits, repos], + RepoExampleResponse(ref)[commits, repos], + ExamplesVariant2(null)[commits, repos], + RepoExampleResponse(class)[commits, repos], Id(string)[commits], StartTime5(anyOf)[commits], StartTimeVariant1(DateTime)[commits], @@ -315,7 +408,7 @@ SessionId(string)[commits], CommitWithLookups(class)[commits], Id(string)[commits], - ManifestId(string)[commits], + CommitWithLookupsManifest(class)[commits], RepoId(string)[commits], ParentId2(anyOf)[commits], ParentIdVariant1(string)[commits], @@ -486,6 +579,9 @@ UpstreamRepoFullName(anyOf)[repos], UpstreamRepoFullNameVariant1(string)[repos], UpstreamRepoFullNameVariant2(null)[repos], + LatestCommitManifest(anyOf)[repos], + CommitManifestResponse(ref)[repos], + LatestCommitManifestVariant2(null)[repos], CreateRoleRequest(class)[orgs], DisplayName(string)[orgs], Description(string)[orgs], @@ -561,8 +657,7 @@ EndTime3(anyOf)[charts], EndTimeVariant1(DateTime)[charts], EndTimeVariant2(null)[charts], - Stride_AllOf1Wrapped2(allOf)[charts], - TimedeltaInput(ref)[charts], + TimedeltaInput(ref)[charts], TimedeltaInput(class)[run, feedback, charts], Days(int)[run, feedback, charts], Minutes(int)[run, feedback, charts], @@ -640,8 +735,7 @@ EndTime2(anyOf)[charts], EndTimeVariant1(DateTime)[charts], EndTimeVariant2(null)[charts], - Stride_AllOf1Wrapped(allOf)[charts], - TimedeltaInput(ref)[charts], + TimedeltaInput(ref)[charts], AfterIndex(anyOf)[charts], AfterIndexVariant1(int)[charts], AfterIndexVariant2(null)[charts], @@ -698,9 +792,15 @@ IndexVariant1(int)[charts], IndexVariant2(null)[charts], Id(string)[charts], - IsAtCapacity(anyOf)[charts], - IsAtCapacityVariant1(bool)[charts], - IsAtCapacityVariant2(null)[charts], + ChartCount(anyOf)[charts], + ChartCountVariant1(int)[charts], + ChartCountVariant2(null)[charts], + CreatedAt3(anyOf)[charts], + CreatedAtVariant1(DateTime)[charts], + CreatedAtVariant2(null)[charts], + ModifiedAt(anyOf)[charts], + ModifiedAtVariant1(DateTime)[charts], + ModifiedAtVariant2(null)[charts], CustomChartsSectionUpdate(class)[charts], Title2(anyOf)[charts], TitleVariant1(string)[charts], @@ -725,9 +825,6 @@ DescriptionVariant1(string)[datasets], DescriptionVariant2(null)[datasets], CreatedAt(DateTime)[datasets], - DataType2(anyOf)[datasets], - DataType(ref)[datasets], - DataTypeVariant2(null)[datasets], InputsSchemaDefinition(anyOf)[datasets], DatasetInputsSchemaDefinition(class)[datasets], InputsSchemaDefinitionVariant2(null)[datasets], @@ -737,6 +834,9 @@ ExternallyManaged(bool)[datasets], ExternallyManagedVariant1(bool)[datasets], ExternallyManagedVariant2(null)[datasets], + DataType2(anyOf)[datasets], + DataType(ref)[datasets], + DataTypeVariant2(null)[datasets], Id(string)[datasets], TenantId(string)[datasets], ExampleCount(int)[datasets], @@ -751,9 +851,6 @@ DescriptionVariant1(string)[datasets], DescriptionVariant2(null)[datasets], CreatedAt(DateTime)[datasets], - DataType3(anyOf)[datasets], - DataType(ref)[datasets], - DataTypeVariant2(null)[datasets], InputsSchemaDefinition2(anyOf)[datasets], DatasetCreateInputsSchemaDefinition(class)[datasets], InputsSchemaDefinitionVariant2(null)[datasets], @@ -769,6 +866,7 @@ Extra4(anyOf)[datasets], DatasetCreateExtra(class)[datasets], ExtraVariant2(null)[datasets], + DataType(ref)[datasets], DatasetDiffInfo(class)[datasets], ExamplesModified(array)[datasets], ExamplesModifiedItem(string)[datasets], @@ -794,9 +892,6 @@ DescriptionVariant1(string)[public], DescriptionVariant2(null)[public], CreatedAt(DateTime)[public], - DataType4(anyOf)[public], - DataType(ref)[public], - DataTypeVariant2(null)[public], InputsSchemaDefinition3(anyOf)[public], DatasetPublicSchemaInputsSchemaDefinition(class)[public], InputsSchemaDefinitionVariant2(null)[public], @@ -806,6 +901,9 @@ ExternallyManaged3(bool)[public], ExternallyManagedVariant1(bool)[public], ExternallyManagedVariant2(null)[public], + DataType3(anyOf)[public], + DataType(ref)[public], + DataTypeVariant2(null)[public], Id(string)[public], ExampleCount(int)[public], DatasetSchemaForUpdate(class)[datasets], @@ -814,9 +912,6 @@ DescriptionVariant1(string)[datasets], DescriptionVariant2(null)[datasets], CreatedAt(DateTime)[datasets], - DataType5(anyOf)[datasets], - DataType(ref)[datasets], - DataTypeVariant2(null)[datasets], InputsSchemaDefinition4(anyOf)[datasets], DatasetSchemaForUpdateInputsSchemaDefinition(class)[datasets], InputsSchemaDefinitionVariant2(null)[datasets], @@ -826,6 +921,9 @@ ExternallyManaged4(bool)[datasets], ExternallyManagedVariant1(bool)[datasets], ExternallyManagedVariant2(null)[datasets], + DataType4(anyOf)[datasets], + DataType(ref)[datasets], + DataTypeVariant2(null)[datasets], Id(string)[datasets], TenantId(string)[datasets], DatasetShareSchema(class)[datasets], @@ -913,7 +1011,7 @@ CreatedAt(DateTime)[examples, datasets, public], Id(string)[examples, datasets, public], Name(string)[examples, datasets, public], - ModifiedAt(anyOf)[examples, datasets, public], + ModifiedAt2(anyOf)[examples, datasets, public], ModifiedAtVariant1(DateTime)[examples, datasets, public], ModifiedAtVariant2(null)[examples, datasets, public], ExampleBulkCreate(class)[examples], @@ -939,7 +1037,7 @@ IdVariant1(string)[examples], IdVariant2(null)[examples], UseSourceRunIo(bool)[examples], - CreatedAt3(anyOf)[examples], + CreatedAt4(anyOf)[examples], CreatedAtVariant1(DateTime)[examples], CreatedAtVariant2(null)[examples], ExampleCreate(class)[examples], @@ -967,6 +1065,12 @@ UseSourceRunIo(bool)[examples], CreatedAt(DateTime)[examples], ExampleListOrder(enum)[examples], + ExampleRunWithFeedback(class)[repos], + Input(string)[repos], + ReferenceOutput(string)[repos], + Output(string)[repos], + Feedback(string)[repos], + RunId(string)[repos], ExampleSelect(enum)[examples, public], ExampleUpdateWithID(class)[examples], DatasetId2(anyOf)[examples], @@ -1002,7 +1106,7 @@ CreatedAt(DateTime)[datasets], Id(string)[datasets], Name(string)[datasets], - ModifiedAt2(anyOf)[datasets], + ModifiedAt3(anyOf)[datasets], ModifiedAtVariant1(DateTime)[datasets], ModifiedAtVariant2(null)[datasets], Runs(array)[datasets], @@ -1023,7 +1127,7 @@ Extra8(anyOf)[run, datasets], RunSchemaExtra(class)[run, datasets], ExtraVariant2(null)[run, datasets], - Error6(anyOf)[run, datasets], + Error7(anyOf)[run, datasets], ErrorVariant1(string)[run, datasets], ErrorVariant2(null)[run, datasets], ExecutionOrder(int)[run, datasets], @@ -1140,7 +1244,7 @@ CreatedAt(DateTime)[datasets, public], Id(string)[datasets, public], Name(string)[datasets, public], - ModifiedAt3(anyOf)[datasets, public], + ModifiedAt4(anyOf)[datasets, public], ModifiedAtVariant1(DateTime)[datasets, public], ModifiedAtVariant2(null)[datasets, public], Runs(array)[datasets, public], @@ -1161,7 +1265,7 @@ Extra9(anyOf)[datasets, public], RunSchemaComparisonViewExtra(class)[datasets, public], ExtraVariant2(null)[datasets, public], - Error7(anyOf)[datasets, public], + Error8(anyOf)[datasets, public], ErrorVariant1(string)[datasets, public], ErrorVariant2(null)[datasets, public], ExecutionOrder(int)[datasets, public], @@ -1637,7 +1741,15 @@ RunsFilterDataSourceTypeEnum(ref)[run, public], DataSourceTypeVariant2(null)[run, public], FilterView(class)[tracer-sessions], - FilterString(string)[tracer-sessions], + FilterString(anyOf)[tracer-sessions], + FilterStringVariant1(string)[tracer-sessions], + FilterStringVariant2(null)[tracer-sessions], + TraceFilterString(anyOf)[tracer-sessions], + TraceFilterStringVariant1(string)[tracer-sessions], + TraceFilterStringVariant2(null)[tracer-sessions], + TreeFilterString(anyOf)[tracer-sessions], + TreeFilterStringVariant1(string)[tracer-sessions], + TreeFilterStringVariant2(null)[tracer-sessions], DisplayName(string)[tracer-sessions], Description22(anyOf)[tracer-sessions], DescriptionVariant1(string)[tracer-sessions], @@ -1649,13 +1761,21 @@ CreatedAt(DateTime)[tracer-sessions], UpdatedAt(DateTime)[tracer-sessions], FilterViewCreate(class)[tracer-sessions], - FilterString(string)[tracer-sessions], + FilterString2(anyOf)[tracer-sessions], + FilterStringVariant1(string)[tracer-sessions], + FilterStringVariant2(null)[tracer-sessions], + TraceFilterString2(anyOf)[tracer-sessions], + TraceFilterStringVariant1(string)[tracer-sessions], + TraceFilterStringVariant2(null)[tracer-sessions], + TreeFilterString2(anyOf)[tracer-sessions], + TreeFilterStringVariant1(string)[tracer-sessions], + TreeFilterStringVariant2(null)[tracer-sessions], DisplayName(string)[tracer-sessions], Description23(anyOf)[tracer-sessions], DescriptionVariant1(string)[tracer-sessions], DescriptionVariant2(null)[tracer-sessions], FilterViewUpdate(class)[tracer-sessions], - FilterString(anyOf)[tracer-sessions], + FilterString3(anyOf)[tracer-sessions], FilterStringVariant1(string)[tracer-sessions], FilterStringVariant2(null)[tracer-sessions], DisplayName(anyOf)[tracer-sessions], @@ -1664,6 +1784,12 @@ Description24(anyOf)[tracer-sessions], DescriptionVariant1(string)[tracer-sessions], DescriptionVariant2(null)[tracer-sessions], + TraceFilterString3(anyOf)[tracer-sessions], + TraceFilterStringVariant1(string)[tracer-sessions], + TraceFilterStringVariant2(null)[tracer-sessions], + TreeFilterString3(anyOf)[tracer-sessions], + TreeFilterStringVariant1(string)[tracer-sessions], + TreeFilterStringVariant2(null)[tracer-sessions], ForkRepoRequest(class)[repos], RepoHandle(string)[repos], Readme2(anyOf)[repos], @@ -1687,16 +1813,16 @@ NumExamples(int)[datasets], GetRepoResponse(class)[repos], RepoWithLookups(ref)[repos], - HTTPValidationError(class)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - Detail(array)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - ValidationError(ref)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - ValidationError(class)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - Loc(array)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - LocItem(anyOf)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - LocItemVariant1(string)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - LocItemVariant2(int)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - Msg(string)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], - Type(string)[tracer-sessions, orgs, api-key, examples, datasets, run, feedback, public, annotation-queues, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + HTTPValidationError(class)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + Detail(array)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + ValidationError(ref)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + ValidationError(class)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + Loc(array)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + LocItem(anyOf)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + LocItemVariant1(string)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + LocItemVariant2(int)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + Msg(string)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], + Type(string)[tracer-sessions, orgs, auth, api-key, examples, datasets, run, feedback, public, annotation-queues, ace, bulk-exports, tenant, feedback-configs, model-price-map, usage-limits, ttl-settings, prompts, workspaces, playground-settings, service-accounts, charts, repos, likes, commits, settings, events, comments], Identity(class)[orgs, workspaces], Id(string)[orgs, workspaces], OrganizationId(string)[orgs, workspaces], @@ -1705,7 +1831,7 @@ TenantIdVariant2(null)[orgs, workspaces], CreatedAt(DateTime)[orgs, workspaces], UserId(string)[orgs, workspaces], - LsUserId(anyOf)[orgs, workspaces], + LsUserId2(anyOf)[orgs, workspaces], LsUserIdVariant1(string)[orgs, workspaces], LsUserIdVariant2(null)[orgs, workspaces], ReadOnly(bool)[orgs, workspaces], @@ -1715,8 +1841,7 @@ RoleName(anyOf)[orgs, workspaces], RoleNameVariant1(string)[orgs, workspaces], RoleNameVariant2(null)[orgs, workspaces], - AccessScope_AllOf1Wrapped(allOf)[orgs, workspaces], - AccessScope(ref)[orgs, workspaces], + AccessScope(ref)[orgs, workspaces], IdentityAnnotationQueueRunStatusCreateSchema(class)[annotation-queues], Status(anyOf)[annotation-queues], StatusVariant1(string)[annotation-queues], @@ -1788,7 +1913,7 @@ Extra6(anyOf)[public], RunPublicDatasetSchemaExtra(class)[public], ExtraVariant2(null)[public], - Error4(anyOf)[public], + Error5(anyOf)[public], ErrorVariant1(string)[public], ErrorVariant2(null)[public], ExecutionOrder(int)[public], @@ -1895,7 +2020,7 @@ Extra7(anyOf)[public], RunPublicSchemaExtra(class)[public], ExtraVariant2(null)[public], - Error5(anyOf)[public], + Error6(anyOf)[public], ErrorVariant1(string)[public], ErrorVariant2(null)[public], ExecutionOrder(int)[public], @@ -2003,7 +2128,7 @@ TenantIdVariant2(null)[tenant, workspaces], CreatedAt(DateTime)[tenant, workspaces], UserId(string)[tenant, workspaces], - LsUserId2(anyOf)[tenant, workspaces], + LsUserId3(anyOf)[tenant, workspaces], LsUserIdVariant1(string)[tenant, workspaces], LsUserIdVariant2(null)[tenant, workspaces], ReadOnly(bool)[tenant, workspaces], @@ -2013,8 +2138,7 @@ RoleName2(anyOf)[tenant, workspaces], RoleNameVariant1(string)[tenant, workspaces], RoleNameVariant2(null)[tenant, workspaces], - AccessScope_AllOf1Wrapped2(allOf)[tenant, workspaces], - AccessScope(ref)[tenant, workspaces], + AccessScope(ref)[tenant, workspaces], Email(anyOf)[tenant, workspaces], EmailVariant1(string)[tenant, workspaces], EmailVariant2(null)[tenant, workspaces], @@ -2093,13 +2217,25 @@ Timezone(string)[run], Groups(array)[run], MonitorGroupSpec(ref)[run], - Interval_AllOf1Wrapped(allOf)[run], - TimedeltaInput(ref)[run], - Stride_AllOf1Wrapped3(allOf)[run], - TimedeltaInput(ref)[run], + TimedeltaInput(ref)[run], + TimedeltaInput(ref)[run], MonitorResponse(class)[run], Blocks(array)[run], MonitorBlock(ref)[run], + OAuthProvider(enum)[auth], + OptimizePromptRequest(class)[repos], + Prompt(string)[repos], + OptimizePromptRequestMetaprompt(class)[repos], + Examples(array)[repos], + ExampleRunWithFeedback(ref)[repos], + OverallFeedback(anyOf)[repos], + OverallFeedbackVariant1(string)[repos], + OverallFeedbackVariant2(null)[repos], + OptimizePromptResponse(class)[repos], + Prompt(string)[repos], + Error4(anyOf)[repos], + ErrorVariant1(string)[repos], + ErrorVariant2(null)[repos], OrgFeatureFlags(enum)[], OrgIdentityPatch(class)[orgs], Password3(anyOf)[orgs], @@ -2119,7 +2255,7 @@ TenantIdVariant2(null)[orgs], CreatedAt(DateTime)[orgs], UserId(string)[orgs], - LsUserId3(anyOf)[orgs], + LsUserId4(anyOf)[orgs], LsUserIdVariant1(string)[orgs], LsUserIdVariant2(null)[orgs], ReadOnly(bool)[orgs], @@ -2129,8 +2265,7 @@ RoleName3(anyOf)[orgs], RoleNameVariant1(string)[orgs], RoleNameVariant2(null)[orgs], - AccessScope_AllOf1Wrapped3(allOf)[orgs], - AccessScope(ref)[orgs], + AccessScope(ref)[orgs], Email2(anyOf)[orgs], EmailVariant1(string)[orgs], EmailVariant2(null)[orgs], @@ -2161,8 +2296,7 @@ FullName6(anyOf)[orgs], FullNameVariant1(string)[orgs], FullNameVariant2(null)[orgs], - AccessScope_AllOf1Wrapped4(allOf)[orgs], - AccessScope(ref)[orgs], + AccessScope(ref)[orgs], Id(string)[orgs], UserId3(anyOf)[orgs], UserIdVariant1(string)[orgs], @@ -2226,6 +2360,9 @@ CanServeDatasets(bool)[orgs], CanUseLanggraphCloud(bool)[orgs], MaxLanggraphCloudDeployments(int)[orgs], + CanUseSamlSso(bool)[orgs], + CanUseBulkExport(bool)[orgs], + UsePythonPlaygroundService(bool)[orgs], OrganizationConfigFlags(class)[orgs], Flags(bool)[orgs], StripePaymentMethodInfo(class)[orgs], @@ -2241,7 +2378,7 @@ ExpYear(anyOf)[orgs], ExpYearVariant1(int)[orgs], ExpYearVariant2(null)[orgs], - Email3(anyOf)[orgs], + Email4(anyOf)[orgs], EmailVariant1(string)[orgs], EmailVariant2(null)[orgs], OrganizationBillingInfo(class)[orgs], @@ -2270,6 +2407,9 @@ UpcomingPlanVariant2(null)[orgs], ReachedMaxWorkspaces(bool)[orgs], Disabled(bool)[orgs], + OrganizationCreate(class)[orgs], + DisplayName(string)[orgs], + IsPersonal(bool)[orgs], OrganizationDashboardColorScheme(enum)[orgs], OrganizationDashboardSchema(class)[orgs], EmbeddableUrl(string)[orgs], @@ -2290,6 +2430,10 @@ Permissions(array)[orgs], PermissionsItem(string)[orgs], Disabled(bool)[orgs], + SsoOnly(bool)[orgs], + SsoLoginSlug(anyOf)[orgs], + SsoLoginSlugVariant1(string)[orgs], + SsoLoginSlugVariant2(null)[orgs], OrganizationMembers(class)[orgs], OrganizationId(string)[orgs], Members(array)[orgs], @@ -2299,17 +2443,25 @@ OrganizationPGSchemaSlim(class)[orgs], Id(string)[orgs], DisplayName(string)[orgs], - CreatedAt4(anyOf)[orgs], + CreatedAt5(anyOf)[orgs], CreatedAtVariant1(DateTime)[orgs], CreatedAtVariant2(null)[orgs], CreatedByUserId(anyOf)[orgs], CreatedByUserIdVariant1(string)[orgs], CreatedByUserIdVariant2(null)[orgs], - ModifiedAt4(anyOf)[orgs], + ModifiedAt5(anyOf)[orgs], ModifiedAtVariant1(DateTime)[orgs], ModifiedAtVariant2(null)[orgs], IsPersonal(bool)[orgs], Disabled(bool)[orgs], + SsoLoginSlug2(anyOf)[orgs], + SsoLoginSlugVariant1(string)[orgs], + SsoLoginSlugVariant2(null)[orgs], + SsoOnly(bool)[orgs], + OrganizationUpdate(class)[orgs], + DisplayName4(anyOf)[orgs], + DisplayNameVariant1(string)[orgs], + DisplayNameVariant2(null)[orgs], PagerdutySeverity(enum)[run], PendingIdentity(class)[orgs, tenant, workspaces], Email(string)[orgs, tenant, workspaces], @@ -2330,8 +2482,7 @@ FullName7(anyOf)[orgs, tenant, workspaces], FullNameVariant1(string)[orgs, tenant, workspaces], FullNameVariant2(null)[orgs, tenant, workspaces], - AccessScope_AllOf1Wrapped5(allOf)[orgs, tenant, workspaces], - AccessScope(ref)[orgs, tenant, workspaces], + AccessScope(ref)[orgs, tenant, workspaces], Id(string)[orgs, tenant, workspaces], UserId4(anyOf)[orgs, tenant, workspaces], UserIdVariant1(string)[orgs, tenant, workspaces], @@ -2369,6 +2520,47 @@ Name(string)[orgs], Description(string)[orgs], AccessScope(ref)[orgs], + PlaygroundRunOverDatasetRequestSchema(class)[datasets], + PlaygroundRunOverDatasetRequestSchemaManifest(class)[datasets], + PlaygroundRunOverDatasetRequestSchemaSecrets(class)[datasets], + Secrets(string)[datasets], + RunId3(anyOf)[datasets], + RunIdVariant1(string)[datasets], + RunIdVariant2(null)[datasets], + RepoId(anyOf)[datasets], + RepoIdVariant1(string)[datasets], + RepoIdVariant2(null)[datasets], + Tools(anyOf)[datasets], + ToolsVariant1(array)[datasets], + PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item(class)[datasets], + ToolsVariant2(null)[datasets], + ToolChoice(anyOf)[datasets], + ToolChoiceVariant1(string)[datasets], + ToolChoiceVariant2(null)[datasets], + RunnableConfig(ref)[datasets], + ProjectName(anyOf)[datasets], + ProjectNameVariant1(string)[datasets], + ProjectNameVariant2(null)[datasets], + DatasetId(string)[datasets], + Repetitions(int)[datasets], + RunnableConfig(class)[datasets], + Tags(array)[datasets], + TagsItem(string)[datasets], + RunnableConfigMetadata(class)[datasets], + Callbacks(anyOf)[datasets], + CallbacksVariant1(array)[datasets], + RunnableConfigCallback(class)[datasets], + RunnableConfigCallbacks(class)[datasets], + CallbacksVariant3(null)[datasets], + RunName(string)[datasets], + MaxConcurrency(anyOf)[datasets], + MaxConcurrencyVariant1(int)[datasets], + MaxConcurrencyVariant2(null)[datasets], + RecursionLimit(int)[datasets], + RunnableConfigConfigurable(class)[datasets], + RunId4(anyOf)[datasets], + RunIdVariant1(string)[datasets], + RunIdVariant2(null)[datasets], PlaygroundSettingsCreateRequest(class)[playground-settings], PlaygroundSettingsCreateRequestSettings(class)[playground-settings], Name7(anyOf)[playground-settings], @@ -2386,6 +2578,29 @@ Name9(anyOf)[playground-settings], NameVariant1(string)[playground-settings], NameVariant2(null)[playground-settings], + ProviderUserSlim(class)[orgs], + Id(string)[orgs], + Provider3(anyOf)[orgs], + AuthProvider(ref)[orgs], + ProviderVariant2(null)[orgs], + LsUserId(string)[orgs], + SamlProviderId(anyOf)[orgs], + SamlProviderIdVariant1(string)[orgs], + SamlProviderIdVariant2(null)[orgs], + ProviderUserId(anyOf)[orgs], + ProviderUserIdVariant1(string)[orgs], + ProviderUserIdVariant2(null)[orgs], + CreatedAt(DateTime)[orgs], + UpdatedAt(DateTime)[orgs], + Email3(anyOf)[orgs], + EmailVariant1(string)[orgs], + EmailVariant2(null)[orgs], + FullName9(anyOf)[orgs], + FullNameVariant1(string)[orgs], + FullNameVariant2(null)[orgs], + EmailConfirmedAt(anyOf)[orgs], + EmailConfirmedAtVariant1(DateTime)[orgs], + EmailConfirmedAtVariant2(null)[orgs], PublicComparativeExperiment(class)[public], Id(string)[public], Name10(anyOf)[public], @@ -2419,13 +2634,15 @@ CreatedAt(DateTime)[public], Id(string)[public], Name(string)[public], - ModifiedAt5(anyOf)[public], + ModifiedAt6(anyOf)[public], ModifiedAtVariant1(DateTime)[public], ModifiedAtVariant2(null)[public], Runs(array)[public], RunPublicDatasetSchema(ref)[public], PutDatasetVersionsSchema(class)[datasets], - AsOf(DateTime)[datasets], + AsOf2(anyOf)[datasets], + AsOfVariant1(DateTime)[datasets], + AsOfVariant2(string)[datasets], Tag(string)[datasets], QueryExampleSchemaWithRuns(class)[datasets, public], SessionIds(array)[datasets, public], @@ -2631,6 +2848,10 @@ EvaluatorsVariant1(array)[run], EvaluatorTopLevel(ref)[run], EvaluatorsVariant2(null)[run], + CodeEvaluators(anyOf)[run], + CodeEvaluatorsVariant1(array)[run], + CodeEvaluatorTopLevel(ref)[run], + CodeEvaluatorsVariant2(null)[run], Alerts2(anyOf)[run], AlertsVariant1(array)[run], RunRulesPagerdutyAlertSchema(ref)[run], @@ -2707,6 +2928,10 @@ EvaluatorsVariant1(array)[run], EvaluatorTopLevel(ref)[run], EvaluatorsVariant2(null)[run], + CodeEvaluators2(anyOf)[run], + CodeEvaluatorsVariant1(array)[run], + CodeEvaluatorTopLevel(ref)[run], + CodeEvaluatorsVariant2(null)[run], Alerts3(anyOf)[run], AlertsVariant1(array)[run], RunRulesPagerdutyAlertSchema(ref)[run], @@ -2737,7 +2962,7 @@ Extra10(anyOf)[annotation-queues], RunSchemaWithAnnotationQueueInfoExtra(class)[annotation-queues], ExtraVariant2(null)[annotation-queues], - Error8(anyOf)[annotation-queues], + Error9(anyOf)[annotation-queues], ErrorVariant1(string)[annotation-queues], ErrorVariant2(null)[annotation-queues], ExecutionOrder(int)[annotation-queues], @@ -2902,10 +3127,68 @@ CompletionCost9(anyOf)[run, public], CompletionCostVariant1(string)[run, public], CompletionCostVariant2(null)[run, public], + SSOConfirmEmailRequest(class)[auth], + Token(string)[auth], + SSOEmailVerificationSendRequest(class)[auth], + Email(string)[auth], + SamlProviderId(string)[auth], + SSOEmailVerificationStatusRequest(class)[auth], + Email(string)[auth], + SamlProviderId(string)[auth], + SSOEmailVerificationStatusResponse(class)[auth], + EmailConfirmedAt2(anyOf)[auth], + EmailConfirmedAtVariant1(DateTime)[auth], + EmailConfirmedAtVariant2(null)[auth], + SSOProvider(class)[orgs], + Id(string)[orgs], + OrganizationId(string)[orgs], + ProviderId(string)[orgs], + DefaultWorkspaceRoleId(string)[orgs], + DefaultWorkspaceIds(array)[orgs], + DefaultWorkspaceIdsItem(string)[orgs], + MetadataUrl(anyOf)[orgs], + MetadataUrlVariant1(string)[orgs], + MetadataUrlVariant2(null)[orgs], + MetadataXml(anyOf)[orgs], + MetadataXmlVariant1(string)[orgs], + MetadataXmlVariant2(null)[orgs], + SSOProviderSlim(class)[auth], + ProviderId(string)[auth], + OrganizationId(string)[auth], + OrganizationDisplayName(string)[auth], + SSOSettingsCreate(class)[orgs], + DefaultWorkspaceRoleId(string)[orgs], + DefaultWorkspaceIds(array)[orgs], + DefaultWorkspaceIdsItem(string)[orgs], + MetadataXml2(anyOf)[orgs], + MetadataXmlVariant1(string)[orgs], + MetadataXmlVariant2(null)[orgs], + MetadataUrl2(anyOf)[orgs], + MetadataUrlVariant1(string)[orgs], + MetadataUrlVariant2(null)[orgs], + SSOSettingsCreateAttributeMapping(class)[orgs], + AttributeMapping(string)[orgs], + SSOSettingsUpdate(class)[orgs], + DefaultWorkspaceRoleId(anyOf)[orgs], + DefaultWorkspaceRoleIdVariant1(string)[orgs], + DefaultWorkspaceRoleIdVariant2(null)[orgs], + DefaultWorkspaceIds(anyOf)[orgs], + DefaultWorkspaceIdsVariant1(array)[orgs], + DefaultWorkspaceIdsVariant1Item(string)[orgs], + DefaultWorkspaceIdsVariant2(null)[orgs], + MetadataUrl3(anyOf)[orgs], + MetadataUrlVariant1(string)[orgs], + MetadataUrlVariant2(null)[orgs], + MetadataXml3(anyOf)[orgs], + MetadataXmlVariant1(string)[orgs], + MetadataXmlVariant2(null)[orgs], SearchDatasetRequest(class)[datasets], SearchDatasetRequestInputs(class)[datasets], Limit(int)[datasets], Debug(bool)[datasets], + Filter7(anyOf)[datasets], + FilterVariant1(string)[datasets], + FilterVariant2(null)[datasets], SearchDatasetResponse(class)[datasets], Examples(array)[datasets], SearchedFewShotExample(ref)[datasets], @@ -3019,6 +3302,7 @@ TenantIdVariant1(string)[orgs, ttl-settings], TenantIdVariant2(null)[orgs, ttl-settings], TraceTier3(ref)[orgs, ttl-settings], + ApplyToAllProjects(bool)[orgs, ttl-settings], Id(string)[orgs, ttl-settings], OrganizationId(string)[orgs, ttl-settings], CreatedAt(DateTime)[orgs, ttl-settings], @@ -3119,7 +3403,7 @@ Resource(ref)[workspaces], Datasets(array)[workspaces], Resource(ref)[workspaces], - ChartsSections(array)[workspaces], + Dashboards(array)[workspaces], Resource(ref)[workspaces], TaggingsResponse(class)[workspaces], TagKey(string)[workspaces], @@ -3139,6 +3423,7 @@ TenantHandle(anyOf)[tenant], TenantHandleVariant1(string)[tenant], TenantHandleVariant2(null)[tenant], + IsPersonal(bool)[tenant], TenantForUser(class)[tenant, workspaces], Id(string)[tenant, workspaces], OrganizationId5(anyOf)[tenant, workspaces], @@ -3203,7 +3488,8 @@ TracerSessionCount(int)[tenant, workspaces], RepoCount(int)[tenant, workspaces], AnnotationQueueCount(int)[tenant, workspaces], - ChartsCount(int)[tenant, workspaces], + DeploymentCount(int)[tenant, workspaces], + DashboardsCount(int)[tenant, workspaces], TenantUsageLimitInfo(class)[tenant, workspaces], InRejectSet(bool)[tenant, workspaces], UsageLimitType(anyOf)[tenant, workspaces], @@ -3282,6 +3568,14 @@ LastRunStartTimeLive2(anyOf)[tracer-sessions], LastRunStartTimeLiveVariant1(DateTime)[tracer-sessions], LastRunStartTimeLiveVariant2(null)[tracer-sessions], + TriggerRulesRequest(class)[run], + RuleIds(anyOf)[run], + RuleIdsVariant1(array)[run], + RuleIdsVariant1Item(string)[run], + RuleIdsVariant2(null)[run], + DatasetId6(anyOf)[run], + DatasetIdVariant1(string)[run], + DatasetIdVariant2(null)[run], UpdateFeedbackConfigSchema(class)[feedback-configs], FeedbackKey(string)[feedback-configs], FeedbackConfig6(anyOf)[feedback-configs], @@ -3312,13 +3606,12 @@ Description(string)[orgs], Permissions(array)[orgs], PermissionsItem(string)[orgs], - UpsertOrgOrWorkspaceTTLSettingsRequest(class)[orgs], - TraceTier3(ref)[orgs], - UpsertTTLSettingsRequest(class)[ttl-settings], - TenantId7(anyOf)[ttl-settings], - TenantIdVariant1(string)[ttl-settings], - TenantIdVariant2(null)[ttl-settings], - TraceTier3(ref)[ttl-settings], + UpsertTTLSettingsRequest(class)[orgs, ttl-settings], + TenantId7(anyOf)[orgs, ttl-settings], + TenantIdVariant1(string)[orgs, ttl-settings], + TenantIdVariant2(null)[orgs, ttl-settings], + TraceTier3(ref)[orgs, ttl-settings], + ApplyToAllProjects(bool)[orgs, ttl-settings], UpsertUsageLimit(class)[usage-limits], UsageLimitType2(ref)[usage-limits], LimitValue(int)[usage-limits], @@ -3333,13 +3626,11 @@ UpdatedAt(DateTime)[usage-limits], UserWithPassword(class)[orgs], Id(string)[orgs], - LsUserId4(anyOf)[orgs], - LsUserIdVariant1(string)[orgs], - LsUserIdVariant2(null)[orgs], + LsUserId(string)[orgs], CreatedAt(DateTime)[orgs], UpdatedAt(DateTime)[orgs], Email(string)[orgs], - FullName9(anyOf)[orgs], + FullName10(anyOf)[orgs], FullNameVariant1(string)[orgs], FullNameVariant2(null)[orgs], AvatarUrl3(anyOf)[orgs], @@ -3391,7 +3682,7 @@ Extra15(oneOf)[run], CreateRunRequestExtra(class)[run], ExtraVariant2(null)[run], - Error9(oneOf)[run], + Error10(oneOf)[run], ErrorVariant1(string)[run], ErrorVariant2(null)[run], Serialized6(oneOf)[run], @@ -3451,7 +3742,7 @@ Extra16(oneOf)[run], BatchIngestRunsRequestPostItemExtra(class)[run], ExtraVariant2(null)[run], - Error10(oneOf)[run], + Error11(oneOf)[run], ErrorVariant1(string)[run], ErrorVariant2(null)[run], Serialized7(oneOf)[run], @@ -3499,7 +3790,7 @@ EndTime17(oneOf)[run], EndTimeVariant1(string)[run], EndTimeVariant2(double)[run], - Error11(oneOf)[run], + Error12(oneOf)[run], ErrorVariant1(string)[run], ErrorVariant2(null)[run], Inputs12(oneOf)[run], @@ -3540,7 +3831,7 @@ EndTimeVariant1(string)[run], EndTimeVariant2(double)[run], EndTimeVariant3(null)[run], - Error12(oneOf)[run], + Error13(oneOf)[run], ErrorVariant1(string)[run], ErrorVariant2(null)[run], Inputs13(oneOf)[run], @@ -3566,10 +3857,18 @@ OutputAttachments4(oneOf)[run], UpdateRunRequestOutputAttachments(class)[run], OutputAttachmentsVariant2(null)[run], + SessionId9(oneOf)[run], + SessionIdVariant1(string)[run], + SessionIdVariant2(null)[run], + SessionName5(oneOf)[run], + SessionNameVariant1(string)[run], + SessionNameVariant2(null)[run], TracerSessionUpdate(ref)[tracer-sessions], TracerSessionCreate(ref)[tracer-sessions], FilterViewCreate(ref)[tracer-sessions], FilterViewUpdate(ref)[tracer-sessions], + OrganizationCreate(ref)[orgs], + OrganizationUpdate(ref)[orgs], StripePaymentInformation(ref)[orgs], StripeBusinessInfoInput(ref)[orgs], ChangePaymentPlanSchema(ref)[orgs], @@ -3582,11 +3881,15 @@ BasicAuthMemberCreate(ref)[orgs], OrgIdentityPatch(ref)[orgs], BasicAuthUserPatch(ref)[orgs], - UpsertOrgOrWorkspaceTTLSettingsRequest(ref)[orgs], - GenerateApiKeyApiV1ApiKeyPostRequest(allOf)[api-key], - APIKeyCreateRequest(ref)[api-key], - GeneratePersonalAccessTokenApiV1ApiKeyCurrentPostRequest(allOf)[api-key], - APIKeyCreateRequest(ref)[api-key], + UpsertTTLSettingsRequest(ref)[orgs], + SSOSettingsCreate(ref)[orgs], + SSOSettingsUpdate(ref)[orgs], + AllowedLoginMethodsUpdate(ref)[orgs], + SSOEmailVerificationSendRequest(ref)[auth], + SSOEmailVerificationStatusRequest(ref)[auth], + SSOConfirmEmailRequest(ref)[auth], + APIKeyCreateRequest(ref)[api-key], + APIKeyCreateRequest(ref)[api-key], ExampleUpdate(ref)[examples], ExampleCreate(ref)[examples], CreateExamplesApiV1ExamplesBulkPostRequest(array)[examples], @@ -3607,8 +3910,11 @@ DatasetIndexRequest(ref)[datasets], SearchDatasetRequest(ref)[datasets], GenerateSyntheticExamplesBody(ref)[datasets], + PlaygroundRunOverDatasetRequestSchema(ref)[datasets], + PlaygroundRunOverDatasetRequestSchema(ref)[datasets], RunRulesCreateSchema(ref)[run], RunRulesCreateSchema(ref)[run], + TriggerRulesRequest(ref)[run], UpdateRunRequest(ref)[run], BodyParamsForRunSchema(ref)[run], RequestBodyForRunsGenerateQuery(ref)[run], @@ -3638,6 +3944,10 @@ AddRunsToAnnotationQueueApiV1AnnotationQueuesQueueIdRunsPostRequestItem(string)[annotation-queues], AnnotationQueueRunUpdateSchema(ref)[annotation-queues], IdentityAnnotationQueueRunStatusCreateSchema(ref)[annotation-queues], + BodyExecuteApiV1AceExecutePost(ref)[ace], + BulkExportCreate(ref)[bulk-exports], + BulkExportDestinationCreate(ref)[bulk-exports], + BulkExportUpdate(ref)[bulk-exports], TenantCreate(ref)[tenant], PendingIdentityCreate(ref)[tenant], TenantBulkUnshareRequest(ref)[tenant], @@ -3674,10 +3984,12 @@ CustomChartCreate(ref)[charts], CustomChartsRequest(ref)[charts], CustomChartUpdate(ref)[charts], + CustomChartsRequestBase(ref)[charts], CustomChartsSectionUpdate(ref)[charts], CreateRepoRequest(ref)[repos], UpdateRepoRequest(ref)[repos], ForkRepoRequest(ref)[repos], + OptimizePromptRequest(ref)[repos], LikeRepoRequest(ref)[likes], CreateRepoCommitRequest(ref)[commits], SetTenantHandleRequest(ref)[settings], @@ -3711,8 +4023,7 @@ ReadTracerSessionsApiV1SessionsGetDatasetVersion(anyOf)[tracer-sessions], ReadTracerSessionsApiV1SessionsGetDatasetVersionVariant1(string)[tracer-sessions], ReadTracerSessionsApiV1SessionsGetDatasetVersionVariant2(null)[tracer-sessions], - ReadTracerSessionsApiV1SessionsGetSortBy(allOf)[tracer-sessions], - SessionSortableColumns(ref)[tracer-sessions], + SessionSortableColumns(ref)[tracer-sessions], ReadTracerSessionsApiV1SessionsGetSortByDesc(bool)[tracer-sessions], ReadTracerSessionsApiV1SessionsGetMetadata(anyOf)[tracer-sessions], ReadTracerSessionsApiV1SessionsGetMetadataVariant1(string)[tracer-sessions], @@ -3751,6 +4062,7 @@ UpdateFilterViewApiV1SessionsSessionIdViewsViewIdPatchViewId(string)[tracer-sessions], DeleteFilterViewApiV1SessionsSessionIdViewsViewIdDeleteSessionId(string)[tracer-sessions], DeleteFilterViewApiV1SessionsSessionIdViewsViewIdDeleteViewId(string)[tracer-sessions], + ListOrganizationsApiV1OrgsGetSkipCreate(bool)[orgs], OrganizationDashboardType(ref)[orgs], GetDashboardApiV1OrgsCurrentDashboardGetColorScheme(anyOf)[orgs], OrganizationDashboardColorScheme(ref)[orgs], @@ -3762,8 +4074,38 @@ ClaimPendingOrganizationInviteApiV1OrgsPendingOrganizationIdClaimPostOrganizationId(string)[orgs], RemoveMemberFromCurrentOrgApiV1OrgsCurrentMembersIdentityIdDeleteIdentityId(string)[orgs], UpdateCurrentOrgMemberApiV1OrgsCurrentMembersIdentityIdPatchIdentityId(string)[orgs], + UpdateSsoSettingsApiV1OrgsCurrentSsoSettingsIdPatchId(string)[orgs], + DeleteSsoSettingsApiV1OrgsCurrentSsoSettingsIdDeleteId(string)[orgs], + OAuthProvider(ref)[auth], + OAuthProvider(ref)[auth], + OAuthProvider(ref)[auth], + GetSsoSettingsApiV1SsoSettingsSsoLoginSlugGetSsoLoginSlug(string)[auth], DeleteApiKeyApiV1ApiKeyApiKeyIdDeleteApiKeyId(string)[api-key], DeletePersonalAccessTokenApiV1ApiKeyCurrentPatIdDeletePatId(string)[api-key], + CountExamplesApiV1ExamplesCountGetId(anyOf)[examples], + CountExamplesApiV1ExamplesCountGetIdVariant1(array)[examples], + CountExamplesApiV1ExamplesCountGetIdVariant1Item(string)[examples], + CountExamplesApiV1ExamplesCountGetIdVariant2(null)[examples], + CountExamplesApiV1ExamplesCountGetAsOf(anyOf)[examples], + CountExamplesApiV1ExamplesCountGetAsOfVariant1(DateTime)[examples], + CountExamplesApiV1ExamplesCountGetAsOfVariant2(string)[examples], + CountExamplesApiV1ExamplesCountGetMetadata(anyOf)[examples], + CountExamplesApiV1ExamplesCountGetMetadataVariant1(string)[examples], + CountExamplesApiV1ExamplesCountGetMetadataVariant2(null)[examples], + CountExamplesApiV1ExamplesCountGetFullTextContains(anyOf)[examples], + CountExamplesApiV1ExamplesCountGetFullTextContainsVariant1(array)[examples], + CountExamplesApiV1ExamplesCountGetFullTextContainsVariant1Item(string)[examples], + CountExamplesApiV1ExamplesCountGetFullTextContainsVariant2(null)[examples], + CountExamplesApiV1ExamplesCountGetSplits(anyOf)[examples], + CountExamplesApiV1ExamplesCountGetSplitsVariant1(array)[examples], + CountExamplesApiV1ExamplesCountGetSplitsVariant1Item(string)[examples], + CountExamplesApiV1ExamplesCountGetSplitsVariant2(null)[examples], + CountExamplesApiV1ExamplesCountGetDataset(anyOf)[examples], + CountExamplesApiV1ExamplesCountGetDatasetVariant1(string)[examples], + CountExamplesApiV1ExamplesCountGetDatasetVariant2(null)[examples], + CountExamplesApiV1ExamplesCountGetFilter(anyOf)[examples], + CountExamplesApiV1ExamplesCountGetFilterVariant1(string)[examples], + CountExamplesApiV1ExamplesCountGetFilterVariant2(null)[examples], ReadExampleApiV1ExamplesExampleIdGetExampleId(string)[examples], ReadExampleApiV1ExamplesExampleIdGetAsOf(anyOf)[examples], ReadExampleApiV1ExamplesExampleIdGetAsOfVariant1(DateTime)[examples], @@ -3793,8 +4135,7 @@ ReadExamplesApiV1ExamplesGetDatasetVariant2(null)[examples], ReadExamplesApiV1ExamplesGetOffset(int)[examples], ReadExamplesApiV1ExamplesGetLimit(int)[examples], - ReadExamplesApiV1ExamplesGetOrder(allOf)[examples], - ExampleListOrder(ref)[examples], + ExampleListOrder(ref)[examples], ReadExamplesApiV1ExamplesGetRandomSeed(anyOf)[examples], ReadExamplesApiV1ExamplesGetRandomSeedVariant1(double)[examples], ReadExamplesApiV1ExamplesGetRandomSeedVariant2(null)[examples], @@ -3829,8 +4170,7 @@ ReadDatasetsApiV1DatasetsGetMetadataVariant2(null)[datasets], ReadDatasetsApiV1DatasetsGetOffset(int)[datasets], ReadDatasetsApiV1DatasetsGetLimit(int)[datasets], - ReadDatasetsApiV1DatasetsGetSortBy(allOf)[datasets], - SortByDatasetColumn(ref)[datasets], + SortByDatasetColumn(ref)[datasets], ReadDatasetsApiV1DatasetsGetSortByDesc(bool)[datasets], ReadDatasetsApiV1DatasetsGetTagValueId(anyOf)[datasets], ReadDatasetsApiV1DatasetsGetTagValueIdVariant1(array)[datasets], @@ -3891,8 +4231,7 @@ ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetIdVariant2(null)[datasets], ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetOffset(int)[datasets], ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetLimit(int)[datasets], - ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetSortBy(allOf)[datasets], - SortByComparativeExperimentColumn(ref)[datasets], + SortByComparativeExperimentColumn(ref)[datasets], ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetSortByDesc(bool)[datasets], DeleteComparativeExperimentApiV1DatasetsComparativeComparativeExperimentIdDeleteComparativeExperimentId(string)[datasets], GetDatasetSplitsApiV1DatasetsDatasetIdSplitsGetDatasetId(string)[datasets], @@ -3911,6 +4250,12 @@ ListRulesApiV1RunsRulesGetSessionId(anyOf)[run], ListRulesApiV1RunsRulesGetSessionIdVariant1(string)[run], ListRulesApiV1RunsRulesGetSessionIdVariant2(null)[run], + ListRulesApiV1RunsRulesGetType(anyOf)[run], + ListRulesApiV1RunsRulesGetType2(enum)[run], + ListRulesApiV1RunsRulesGetTypeVariant2(null)[run], + ListRulesApiV1RunsRulesGetNameContains(anyOf)[run], + ListRulesApiV1RunsRulesGetNameContainsVariant1(string)[run], + ListRulesApiV1RunsRulesGetNameContainsVariant2(null)[run], UpdateRuleApiV1RunsRulesRuleIdPatchRuleId(string)[run], DeleteRuleApiV1RunsRulesRuleIdDeleteRuleId(string)[run], ListRuleLogsApiV1RunsRulesRuleIdLogsGetRuleId(string)[run], @@ -4033,9 +4378,22 @@ ReadSharedDatasetApiV1PublicShareTokenDatasetsGetShareToken(string)[public], ReadSharedDatasetApiV1PublicShareTokenDatasetsGetOffset(int)[public], ReadSharedDatasetApiV1PublicShareTokenDatasetsGetLimit(int)[public], - ReadSharedDatasetApiV1PublicShareTokenDatasetsGetSortBy(allOf)[public], - SortByDatasetColumn(ref)[public], + SortByDatasetColumn(ref)[public], ReadSharedDatasetApiV1PublicShareTokenDatasetsGetSortByDesc(bool)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetShareToken(string)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetId(anyOf)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetIdVariant1(array)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetIdVariant1Item(string)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetIdVariant2(null)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetAsOf(anyOf)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetAsOfVariant1(DateTime)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetAsOfVariant2(string)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetMetadata(anyOf)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetMetadataVariant1(string)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetMetadataVariant2(null)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetFilter(anyOf)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetFilterVariant1(string)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetFilterVariant2(null)[public], ReadSharedExamplesApiV1PublicShareTokenExamplesGetShareToken(string)[public], ReadSharedExamplesApiV1PublicShareTokenExamplesGetId(anyOf)[public], ReadSharedExamplesApiV1PublicShareTokenExamplesGetIdVariant1(array)[public], @@ -4068,8 +4426,7 @@ ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetDatasetVersion(anyOf)[public], ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetDatasetVersionVariant1(string)[public], ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetDatasetVersionVariant2(null)[public], - ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortBy(allOf)[public], - SessionSortableColumns(ref)[public], + SessionSortableColumns(ref)[public], ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortByDesc(bool)[public], ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortByFeedbackKey(anyOf)[public], ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortByFeedbackKeyVariant1(string)[public], @@ -4129,8 +4486,7 @@ ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetNameContainsVariant2(null)[public], ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetOffset(int)[public], ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetLimit(int)[public], - ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetSortBy(allOf)[public], - SortByComparativeExperimentColumn(ref)[public], + SortByComparativeExperimentColumn(ref)[public], ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetSortByDesc(bool)[public], GetAnnotationQueuesApiV1AnnotationQueuesGetIds(anyOf)[annotation-queues], GetAnnotationQueuesApiV1AnnotationQueuesGetIdsVariant1(array)[annotation-queues], @@ -4161,6 +4517,13 @@ GetTotalSizeFromAnnotationQueueApiV1AnnotationQueuesQueueIdTotalSizeGetQueueId(string)[annotation-queues], GetSizeFromAnnotationQueueApiV1AnnotationQueuesQueueIdSizeGetQueueId(string)[annotation-queues], CreateIdentityAnnotationQueueRunStatusApiV1AnnotationQueuesStatusAnnotationQueueRunIdPostAnnotationQueueRunId(string)[annotation-queues], + GetBulkExportApiV1BulkExportsBulkExportIdGetBulkExportId(string)[bulk-exports], + CancelBulkExportApiV1BulkExportsBulkExportIdPatchBulkExportId(string)[bulk-exports], + GetBulkExportDestinationApiV1BulkExportsDestinationsDestinationIdGetDestinationId(string)[bulk-exports], + GetBulkExportRunsApiV1BulkExportsBulkExportIdRunsGetBulkExportId(string)[bulk-exports], + GetBulkExportRunApiV1BulkExportsBulkExportIdRunsRunIdGetBulkExportId(string)[bulk-exports], + GetBulkExportRunApiV1BulkExportsBulkExportIdRunsRunIdGetRunId(string)[bulk-exports], + ListTenantsApiV1TenantsGetSkipCreate(bool)[tenant], DeletePendingTenantInviteApiV1TenantsPendingIdDeleteId(string)[tenant], ClaimPendingTenantInviteApiV1TenantsPendingTenantIdClaimPostTenantId(string)[tenant], GetSharedTokensApiV1TenantsCurrentSharedGetLimit(int)[tenant], @@ -4212,11 +4575,27 @@ ReadSectionsApiV1ChartsSectionGetTitleContains(anyOf)[charts], ReadSectionsApiV1ChartsSectionGetTitleContainsVariant1(string)[charts], ReadSectionsApiV1ChartsSectionGetTitleContainsVariant2(null)[charts], + ReadSectionsApiV1ChartsSectionGetIds(anyOf)[charts], + ReadSectionsApiV1ChartsSectionGetIdsVariant1(array)[charts], + ReadSectionsApiV1ChartsSectionGetIdsVariant1Item(string)[charts], + ReadSectionsApiV1ChartsSectionGetIdsVariant2(null)[charts], + ReadSectionsApiV1ChartsSectionGetSortBy(anyOf)[charts], + ReadSectionsApiV1ChartsSectionGetSortByVariant1(string)[charts], + ReadSectionsApiV1ChartsSectionGetSortByVariant2(null)[charts], + ReadSectionsApiV1ChartsSectionGetSortByDesc(bool)[charts], + ReadSectionsApiV1ChartsSectionGetSortByDescVariant1(bool)[charts], + ReadSectionsApiV1ChartsSectionGetSortByDescVariant2(null)[charts], + ReadSectionsApiV1ChartsSectionGetTagValueId(anyOf)[charts], + ReadSectionsApiV1ChartsSectionGetTagValueIdVariant1(array)[charts], + ReadSectionsApiV1ChartsSectionGetTagValueIdVariant1Item(string)[charts], + ReadSectionsApiV1ChartsSectionGetTagValueIdVariant2(null)[charts], ReadSingleChartApiV1ChartsChartIdPostChartId(string)[charts], UpdateChartApiV1ChartsChartIdPatchChartId(string)[charts], DeleteChartApiV1ChartsChartIdDeleteChartId(string)[charts], + ReadSingleSectionApiV1ChartsSectionSectionIdPostSectionId(string)[charts], UpdateSectionApiV1ChartsSectionSectionIdPatchSectionId(string)[charts], DeleteSectionApiV1ChartsSectionSectionIdDeleteSectionId(string)[charts], + ListReposApiV1ReposGetWithLatestManifest(bool)[repos], ListReposApiV1ReposGetLimit(int)[repos], ListReposApiV1ReposGetOffset(int)[repos], ListReposApiV1ReposGetTenantHandle(anyOf)[repos], @@ -4370,9 +4749,14 @@ HTTPValidationError(ref)[tracer-sessions], ListOrganizationsApiV1OrgsGetResponse(array)[orgs], OrganizationPGSchemaSlim(ref)[orgs], + HTTPValidationError(ref)[orgs], + OrganizationPGSchemaSlim(ref)[orgs], + HTTPValidationError(ref)[orgs], StripeSetupIntentResponse(ref)[orgs], Organization(ref)[orgs], OrganizationInfo(ref)[orgs], + OrganizationInfo(ref)[orgs], + HTTPValidationError(ref)[orgs], OrganizationBillingInfo(ref)[orgs], OrganizationDashboardSchema(ref)[orgs], HTTPValidationError(ref)[orgs], @@ -4420,7 +4804,34 @@ TTLSettings(ref)[orgs], TTLSettings(ref)[orgs], HTTPValidationError(ref)[orgs], + GetCurrentSsoSettingsApiV1OrgsCurrentSsoSettingsGetResponse(array)[orgs], + SSOProvider(ref)[orgs], + SSOProvider(ref)[orgs], + HTTPValidationError(ref)[orgs], + SSOProvider(ref)[orgs], + HTTPValidationError(ref)[orgs], + SSOProvider(ref)[orgs], + HTTPValidationError(ref)[orgs], + UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse(class)[orgs], + HTTPValidationError(ref)[orgs], + GetCurrentUserLoginMethodsApiV1OrgsCurrentUserLoginMethodsGetResponse(array)[orgs], + ProviderUserSlim(ref)[orgs], BasicAuthResponse(ref)[auth], + OauthProviderCallbackApiV1OauthProviderCallbackGetResponse(class)[auth], + HTTPValidationError(ref)[auth], + OauthProviderLogoutApiV1OauthProviderLogoutGetResponse(class)[auth], + HTTPValidationError(ref)[auth], + OauthProviderAuthApiV1OauthProviderGetResponse(class)[auth], + HTTPValidationError(ref)[auth], + SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse(class)[auth], + HTTPValidationError(ref)[auth], + SSOEmailVerificationStatusResponse(ref)[auth], + HTTPValidationError(ref)[auth], + ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse(class)[auth], + HTTPValidationError(ref)[auth], + GetSsoSettingsApiV1SsoSettingsSsoLoginSlugGetResponse(array)[auth], + SSOProviderSlim(ref)[auth], + HTTPValidationError(ref)[auth], GetApiKeysApiV1ApiKeyGetResponse(array)[api-key], APIKeyGetResponse(ref)[api-key], APIKeyCreateResponse(ref)[api-key], @@ -4433,6 +4844,8 @@ HTTPValidationError(ref)[api-key], APIKeyGetResponse(ref)[api-key], HTTPValidationError(ref)[api-key], + CountExamplesApiV1ExamplesCountGetResponse(int)[examples], + HTTPValidationError(ref)[examples], Example(ref)[examples], HTTPValidationError(ref)[examples], UpdateExampleApiV1ExamplesExampleIdPatchResponse(class)[examples], @@ -4526,6 +4939,10 @@ HTTPValidationError(ref)[datasets], GenerateApiV1DatasetsDatasetIdGeneratePostResponse(class)[datasets], HTTPValidationError(ref)[datasets], + DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse(class)[datasets], + HTTPValidationError(ref)[datasets], + StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse(class)[datasets], + HTTPValidationError(ref)[datasets], ListRulesApiV1RunsRulesGetResponse(array)[run], RunRulesSchema(ref)[run], HTTPValidationError(ref)[run], @@ -4540,6 +4957,8 @@ HTTPValidationError(ref)[run], RunRulesSchema(ref)[run], HTTPValidationError(ref)[run], + TriggerRulesApiV1RunsRulesTriggerPostResponse(class)[run], + HTTPValidationError(ref)[run], RunSchema(ref)[run], HTTPValidationError(ref)[run], UpdateRunApiV1RunsRunIdPatchResponse(class)[run], @@ -4562,6 +4981,7 @@ HTTPValidationError(ref)[run], CreateRunApiV1RunsPostResponse(class)[run], BatchIngestRunsApiV1RunsBatchPostResponse(class)[run], + MultipartIngestRunsApiV1RunsMultipartPostResponse(class)[run], GroupRunsApiV1RunsGroupPostResponse(class)[run], HTTPValidationError(ref)[run], RunGroupStats(ref)[run], @@ -4602,6 +5022,8 @@ HTTPValidationError(ref)[public], DatasetPublicSchema(ref)[public], HTTPValidationError(ref)[public], + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetResponse(int)[public], + HTTPValidationError(ref)[public], ReadSharedExamplesApiV1PublicShareTokenExamplesGetResponse(array)[public], Example(ref)[public], HTTPValidationError(ref)[public], @@ -4657,8 +5079,30 @@ HTTPValidationError(ref)[annotation-queues], CreateIdentityAnnotationQueueRunStatusApiV1AnnotationQueuesStatusAnnotationQueueRunIdPostResponse(class)[annotation-queues], HTTPValidationError(ref)[annotation-queues], + ExecuteApiV1AceExecutePostResponse(class)[ace], + HTTPValidationError(ref)[ace], + GetBulkExportsApiV1BulkExportsGetResponse(array)[bulk-exports], + BulkExport(ref)[bulk-exports], + BulkExport(ref)[bulk-exports], + HTTPValidationError(ref)[bulk-exports], + GetBulkExportDestinationsApiV1BulkExportsDestinationsGetResponse(array)[bulk-exports], + BulkExportDestination(ref)[bulk-exports], + BulkExportDestination(ref)[bulk-exports], + HTTPValidationError(ref)[bulk-exports], + BulkExport(ref)[bulk-exports], + HTTPValidationError(ref)[bulk-exports], + BulkExport(ref)[bulk-exports], + HTTPValidationError(ref)[bulk-exports], + BulkExportDestination(ref)[bulk-exports], + HTTPValidationError(ref)[bulk-exports], + GetBulkExportRunsApiV1BulkExportsBulkExportIdRunsGetResponse(array)[bulk-exports], + BulkExportRun(ref)[bulk-exports], + HTTPValidationError(ref)[bulk-exports], + BulkExportRun(ref)[bulk-exports], + HTTPValidationError(ref)[bulk-exports], ListTenantsApiV1TenantsGetResponse(array)[tenant], TenantForUser(ref)[tenant], + HTTPValidationError(ref)[tenant], AppSchemasTenant(ref)[tenant], HTTPValidationError(ref)[tenant], ListPendingTenantInvitesApiV1TenantsPendingGetResponse(array)[tenant], @@ -4817,6 +5261,8 @@ HTTPValidationError(ref)[charts], DeleteChartApiV1ChartsChartIdDeleteResponse(class)[charts], HTTPValidationError(ref)[charts], + CustomChartsSection(ref)[charts], + HTTPValidationError(ref)[charts], CustomChartsSectionResponse(ref)[charts], HTTPValidationError(ref)[charts], DeleteSectionApiV1ChartsSectionSectionIdDeleteResponse(class)[charts], @@ -4836,6 +5282,8 @@ HTTPValidationError(ref)[repos], ListTagsResponse(ref)[repos], HTTPValidationError(ref)[repos], + OptimizePromptResponse(ref)[repos], + HTTPValidationError(ref)[repos], LikeRepoResponse(ref)[likes], HTTPValidationError(ref)[likes], ListCommitsResponse(ref)[commits], diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/Schemas/_.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/Schemas/_.verified.txt index 4d71a3b875..85f682493e 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/Schemas/_.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/LangSmith/Schemas/_.verified.txt @@ -15,6 +15,9 @@ ShortKey(string), Description(string), ReadOnly(bool), + LastUsedAt(anyOf), + LastUsedAtVariant1(DateTime), + LastUsedAtVariant2(null), Key(string), APIKeyGetResponse(class), CreatedAt2(anyOf), @@ -24,7 +27,12 @@ ShortKey(string), Description(string), ReadOnly(bool), + LastUsedAt2(anyOf), + LastUsedAtVariant1(DateTime), + LastUsedAtVariant2(null), AccessScope(enum), + AllowedLoginMethodsUpdate(class), + SsoOnly(bool), AnnotationQueueCreateSchema(class), Name(string), Description(anyOf), @@ -127,6 +135,7 @@ Metadata2(anyOf), AppFeedbackSourceMetadata(class), MetadataVariant2(null), + AuthProvider(enum), AutoEvalFeedbackSource(class), Type(string), Metadata3(anyOf), @@ -136,6 +145,9 @@ UserId(anyOf), UserIdVariant1(string), UserIdVariant2(null), + LsUserId(anyOf), + LsUserIdVariant1(string), + LsUserIdVariant2(null), Email(string), ReadOnly(anyOf), ReadOnlyVariant1(bool), @@ -166,6 +178,7 @@ FullNameVariant1(string), FullNameVariant2(null), BatchIngestConfig(class), + UseMultipartEndpoint(bool), ScaleUpQsizeTrigger(int), ScaleUpNthreadsLimit(int), ScaleDownNemptyTrigger(int), @@ -229,8 +242,7 @@ Limit(int), Select(array), RunSelect(ref), - Order_AllOf1Wrapped(allOf), - RunDateOrder(ref), + RunDateOrder(ref), BodyCloneDatasetApiV1DatasetsClonePost(class), TargetDatasetId(string), SourceDatasetId(string), @@ -241,6 +253,10 @@ AsOfVariant2(null), Examples(array), ExamplesItem(string), + BodyExecuteApiV1AceExecutePost(class), + Args(array), + BodyExecuteApiV1AceExecutePostArg(class), + Code(string), BodyUpdateDatasetSplitsApiV1DatasetsDatasetIdSplitsPut(class), SplitName(string), Examples(array), @@ -253,8 +269,7 @@ Name2(anyOf), NameVariant1(string), NameVariant2(null), - DataType_AllOf1Wrapped(allOf), - DataType(ref), + DataType(ref), OutputKeys(array), OutputKeysItem(string), Description5(anyOf), @@ -266,9 +281,87 @@ InputKeysItem(string), OutputKeys(array), OutputKeysItem(string), + BulkExport(class), + BulkExportDestinationId(string), + SessionId(string), + StartTime(DateTime), + EndTime(DateTime), + BulkExportFormat(ref), + BulkExportCompression(ref), + Id(string), + TenantId(string), + BulkExportStatus(ref), + CreatedAt(DateTime), + UpdatedAt(DateTime), + FinishedAt(anyOf), + FinishedAtVariant1(DateTime), + FinishedAtVariant2(null), + BulkExportCompression(enum), + BulkExportCreate(class), + BulkExportDestinationId(string), + SessionId(string), + StartTime(DateTime), + EndTime(DateTime), + BulkExportFormat(ref), + BulkExportCompression(ref), + BulkExportDestination(class), + BulkExportDestinationType(ref), + DisplayName(string), + BulkExportDestinationS3Config(ref), + Id(string), + TenantId(string), + CreatedAt(DateTime), + UpdatedAt(DateTime), + CredentialsKeys(array), + CredentialsKeysItem(string), + BulkExportDestinationCreate(class), + BulkExportDestinationType(ref), + DisplayName(string), + BulkExportDestinationS3Config(ref), + BulkExportDestinationS3Credentials(ref), + BulkExportDestinationS3Config(class), + BucketName(string), + Prefix(anyOf), + PrefixVariant1(string), + PrefixVariant2(null), + Region(anyOf), + RegionVariant1(string), + RegionVariant2(null), + EndpointUrl(anyOf), + EndpointUrlVariant1(string), + EndpointUrlVariant2(null), + BulkExportDestinationS3Credentials(class), + AccessKeyId(string), + SecretAccessKey(string), + BulkExportDestinationType(enum), + BulkExportFormat(enum), + BulkExportRun(class), + BulkExportId(string), + BulkExportRunS3Metadata(ref), + Id(string), + BulkExportRunStatus(ref), + RetryNumber(int), + Errors(anyOf), + BulkExportRunErrors(class), + ErrorsVariant2(null), + CreatedAt(DateTime), + UpdatedAt(DateTime), + FinishedAt2(anyOf), + FinishedAtVariant1(DateTime), + FinishedAtVariant2(null), + BulkExportRunS3Metadata(class), + Prefix(string), + StartTime(DateTime), + EndTime(DateTime), + BulkExportRunStatus(enum), + BulkExportStatus(enum), + BulkExportUpdate(class), + BulkExportUpdateStatus(enum), ChangePaymentPlanReq(enum), ChangePaymentPlanSchema(class), ChangePaymentPlanReq(ref), + CodeEvaluatorTopLevel(class), + Code(string), Comment(class), Id(string), CommentBy(anyOf), @@ -298,7 +391,7 @@ ExamplesVariant2(null), CommitWithLookups(class), Id(string), - ManifestId(string), + CommitWithLookupsManifest(class), RepoId(string), ParentId2(anyOf), ParentIdVariant1(string), @@ -546,8 +639,7 @@ EndTime2(anyOf), EndTimeVariant1(DateTime), EndTimeVariant2(null), - Stride_AllOf1Wrapped(allOf), - TimedeltaInput(ref), + TimedeltaInput(ref), AfterIndex(anyOf), AfterIndexVariant1(int), AfterIndexVariant2(null), @@ -561,8 +653,7 @@ EndTime3(anyOf), EndTimeVariant1(DateTime), EndTimeVariant2(null), - Stride_AllOf1Wrapped2(allOf), - TimedeltaInput(ref), + TimedeltaInput(ref), CustomChartsResponse(class), Sections(array), CustomChartsSection(ref), @@ -594,9 +685,15 @@ IndexVariant1(int), IndexVariant2(null), Id(string), - IsAtCapacity(anyOf), - IsAtCapacityVariant1(bool), - IsAtCapacityVariant2(null), + ChartCount(anyOf), + ChartCountVariant1(int), + ChartCountVariant2(null), + CreatedAt3(anyOf), + CreatedAtVariant1(DateTime), + CreatedAtVariant2(null), + ModifiedAt(anyOf), + ModifiedAtVariant1(DateTime), + ModifiedAtVariant2(null), CustomChartsSectionUpdate(class), Title2(anyOf), TitleVariant1(string), @@ -621,9 +718,6 @@ DescriptionVariant1(string), DescriptionVariant2(null), CreatedAt(DateTime), - DataType2(anyOf), - DataType(ref), - DataTypeVariant2(null), InputsSchemaDefinition(anyOf), DatasetInputsSchemaDefinition(class), InputsSchemaDefinitionVariant2(null), @@ -633,6 +727,9 @@ ExternallyManaged(bool), ExternallyManagedVariant1(bool), ExternallyManagedVariant2(null), + DataType2(anyOf), + DataType(ref), + DataTypeVariant2(null), Id(string), TenantId(string), ExampleCount(int), @@ -647,9 +744,6 @@ DescriptionVariant1(string), DescriptionVariant2(null), CreatedAt(DateTime), - DataType3(anyOf), - DataType(ref), - DataTypeVariant2(null), InputsSchemaDefinition2(anyOf), DatasetCreateInputsSchemaDefinition(class), InputsSchemaDefinitionVariant2(null), @@ -665,6 +759,7 @@ Extra4(anyOf), DatasetCreateExtra(class), ExtraVariant2(null), + DataType(ref), DatasetDiffInfo(class), ExamplesModified(array), ExamplesModifiedItem(string), @@ -690,9 +785,6 @@ DescriptionVariant1(string), DescriptionVariant2(null), CreatedAt(DateTime), - DataType4(anyOf), - DataType(ref), - DataTypeVariant2(null), InputsSchemaDefinition3(anyOf), DatasetPublicSchemaInputsSchemaDefinition(class), InputsSchemaDefinitionVariant2(null), @@ -702,6 +794,9 @@ ExternallyManaged3(bool), ExternallyManagedVariant1(bool), ExternallyManagedVariant2(null), + DataType3(anyOf), + DataType(ref), + DataTypeVariant2(null), Id(string), ExampleCount(int), DatasetSchemaForUpdate(class), @@ -710,9 +805,6 @@ DescriptionVariant1(string), DescriptionVariant2(null), CreatedAt(DateTime), - DataType5(anyOf), - DataType(ref), - DataTypeVariant2(null), InputsSchemaDefinition4(anyOf), DatasetSchemaForUpdateInputsSchemaDefinition(class), InputsSchemaDefinitionVariant2(null), @@ -722,6 +814,9 @@ ExternallyManaged4(bool), ExternallyManagedVariant1(bool), ExternallyManagedVariant2(null), + DataType4(anyOf), + DataType(ref), + DataTypeVariant2(null), Id(string), TenantId(string), DatasetShareSchema(class), @@ -791,7 +886,7 @@ CreatedAt(DateTime), Id(string), Name(string), - ModifiedAt(anyOf), + ModifiedAt2(anyOf), ModifiedAtVariant1(DateTime), ModifiedAtVariant2(null), ExampleBulkCreate(class), @@ -817,7 +912,7 @@ IdVariant1(string), IdVariant2(null), UseSourceRunIo(bool), - CreatedAt3(anyOf), + CreatedAt4(anyOf), CreatedAtVariant1(DateTime), CreatedAtVariant2(null), ExampleCreate(class), @@ -845,6 +940,12 @@ UseSourceRunIo(bool), CreatedAt(DateTime), ExampleListOrder(enum), + ExampleRunWithFeedback(class), + Input(string), + ReferenceOutput(string), + Output(string), + Feedback(string), + RunId(string), ExampleSelect(enum), ExampleUpdate(class), DatasetId(anyOf), @@ -898,7 +999,7 @@ CreatedAt(DateTime), Id(string), Name(string), - ModifiedAt2(anyOf), + ModifiedAt3(anyOf), ModifiedAtVariant1(DateTime), ModifiedAtVariant2(null), Runs(array), @@ -918,7 +1019,7 @@ CreatedAt(DateTime), Id(string), Name(string), - ModifiedAt3(anyOf), + ModifiedAt4(anyOf), ModifiedAtVariant1(DateTime), ModifiedAtVariant2(null), Runs(array), @@ -1257,7 +1358,15 @@ RunsFilterDataSourceTypeEnum(ref), DataSourceTypeVariant2(null), FilterView(class), - FilterString(string), + FilterString(anyOf), + FilterStringVariant1(string), + FilterStringVariant2(null), + TraceFilterString(anyOf), + TraceFilterStringVariant1(string), + TraceFilterStringVariant2(null), + TreeFilterString(anyOf), + TreeFilterStringVariant1(string), + TreeFilterStringVariant2(null), DisplayName(string), Description22(anyOf), DescriptionVariant1(string), @@ -1269,13 +1378,21 @@ CreatedAt(DateTime), UpdatedAt(DateTime), FilterViewCreate(class), - FilterString(string), + FilterString2(anyOf), + FilterStringVariant1(string), + FilterStringVariant2(null), + TraceFilterString2(anyOf), + TraceFilterStringVariant1(string), + TraceFilterStringVariant2(null), + TreeFilterString2(anyOf), + TreeFilterStringVariant1(string), + TreeFilterStringVariant2(null), DisplayName(string), Description23(anyOf), DescriptionVariant1(string), DescriptionVariant2(null), FilterViewUpdate(class), - FilterString(anyOf), + FilterString3(anyOf), FilterStringVariant1(string), FilterStringVariant2(null), DisplayName(anyOf), @@ -1284,6 +1401,12 @@ Description24(anyOf), DescriptionVariant1(string), DescriptionVariant2(null), + TraceFilterString3(anyOf), + TraceFilterStringVariant1(string), + TraceFilterStringVariant2(null), + TreeFilterString3(anyOf), + TreeFilterStringVariant1(string), + TreeFilterStringVariant2(null), ForkRepoRequest(class), RepoHandle(string), Readme2(anyOf), @@ -1318,7 +1441,7 @@ TenantIdVariant2(null), CreatedAt(DateTime), UserId(string), - LsUserId(anyOf), + LsUserId2(anyOf), LsUserIdVariant1(string), LsUserIdVariant2(null), ReadOnly(bool), @@ -1328,8 +1451,7 @@ RoleName(anyOf), RoleNameVariant1(string), RoleNameVariant2(null), - AccessScope_AllOf1Wrapped(allOf), - AccessScope(ref), + AccessScope(ref), IdentityAnnotationQueueRunStatusCreateSchema(class), Status(anyOf), StatusVariant1(string), @@ -1420,7 +1542,7 @@ TenantIdVariant2(null), CreatedAt(DateTime), UserId(string), - LsUserId2(anyOf), + LsUserId3(anyOf), LsUserIdVariant1(string), LsUserIdVariant2(null), ReadOnly(bool), @@ -1430,8 +1552,7 @@ RoleName2(anyOf), RoleNameVariant1(string), RoleNameVariant2(null), - AccessScope_AllOf1Wrapped2(allOf), - AccessScope(ref), + AccessScope(ref), Email(anyOf), EmailVariant1(string), EmailVariant2(null), @@ -1517,13 +1638,25 @@ Timezone(string), Groups(array), MonitorGroupSpec(ref), - Interval_AllOf1Wrapped(allOf), - TimedeltaInput(ref), - Stride_AllOf1Wrapped3(allOf), - TimedeltaInput(ref), + TimedeltaInput(ref), + TimedeltaInput(ref), MonitorResponse(class), Blocks(array), MonitorBlock(ref), + OAuthProvider(enum), + OptimizePromptRequest(class), + Prompt(string), + OptimizePromptRequestMetaprompt(class), + Examples(array), + ExampleRunWithFeedback(ref), + OverallFeedback(anyOf), + OverallFeedbackVariant1(string), + OverallFeedbackVariant2(null), + OptimizePromptResponse(class), + Prompt(string), + Error4(anyOf), + ErrorVariant1(string), + ErrorVariant2(null), OrgFeatureFlags(enum), OrgIdentityPatch(class), Password3(anyOf), @@ -1543,7 +1676,7 @@ TenantIdVariant2(null), CreatedAt(DateTime), UserId(string), - LsUserId3(anyOf), + LsUserId4(anyOf), LsUserIdVariant1(string), LsUserIdVariant2(null), ReadOnly(bool), @@ -1553,8 +1686,7 @@ RoleName3(anyOf), RoleNameVariant1(string), RoleNameVariant2(null), - AccessScope_AllOf1Wrapped3(allOf), - AccessScope(ref), + AccessScope(ref), Email2(anyOf), EmailVariant1(string), EmailVariant2(null), @@ -1585,8 +1717,7 @@ FullName6(anyOf), FullNameVariant1(string), FullNameVariant2(null), - AccessScope_AllOf1Wrapped4(allOf), - AccessScope(ref), + AccessScope(ref), Id(string), UserId3(anyOf), UserIdVariant1(string), @@ -1676,8 +1807,14 @@ CanServeDatasets(bool), CanUseLanggraphCloud(bool), MaxLanggraphCloudDeployments(int), + CanUseSamlSso(bool), + CanUseBulkExport(bool), + UsePythonPlaygroundService(bool), OrganizationConfigFlags(class), Flags(bool), + OrganizationCreate(class), + DisplayName(string), + IsPersonal(bool), OrganizationDashboardColorScheme(enum), OrganizationDashboardSchema(class), EmbeddableUrl(string), @@ -1698,6 +1835,10 @@ Permissions(array), PermissionsItem(string), Disabled(bool), + SsoOnly(bool), + SsoLoginSlug(anyOf), + SsoLoginSlugVariant1(string), + SsoLoginSlugVariant2(null), OrganizationMembers(class), OrganizationId(string), Members(array), @@ -1707,17 +1848,25 @@ OrganizationPGSchemaSlim(class), Id(string), DisplayName(string), - CreatedAt4(anyOf), + CreatedAt5(anyOf), CreatedAtVariant1(DateTime), CreatedAtVariant2(null), CreatedByUserId(anyOf), CreatedByUserIdVariant1(string), CreatedByUserIdVariant2(null), - ModifiedAt4(anyOf), + ModifiedAt5(anyOf), ModifiedAtVariant1(DateTime), ModifiedAtVariant2(null), IsPersonal(bool), Disabled(bool), + SsoLoginSlug2(anyOf), + SsoLoginSlugVariant1(string), + SsoLoginSlugVariant2(null), + SsoOnly(bool), + OrganizationUpdate(class), + DisplayName4(anyOf), + DisplayNameVariant1(string), + DisplayNameVariant2(null), PagerdutySeverity(enum), PaymentPlanTier(enum), PendingIdentity(class), @@ -1739,8 +1888,7 @@ FullName7(anyOf), FullNameVariant1(string), FullNameVariant2(null), - AccessScope_AllOf1Wrapped5(allOf), - AccessScope(ref), + AccessScope(ref), Id(string), UserId4(anyOf), UserIdVariant1(string), @@ -1778,6 +1926,29 @@ Name(string), Description(string), AccessScope(ref), + PlaygroundRunOverDatasetRequestSchema(class), + PlaygroundRunOverDatasetRequestSchemaManifest(class), + PlaygroundRunOverDatasetRequestSchemaSecrets(class), + Secrets(string), + RunId3(anyOf), + RunIdVariant1(string), + RunIdVariant2(null), + RepoId(anyOf), + RepoIdVariant1(string), + RepoIdVariant2(null), + Tools(anyOf), + ToolsVariant1(array), + PlaygroundRunOverDatasetRequestSchemaToolsVariant1Item(class), + ToolsVariant2(null), + ToolChoice(anyOf), + ToolChoiceVariant1(string), + ToolChoiceVariant2(null), + RunnableConfig(ref), + ProjectName(anyOf), + ProjectNameVariant1(string), + ProjectNameVariant2(null), + DatasetId(string), + Repetitions(int), PlaygroundSettingsCreateRequest(class), PlaygroundSettingsCreateRequestSettings(class), Name7(anyOf), @@ -1795,6 +1966,29 @@ Name9(anyOf), NameVariant1(string), NameVariant2(null), + ProviderUserSlim(class), + Id(string), + Provider3(anyOf), + AuthProvider(ref), + ProviderVariant2(null), + LsUserId(string), + SamlProviderId(anyOf), + SamlProviderIdVariant1(string), + SamlProviderIdVariant2(null), + ProviderUserId(anyOf), + ProviderUserIdVariant1(string), + ProviderUserIdVariant2(null), + CreatedAt(DateTime), + UpdatedAt(DateTime), + Email3(anyOf), + EmailVariant1(string), + EmailVariant2(null), + FullName9(anyOf), + FullNameVariant1(string), + FullNameVariant2(null), + EmailConfirmedAt(anyOf), + EmailConfirmedAtVariant1(DateTime), + EmailConfirmedAtVariant2(null), PublicComparativeExperiment(class), Id(string), Name10(anyOf), @@ -1828,13 +2022,15 @@ CreatedAt(DateTime), Id(string), Name(string), - ModifiedAt5(anyOf), + ModifiedAt6(anyOf), ModifiedAtVariant1(DateTime), ModifiedAtVariant2(null), Runs(array), RunPublicDatasetSchema(ref), PutDatasetVersionsSchema(class), - AsOf(DateTime), + AsOf2(anyOf), + AsOfVariant1(DateTime), + AsOfVariant2(string), Tag(string), QueryExampleSchemaWithRuns(class), SessionIds(array), @@ -1923,6 +2119,9 @@ UpstreamRepoFullName(anyOf), UpstreamRepoFullNameVariant1(string), UpstreamRepoFullNameVariant2(null), + LatestCommitManifest(anyOf), + CommitManifestResponse(ref), + LatestCommitManifestVariant2(null), RequestBodyForRunsGenerateQuery(class), Query(string), FeedbackKeys(array), @@ -2071,7 +2270,7 @@ Extra6(anyOf), RunPublicDatasetSchemaExtra(class), ExtraVariant2(null), - Error4(anyOf), + Error5(anyOf), ErrorVariant1(string), ErrorVariant2(null), ExecutionOrder(int), @@ -2168,7 +2367,7 @@ Extra7(anyOf), RunPublicSchemaExtra(class), ExtraVariant2(null), - Error5(anyOf), + Error6(anyOf), ErrorVariant1(string), ErrorVariant2(null), ExecutionOrder(int), @@ -2287,6 +2486,10 @@ EvaluatorsVariant1(array), EvaluatorTopLevel(ref), EvaluatorsVariant2(null), + CodeEvaluators(anyOf), + CodeEvaluatorsVariant1(array), + CodeEvaluatorTopLevel(ref), + CodeEvaluatorsVariant2(null), Alerts2(anyOf), AlertsVariant1(array), RunRulesPagerdutyAlertSchema(ref), @@ -2357,6 +2560,10 @@ EvaluatorsVariant1(array), EvaluatorTopLevel(ref), EvaluatorsVariant2(null), + CodeEvaluators2(anyOf), + CodeEvaluatorsVariant1(array), + CodeEvaluatorTopLevel(ref), + CodeEvaluatorsVariant2(null), Alerts3(anyOf), AlertsVariant1(array), RunRulesPagerdutyAlertSchema(ref), @@ -2393,7 +2600,7 @@ Extra8(anyOf), RunSchemaExtra(class), ExtraVariant2(null), - Error6(anyOf), + Error7(anyOf), ErrorVariant1(string), ErrorVariant2(null), ExecutionOrder(int), @@ -2510,7 +2717,7 @@ Extra9(anyOf), RunSchemaComparisonViewExtra(class), ExtraVariant2(null), - Error7(anyOf), + Error8(anyOf), ErrorVariant1(string), ErrorVariant2(null), ExecutionOrder(int), @@ -2600,7 +2807,7 @@ Extra10(anyOf), RunSchemaWithAnnotationQueueInfoExtra(class), ExtraVariant2(null), - Error8(anyOf), + Error9(anyOf), ErrorVariant1(string), ErrorVariant2(null), ExecutionOrder(int), @@ -2767,12 +2974,88 @@ CompletionCostVariant1(string), CompletionCostVariant2(null), RunTypeEnum(enum), + RunnableConfig(class), + Tags(array), + TagsItem(string), + RunnableConfigMetadata(class), + Callbacks(anyOf), + CallbacksVariant1(array), + RunnableConfigCallback(class), + RunnableConfigCallbacks(class), + CallbacksVariant3(null), + RunName(string), + MaxConcurrency(anyOf), + MaxConcurrencyVariant1(int), + MaxConcurrencyVariant2(null), + RecursionLimit(int), + RunnableConfigConfigurable(class), + RunId4(anyOf), + RunIdVariant1(string), + RunIdVariant2(null), RunsFilterDataSourceTypeEnum(enum), RunsGenerateQueryFeedbackKeys(enum), + SSOConfirmEmailRequest(class), + Token(string), + SSOEmailVerificationSendRequest(class), + Email(string), + SamlProviderId(string), + SSOEmailVerificationStatusRequest(class), + Email(string), + SamlProviderId(string), + SSOEmailVerificationStatusResponse(class), + EmailConfirmedAt2(anyOf), + EmailConfirmedAtVariant1(DateTime), + EmailConfirmedAtVariant2(null), + SSOProvider(class), + Id(string), + OrganizationId(string), + ProviderId(string), + DefaultWorkspaceRoleId(string), + DefaultWorkspaceIds(array), + DefaultWorkspaceIdsItem(string), + MetadataUrl(anyOf), + MetadataUrlVariant1(string), + MetadataUrlVariant2(null), + MetadataXml(anyOf), + MetadataXmlVariant1(string), + MetadataXmlVariant2(null), + SSOProviderSlim(class), + ProviderId(string), + OrganizationId(string), + OrganizationDisplayName(string), + SSOSettingsCreate(class), + DefaultWorkspaceRoleId(string), + DefaultWorkspaceIds(array), + DefaultWorkspaceIdsItem(string), + MetadataXml2(anyOf), + MetadataXmlVariant1(string), + MetadataXmlVariant2(null), + MetadataUrl2(anyOf), + MetadataUrlVariant1(string), + MetadataUrlVariant2(null), + SSOSettingsCreateAttributeMapping(class), + AttributeMapping(string), + SSOSettingsUpdate(class), + DefaultWorkspaceRoleId(anyOf), + DefaultWorkspaceRoleIdVariant1(string), + DefaultWorkspaceRoleIdVariant2(null), + DefaultWorkspaceIds(anyOf), + DefaultWorkspaceIdsVariant1(array), + DefaultWorkspaceIdsVariant1Item(string), + DefaultWorkspaceIdsVariant2(null), + MetadataUrl3(anyOf), + MetadataUrlVariant1(string), + MetadataUrlVariant2(null), + MetadataXml3(anyOf), + MetadataXmlVariant1(string), + MetadataXmlVariant2(null), SearchDatasetRequest(class), SearchDatasetRequestInputs(class), Limit(int), Debug(bool), + Filter7(anyOf), + FilterVariant1(string), + FilterVariant2(null), SearchDatasetResponse(class), Examples(array), SearchedFewShotExample(ref), @@ -2910,7 +3193,7 @@ ExpYear(anyOf), ExpYearVariant1(int), ExpYearVariant2(null), - Email3(anyOf), + Email4(anyOf), EmailVariant1(string), EmailVariant2(null), StripeSetupIntentResponse(class), @@ -2923,6 +3206,7 @@ TenantIdVariant1(string), TenantIdVariant2(null), TraceTier3(ref), + ApplyToAllProjects(bool), Id(string), OrganizationId(string), CreatedAt(DateTime), @@ -3026,7 +3310,7 @@ Resource(ref), Datasets(array), Resource(ref), - ChartsSections(array), + Dashboards(array), Resource(ref), TaggingsResponse(class), TagKey(string), @@ -3046,6 +3330,7 @@ TenantHandle(anyOf), TenantHandleVariant1(string), TenantHandleVariant2(null), + IsPersonal(bool), TenantForUser(class), Id(string), OrganizationId5(anyOf), @@ -3110,7 +3395,8 @@ TracerSessionCount(int), RepoCount(int), AnnotationQueueCount(int), - ChartsCount(int), + DeploymentCount(int), + DashboardsCount(int), TenantUsageLimitInfo(class), InRejectSet(bool), UsageLimitType(anyOf), @@ -3275,6 +3561,14 @@ LastRunStartTimeLive2(anyOf), LastRunStartTimeLiveVariant1(DateTime), LastRunStartTimeLiveVariant2(null), + TriggerRulesRequest(class), + RuleIds(anyOf), + RuleIdsVariant1(array), + RuleIdsVariant1Item(string), + RuleIdsVariant2(null), + DatasetId6(anyOf), + DatasetIdVariant1(string), + DatasetIdVariant2(null), UpdateFeedbackConfigSchema(class), FeedbackKey(string), FeedbackConfig6(anyOf), @@ -3305,13 +3599,12 @@ Description(string), Permissions(array), PermissionsItem(string), - UpsertOrgOrWorkspaceTTLSettingsRequest(class), - TraceTier3(ref), UpsertTTLSettingsRequest(class), TenantId7(anyOf), TenantIdVariant1(string), TenantIdVariant2(null), TraceTier3(ref), + ApplyToAllProjects(bool), UpsertUsageLimit(class), UsageLimitType2(ref), LimitValue(int), @@ -3326,13 +3619,11 @@ UsageLimitType2(enum), UserWithPassword(class), Id(string), - LsUserId4(anyOf), - LsUserIdVariant1(string), - LsUserIdVariant2(null), + LsUserId(string), CreatedAt(DateTime), UpdatedAt(DateTime), Email(string), - FullName9(anyOf), + FullName10(anyOf), FullNameVariant1(string), FullNameVariant2(null), AvatarUrl3(anyOf), @@ -3391,7 +3682,7 @@ Extra15(oneOf), CreateRunRequestExtra(class), ExtraVariant2(null), - Error9(oneOf), + Error10(oneOf), ErrorVariant1(string), ErrorVariant2(null), Serialized6(oneOf), @@ -3451,7 +3742,7 @@ Extra16(oneOf), BatchIngestRunsRequestPostItemExtra(class), ExtraVariant2(null), - Error10(oneOf), + Error11(oneOf), ErrorVariant1(string), ErrorVariant2(null), Serialized7(oneOf), @@ -3499,7 +3790,7 @@ EndTime17(oneOf), EndTimeVariant1(string), EndTimeVariant2(double), - Error11(oneOf), + Error12(oneOf), ErrorVariant1(string), ErrorVariant2(null), Inputs12(oneOf), @@ -3540,7 +3831,7 @@ EndTimeVariant1(string), EndTimeVariant2(double), EndTimeVariant3(null), - Error12(oneOf), + Error13(oneOf), ErrorVariant1(string), ErrorVariant2(null), Inputs13(oneOf), @@ -3566,10 +3857,18 @@ OutputAttachments4(oneOf), UpdateRunRequestOutputAttachments(class), OutputAttachmentsVariant2(null), + SessionId9(oneOf), + SessionIdVariant1(string), + SessionIdVariant2(null), + SessionName5(oneOf), + SessionNameVariant1(string), + SessionNameVariant2(null), TracerSessionUpdate(ref), TracerSessionCreate(ref), FilterViewCreate(ref), FilterViewUpdate(ref), + OrganizationCreate(ref), + OrganizationUpdate(ref), StripePaymentInformation(ref), StripeBusinessInfoInput(ref), ChangePaymentPlanSchema(ref), @@ -3582,11 +3881,15 @@ BasicAuthMemberCreate(ref), OrgIdentityPatch(ref), BasicAuthUserPatch(ref), - UpsertOrgOrWorkspaceTTLSettingsRequest(ref), - GenerateApiKeyApiV1ApiKeyPostRequest(allOf), - APIKeyCreateRequest(ref), - GeneratePersonalAccessTokenApiV1ApiKeyCurrentPostRequest(allOf), - APIKeyCreateRequest(ref), + UpsertTTLSettingsRequest(ref), + SSOSettingsCreate(ref), + SSOSettingsUpdate(ref), + AllowedLoginMethodsUpdate(ref), + SSOEmailVerificationSendRequest(ref), + SSOEmailVerificationStatusRequest(ref), + SSOConfirmEmailRequest(ref), + APIKeyCreateRequest(ref), + APIKeyCreateRequest(ref), ExampleUpdate(ref), ExampleCreate(ref), CreateExamplesApiV1ExamplesBulkPostRequest(array), @@ -3607,8 +3910,11 @@ DatasetIndexRequest(ref), SearchDatasetRequest(ref), GenerateSyntheticExamplesBody(ref), + PlaygroundRunOverDatasetRequestSchema(ref), + PlaygroundRunOverDatasetRequestSchema(ref), RunRulesCreateSchema(ref), RunRulesCreateSchema(ref), + TriggerRulesRequest(ref), UpdateRunRequest(ref), BodyParamsForRunSchema(ref), RequestBodyForRunsGenerateQuery(ref), @@ -3638,6 +3944,10 @@ AddRunsToAnnotationQueueApiV1AnnotationQueuesQueueIdRunsPostRequestItem(string), AnnotationQueueRunUpdateSchema(ref), IdentityAnnotationQueueRunStatusCreateSchema(ref), + BodyExecuteApiV1AceExecutePost(ref), + BulkExportCreate(ref), + BulkExportDestinationCreate(ref), + BulkExportUpdate(ref), TenantCreate(ref), PendingIdentityCreate(ref), TenantBulkUnshareRequest(ref), @@ -3674,10 +3984,12 @@ CustomChartCreate(ref), CustomChartsRequest(ref), CustomChartUpdate(ref), + CustomChartsRequestBase(ref), CustomChartsSectionUpdate(ref), CreateRepoRequest(ref), UpdateRepoRequest(ref), ForkRepoRequest(ref), + OptimizePromptRequest(ref), LikeRepoRequest(ref), CreateRepoCommitRequest(ref), SetTenantHandleRequest(ref), @@ -3711,8 +4023,7 @@ ReadTracerSessionsApiV1SessionsGetDatasetVersion(anyOf), ReadTracerSessionsApiV1SessionsGetDatasetVersionVariant1(string), ReadTracerSessionsApiV1SessionsGetDatasetVersionVariant2(null), - ReadTracerSessionsApiV1SessionsGetSortBy(allOf), - SessionSortableColumns(ref), + SessionSortableColumns(ref), ReadTracerSessionsApiV1SessionsGetSortByDesc(bool), ReadTracerSessionsApiV1SessionsGetMetadata(anyOf), ReadTracerSessionsApiV1SessionsGetMetadataVariant1(string), @@ -3751,6 +4062,7 @@ UpdateFilterViewApiV1SessionsSessionIdViewsViewIdPatchViewId(string), DeleteFilterViewApiV1SessionsSessionIdViewsViewIdDeleteSessionId(string), DeleteFilterViewApiV1SessionsSessionIdViewsViewIdDeleteViewId(string), + ListOrganizationsApiV1OrgsGetSkipCreate(bool), OrganizationDashboardType(ref), GetDashboardApiV1OrgsCurrentDashboardGetColorScheme(anyOf), OrganizationDashboardColorScheme(ref), @@ -3762,8 +4074,38 @@ ClaimPendingOrganizationInviteApiV1OrgsPendingOrganizationIdClaimPostOrganizationId(string), RemoveMemberFromCurrentOrgApiV1OrgsCurrentMembersIdentityIdDeleteIdentityId(string), UpdateCurrentOrgMemberApiV1OrgsCurrentMembersIdentityIdPatchIdentityId(string), + UpdateSsoSettingsApiV1OrgsCurrentSsoSettingsIdPatchId(string), + DeleteSsoSettingsApiV1OrgsCurrentSsoSettingsIdDeleteId(string), + OAuthProvider(ref), + OAuthProvider(ref), + OAuthProvider(ref), + GetSsoSettingsApiV1SsoSettingsSsoLoginSlugGetSsoLoginSlug(string), DeleteApiKeyApiV1ApiKeyApiKeyIdDeleteApiKeyId(string), DeletePersonalAccessTokenApiV1ApiKeyCurrentPatIdDeletePatId(string), + CountExamplesApiV1ExamplesCountGetId(anyOf), + CountExamplesApiV1ExamplesCountGetIdVariant1(array), + CountExamplesApiV1ExamplesCountGetIdVariant1Item(string), + CountExamplesApiV1ExamplesCountGetIdVariant2(null), + CountExamplesApiV1ExamplesCountGetAsOf(anyOf), + CountExamplesApiV1ExamplesCountGetAsOfVariant1(DateTime), + CountExamplesApiV1ExamplesCountGetAsOfVariant2(string), + CountExamplesApiV1ExamplesCountGetMetadata(anyOf), + CountExamplesApiV1ExamplesCountGetMetadataVariant1(string), + CountExamplesApiV1ExamplesCountGetMetadataVariant2(null), + CountExamplesApiV1ExamplesCountGetFullTextContains(anyOf), + CountExamplesApiV1ExamplesCountGetFullTextContainsVariant1(array), + CountExamplesApiV1ExamplesCountGetFullTextContainsVariant1Item(string), + CountExamplesApiV1ExamplesCountGetFullTextContainsVariant2(null), + CountExamplesApiV1ExamplesCountGetSplits(anyOf), + CountExamplesApiV1ExamplesCountGetSplitsVariant1(array), + CountExamplesApiV1ExamplesCountGetSplitsVariant1Item(string), + CountExamplesApiV1ExamplesCountGetSplitsVariant2(null), + CountExamplesApiV1ExamplesCountGetDataset(anyOf), + CountExamplesApiV1ExamplesCountGetDatasetVariant1(string), + CountExamplesApiV1ExamplesCountGetDatasetVariant2(null), + CountExamplesApiV1ExamplesCountGetFilter(anyOf), + CountExamplesApiV1ExamplesCountGetFilterVariant1(string), + CountExamplesApiV1ExamplesCountGetFilterVariant2(null), ReadExampleApiV1ExamplesExampleIdGetExampleId(string), ReadExampleApiV1ExamplesExampleIdGetAsOf(anyOf), ReadExampleApiV1ExamplesExampleIdGetAsOfVariant1(DateTime), @@ -3793,8 +4135,7 @@ ReadExamplesApiV1ExamplesGetDatasetVariant2(null), ReadExamplesApiV1ExamplesGetOffset(int), ReadExamplesApiV1ExamplesGetLimit(int), - ReadExamplesApiV1ExamplesGetOrder(allOf), - ExampleListOrder(ref), + ExampleListOrder(ref), ReadExamplesApiV1ExamplesGetRandomSeed(anyOf), ReadExamplesApiV1ExamplesGetRandomSeedVariant1(double), ReadExamplesApiV1ExamplesGetRandomSeedVariant2(null), @@ -3829,8 +4170,7 @@ ReadDatasetsApiV1DatasetsGetMetadataVariant2(null), ReadDatasetsApiV1DatasetsGetOffset(int), ReadDatasetsApiV1DatasetsGetLimit(int), - ReadDatasetsApiV1DatasetsGetSortBy(allOf), - SortByDatasetColumn(ref), + SortByDatasetColumn(ref), ReadDatasetsApiV1DatasetsGetSortByDesc(bool), ReadDatasetsApiV1DatasetsGetTagValueId(anyOf), ReadDatasetsApiV1DatasetsGetTagValueIdVariant1(array), @@ -3891,8 +4231,7 @@ ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetIdVariant2(null), ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetOffset(int), ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetLimit(int), - ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetSortBy(allOf), - SortByComparativeExperimentColumn(ref), + SortByComparativeExperimentColumn(ref), ReadComparativeExperimentsApiV1DatasetsDatasetIdComparativeGetSortByDesc(bool), DeleteComparativeExperimentApiV1DatasetsComparativeComparativeExperimentIdDeleteComparativeExperimentId(string), GetDatasetSplitsApiV1DatasetsDatasetIdSplitsGetDatasetId(string), @@ -3911,6 +4250,12 @@ ListRulesApiV1RunsRulesGetSessionId(anyOf), ListRulesApiV1RunsRulesGetSessionIdVariant1(string), ListRulesApiV1RunsRulesGetSessionIdVariant2(null), + ListRulesApiV1RunsRulesGetType(anyOf), + ListRulesApiV1RunsRulesGetType2(enum), + ListRulesApiV1RunsRulesGetTypeVariant2(null), + ListRulesApiV1RunsRulesGetNameContains(anyOf), + ListRulesApiV1RunsRulesGetNameContainsVariant1(string), + ListRulesApiV1RunsRulesGetNameContainsVariant2(null), UpdateRuleApiV1RunsRulesRuleIdPatchRuleId(string), DeleteRuleApiV1RunsRulesRuleIdDeleteRuleId(string), ListRuleLogsApiV1RunsRulesRuleIdLogsGetRuleId(string), @@ -4033,9 +4378,22 @@ ReadSharedDatasetApiV1PublicShareTokenDatasetsGetShareToken(string), ReadSharedDatasetApiV1PublicShareTokenDatasetsGetOffset(int), ReadSharedDatasetApiV1PublicShareTokenDatasetsGetLimit(int), - ReadSharedDatasetApiV1PublicShareTokenDatasetsGetSortBy(allOf), - SortByDatasetColumn(ref), + SortByDatasetColumn(ref), ReadSharedDatasetApiV1PublicShareTokenDatasetsGetSortByDesc(bool), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetShareToken(string), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetId(anyOf), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetIdVariant1(array), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetIdVariant1Item(string), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetIdVariant2(null), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetAsOf(anyOf), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetAsOfVariant1(DateTime), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetAsOfVariant2(string), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetMetadata(anyOf), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetMetadataVariant1(string), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetMetadataVariant2(null), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetFilter(anyOf), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetFilterVariant1(string), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetFilterVariant2(null), ReadSharedExamplesApiV1PublicShareTokenExamplesGetShareToken(string), ReadSharedExamplesApiV1PublicShareTokenExamplesGetId(anyOf), ReadSharedExamplesApiV1PublicShareTokenExamplesGetIdVariant1(array), @@ -4068,8 +4426,7 @@ ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetDatasetVersion(anyOf), ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetDatasetVersionVariant1(string), ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetDatasetVersionVariant2(null), - ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortBy(allOf), - SessionSortableColumns(ref), + SessionSortableColumns(ref), ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortByDesc(bool), ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortByFeedbackKey(anyOf), ReadSharedDatasetTracerSessionsApiV1PublicShareTokenDatasetsSessionsGetSortByFeedbackKeyVariant1(string), @@ -4129,8 +4486,7 @@ ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetNameContainsVariant2(null), ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetOffset(int), ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetLimit(int), - ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetSortBy(allOf), - SortByComparativeExperimentColumn(ref), + SortByComparativeExperimentColumn(ref), ReadSharedComparativeExperimentsApiV1PublicShareTokenDatasetsComparativeGetSortByDesc(bool), GetAnnotationQueuesApiV1AnnotationQueuesGetIds(anyOf), GetAnnotationQueuesApiV1AnnotationQueuesGetIdsVariant1(array), @@ -4161,6 +4517,13 @@ GetTotalSizeFromAnnotationQueueApiV1AnnotationQueuesQueueIdTotalSizeGetQueueId(string), GetSizeFromAnnotationQueueApiV1AnnotationQueuesQueueIdSizeGetQueueId(string), CreateIdentityAnnotationQueueRunStatusApiV1AnnotationQueuesStatusAnnotationQueueRunIdPostAnnotationQueueRunId(string), + GetBulkExportApiV1BulkExportsBulkExportIdGetBulkExportId(string), + CancelBulkExportApiV1BulkExportsBulkExportIdPatchBulkExportId(string), + GetBulkExportDestinationApiV1BulkExportsDestinationsDestinationIdGetDestinationId(string), + GetBulkExportRunsApiV1BulkExportsBulkExportIdRunsGetBulkExportId(string), + GetBulkExportRunApiV1BulkExportsBulkExportIdRunsRunIdGetBulkExportId(string), + GetBulkExportRunApiV1BulkExportsBulkExportIdRunsRunIdGetRunId(string), + ListTenantsApiV1TenantsGetSkipCreate(bool), DeletePendingTenantInviteApiV1TenantsPendingIdDeleteId(string), ClaimPendingTenantInviteApiV1TenantsPendingTenantIdClaimPostTenantId(string), GetSharedTokensApiV1TenantsCurrentSharedGetLimit(int), @@ -4212,11 +4575,27 @@ ReadSectionsApiV1ChartsSectionGetTitleContains(anyOf), ReadSectionsApiV1ChartsSectionGetTitleContainsVariant1(string), ReadSectionsApiV1ChartsSectionGetTitleContainsVariant2(null), + ReadSectionsApiV1ChartsSectionGetIds(anyOf), + ReadSectionsApiV1ChartsSectionGetIdsVariant1(array), + ReadSectionsApiV1ChartsSectionGetIdsVariant1Item(string), + ReadSectionsApiV1ChartsSectionGetIdsVariant2(null), + ReadSectionsApiV1ChartsSectionGetSortBy(anyOf), + ReadSectionsApiV1ChartsSectionGetSortByVariant1(string), + ReadSectionsApiV1ChartsSectionGetSortByVariant2(null), + ReadSectionsApiV1ChartsSectionGetSortByDesc(bool), + ReadSectionsApiV1ChartsSectionGetSortByDescVariant1(bool), + ReadSectionsApiV1ChartsSectionGetSortByDescVariant2(null), + ReadSectionsApiV1ChartsSectionGetTagValueId(anyOf), + ReadSectionsApiV1ChartsSectionGetTagValueIdVariant1(array), + ReadSectionsApiV1ChartsSectionGetTagValueIdVariant1Item(string), + ReadSectionsApiV1ChartsSectionGetTagValueIdVariant2(null), ReadSingleChartApiV1ChartsChartIdPostChartId(string), UpdateChartApiV1ChartsChartIdPatchChartId(string), DeleteChartApiV1ChartsChartIdDeleteChartId(string), + ReadSingleSectionApiV1ChartsSectionSectionIdPostSectionId(string), UpdateSectionApiV1ChartsSectionSectionIdPatchSectionId(string), DeleteSectionApiV1ChartsSectionSectionIdDeleteSectionId(string), + ListReposApiV1ReposGetWithLatestManifest(bool), ListReposApiV1ReposGetLimit(int), ListReposApiV1ReposGetOffset(int), ListReposApiV1ReposGetTenantHandle(anyOf), @@ -4370,9 +4749,14 @@ HTTPValidationError(ref), ListOrganizationsApiV1OrgsGetResponse(array), OrganizationPGSchemaSlim(ref), + HTTPValidationError(ref), + OrganizationPGSchemaSlim(ref), + HTTPValidationError(ref), StripeSetupIntentResponse(ref), Organization(ref), OrganizationInfo(ref), + OrganizationInfo(ref), + HTTPValidationError(ref), OrganizationBillingInfo(ref), OrganizationDashboardSchema(ref), HTTPValidationError(ref), @@ -4420,7 +4804,34 @@ TTLSettings(ref), TTLSettings(ref), HTTPValidationError(ref), + GetCurrentSsoSettingsApiV1OrgsCurrentSsoSettingsGetResponse(array), + SSOProvider(ref), + SSOProvider(ref), + HTTPValidationError(ref), + SSOProvider(ref), + HTTPValidationError(ref), + SSOProvider(ref), + HTTPValidationError(ref), + UpdateAllowedLoginMethodsApiV1OrgsCurrentLoginMethodsPatchResponse(class), + HTTPValidationError(ref), + GetCurrentUserLoginMethodsApiV1OrgsCurrentUserLoginMethodsGetResponse(array), + ProviderUserSlim(ref), BasicAuthResponse(ref), + OauthProviderCallbackApiV1OauthProviderCallbackGetResponse(class), + HTTPValidationError(ref), + OauthProviderLogoutApiV1OauthProviderLogoutGetResponse(class), + HTTPValidationError(ref), + OauthProviderAuthApiV1OauthProviderGetResponse(class), + HTTPValidationError(ref), + SendSsoEmailConfirmationApiV1SsoEmailVerificationSendPostResponse(class), + HTTPValidationError(ref), + SSOEmailVerificationStatusResponse(ref), + HTTPValidationError(ref), + ConfirmSsoUserEmailApiV1SsoEmailVerificationConfirmPostResponse(class), + HTTPValidationError(ref), + GetSsoSettingsApiV1SsoSettingsSsoLoginSlugGetResponse(array), + SSOProviderSlim(ref), + HTTPValidationError(ref), GetApiKeysApiV1ApiKeyGetResponse(array), APIKeyGetResponse(ref), APIKeyCreateResponse(ref), @@ -4433,6 +4844,8 @@ HTTPValidationError(ref), APIKeyGetResponse(ref), HTTPValidationError(ref), + CountExamplesApiV1ExamplesCountGetResponse(int), + HTTPValidationError(ref), Example(ref), HTTPValidationError(ref), UpdateExampleApiV1ExamplesExampleIdPatchResponse(class), @@ -4526,6 +4939,10 @@ HTTPValidationError(ref), GenerateApiV1DatasetsDatasetIdGeneratePostResponse(class), HTTPValidationError(ref), + DatasetHandlerApiV1DatasetsPlaygroundExperimentBatchPostResponse(class), + HTTPValidationError(ref), + StreamDatasetHandlerApiV1DatasetsPlaygroundExperimentStreamPostResponse(class), + HTTPValidationError(ref), ListRulesApiV1RunsRulesGetResponse(array), RunRulesSchema(ref), HTTPValidationError(ref), @@ -4540,6 +4957,8 @@ HTTPValidationError(ref), RunRulesSchema(ref), HTTPValidationError(ref), + TriggerRulesApiV1RunsRulesTriggerPostResponse(class), + HTTPValidationError(ref), RunSchema(ref), HTTPValidationError(ref), UpdateRunApiV1RunsRunIdPatchResponse(class), @@ -4562,6 +4981,7 @@ HTTPValidationError(ref), CreateRunApiV1RunsPostResponse(class), BatchIngestRunsApiV1RunsBatchPostResponse(class), + MultipartIngestRunsApiV1RunsMultipartPostResponse(class), GroupRunsApiV1RunsGroupPostResponse(class), HTTPValidationError(ref), RunGroupStats(ref), @@ -4602,6 +5022,8 @@ HTTPValidationError(ref), DatasetPublicSchema(ref), HTTPValidationError(ref), + CountSharedExamplesApiV1PublicShareTokenExamplesCountGetResponse(int), + HTTPValidationError(ref), ReadSharedExamplesApiV1PublicShareTokenExamplesGetResponse(array), Example(ref), HTTPValidationError(ref), @@ -4657,8 +5079,30 @@ HTTPValidationError(ref), CreateIdentityAnnotationQueueRunStatusApiV1AnnotationQueuesStatusAnnotationQueueRunIdPostResponse(class), HTTPValidationError(ref), + ExecuteApiV1AceExecutePostResponse(class), + HTTPValidationError(ref), + GetBulkExportsApiV1BulkExportsGetResponse(array), + BulkExport(ref), + BulkExport(ref), + HTTPValidationError(ref), + GetBulkExportDestinationsApiV1BulkExportsDestinationsGetResponse(array), + BulkExportDestination(ref), + BulkExportDestination(ref), + HTTPValidationError(ref), + BulkExport(ref), + HTTPValidationError(ref), + BulkExport(ref), + HTTPValidationError(ref), + BulkExportDestination(ref), + HTTPValidationError(ref), + GetBulkExportRunsApiV1BulkExportsBulkExportIdRunsGetResponse(array), + BulkExportRun(ref), + HTTPValidationError(ref), + BulkExportRun(ref), + HTTPValidationError(ref), ListTenantsApiV1TenantsGetResponse(array), TenantForUser(ref), + HTTPValidationError(ref), AppSchemasTenant(ref), HTTPValidationError(ref), ListPendingTenantInvitesApiV1TenantsPendingGetResponse(array), @@ -4817,6 +5261,8 @@ HTTPValidationError(ref), DeleteChartApiV1ChartsChartIdDeleteResponse(class), HTTPValidationError(ref), + CustomChartsSection(ref), + HTTPValidationError(ref), CustomChartsSectionResponse(ref), HTTPValidationError(ref), DeleteSectionApiV1ChartsSectionSectionIdDeleteResponse(class), @@ -4836,6 +5282,8 @@ HTTPValidationError(ref), ListTagsResponse(ref), HTTPValidationError(ref), + OptimizePromptResponse(ref), + HTTPValidationError(ref), LikeRepoResponse(ref), HTTPValidationError(ref), ListCommitsResponse(ref), diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/ValidationTests.Validation_NewErrors.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/ValidationTests.Validation_NewErrors.verified.txt index 99aaea05e4..9409dc2449 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/ValidationTests.Validation_NewErrors.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/ValidationTests.Validation_NewErrors.verified.txt @@ -1,28 +1,4 @@ [ - { - Message: ge is not a valid property at #/components/schemas/CustomChartUpdate/properties/index, - Pointer: - }, - { - Message: le is not a valid property at #/components/schemas/CustomChartUpdate/properties/index, - Pointer: - }, - { - Message: ge is not a valid property at #/components/schemas/CustomChartsSectionUpdate/properties/index, - Pointer: - }, - { - Message: le is not a valid property at #/components/schemas/CustomChartsSectionUpdate/properties/index, - Pointer: - }, - { - Message: prefixItems is not a valid property at #/components/schemas/EvaluatorStructuredOutput/properties/prompt/anyOf/items, - Pointer: - }, - { - Message: prefixItems is not a valid property at #/components/schemas/InvokePromptPayload/properties/messages/items, - Pointer: - }, { RuleName: KeyMustBeRegularExpression, Message: The key 'API Key' in 'securitySchemes' of components MUST match the regular expression '^[a-zA-Z0-9\.\-_]+$'., diff --git a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/_.verified.txt b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/_.verified.txt index d962f3d52b..766e7e0a08 100644 --- a/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/_.verified.txt +++ b/src/tests/AutoSDK.UnitTests/Snapshots/Validation/ConvertedSpecs/langsmith.json/_.verified.txt @@ -20697,8 +20697,8 @@ "default": { "__missing__": "__missing__" }, - "ge": 0, - "le": 100 + "minimum": 0, + "maximum": 100 }, "chart_type": { "anyOf": [ @@ -21153,8 +21153,8 @@ "default": { "__missing__": "__missing__" }, - "ge": 0, - "le": 100 + "minimum": 0, + "maximum": 100 } }, "type": "object", @@ -21828,17 +21828,12 @@ "anyOf": [ { "items": { - "prefixItems": [ - { - "type": "string" - }, - { - "type": "string" - } - ], "type": "array", "maxItems": 2, - "minItems": 2 + "minItems": 2, + "items": { + "type": "string" + } }, "type": "array" }, @@ -24465,17 +24460,12 @@ "properties": { "messages": { "items": { - "prefixItems": [ - { - "type": "string" - }, - { - "type": "string" - } - ], "type": "array", "maxItems": 2, - "minItems": 2 + "minItems": 2, + "items": { + "type": "string" + } }, "type": "array", "title": "Messages"