From a0be6b209a7716e34294d7eb8d08a691431d8e39 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 29 Aug 2026 12:08:13 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../RetellAI.IRetellAiClient.CreateAsset.g.cs | 84 + ...etellAI.IRetellAiClient.CreateContact.g.cs | 4 + ...I.IRetellAiClient.CreateContactImport.g.cs | 57 + ...I.IRetellAiClient.CreateKnowledgeBase.g.cs | 2 +- ...llAI.IRetellAiClient.GetContactImport.g.cs | 26 + ...lAI.IRetellAiClient.ListAgentVersions.g.cs | 4 +- .../RetellAI.IRetellAiClient.RepairAgent.g.cs | 42 + ...etellAI.IRetellAiClient.UpdateContact.g.cs | 4 + ...lient.UpdateConversationFlowComponent.g.cs | 2 + ...etellAiClient.UploadContactImportFile.g.cs | 76 + ...RetellAI.JsonConverters.CallTransport.g.cs | 53 + ....JsonConverters.CallTransportNullable.g.cs | 60 + ...nConverters.CreateAssetResponseStatus.g.cs | 53 + ...Converters.CreateAssetResponseStatus2.g.cs | 53 + ...rs.CreateAssetResponseStatus2Nullable.g.cs | 60 + ...Converters.CreateAssetResponseStatus3.g.cs | 53 + ...rs.CreateAssetResponseStatus3Nullable.g.cs | 60 + ...Converters.CreateAssetResponseStatus4.g.cs | 53 + ...rs.CreateAssetResponseStatus4Nullable.g.cs | 60 + ...ers.CreateAssetResponseStatusNullable.g.cs | 60 + ...ers.CreateContactImportResponseStatus.g.cs | 53 + ...rs.CreateContactImportResponseStatus2.g.cs | 53 + ...eContactImportResponseStatus2Nullable.g.cs | 60 + ...rs.CreateContactImportResponseStatus3.g.cs | 53 + ...eContactImportResponseStatus3Nullable.g.cs | 60 + ...rs.CreateContactImportResponseStatus4.g.cs | 53 + ...eContactImportResponseStatus4Nullable.g.cs | 60 + ...rs.CreateContactImportResponseStatus5.g.cs | 53 + ...eContactImportResponseStatus5Nullable.g.cs | 60 + ...teContactImportResponseStatusNullable.g.cs | 60 + ...erters.GetContactImportResponseStatus.g.cs | 53 + ...rters.GetContactImportResponseStatus2.g.cs | 53 + ...tContactImportResponseStatus2Nullable.g.cs | 60 + ...rters.GetContactImportResponseStatus3.g.cs | 53 + ...tContactImportResponseStatus3Nullable.g.cs | 60 + ...etContactImportResponseStatusNullable.g.cs | 60 + ...nConverters.RepairAgentResponseStatus.g.cs | 53 + ...Converters.RepairAgentResponseStatus2.g.cs | 53 + ...rs.RepairAgentResponseStatus2Nullable.g.cs | 60 + ...Converters.RepairAgentResponseStatus3.g.cs | 53 + ...rs.RepairAgentResponseStatus3Nullable.g.cs | 60 + ...Converters.RepairAgentResponseStatus4.g.cs | 53 + ...rs.RepairAgentResponseStatus4Nullable.g.cs | 60 + ...Converters.RepairAgentResponseStatus5.g.cs | 53 + ...rs.RepairAgentResponseStatus5Nullable.g.cs | 60 + ...ers.RepairAgentResponseStatusNullable.g.cs | 60 + ...UploadContactImportFileResponseStatus.g.cs | 53 + ...ploadContactImportFileResponseStatus2.g.cs | 53 + ...tactImportFileResponseStatus2Nullable.g.cs | 60 + ...ploadContactImportFileResponseStatus3.g.cs | 53 + ...tactImportFileResponseStatus3Nullable.g.cs | 60 + ...ploadContactImportFileResponseStatus4.g.cs | 53 + ...tactImportFileResponseStatus4Nullable.g.cs | 60 + ...ntactImportFileResponseStatusNullable.g.cs | 60 + .../RetellAI.JsonSerializerContext.g.cs | 508 +++- .../RetellAI.JsonSerializerContextTypes.g.cs | 2514 +++++++++-------- ...AddCommunityVoiceRequestVoiceProvider.g.cs | 6 + ...etellAI.Models.AgentRequestVoiceModel.g.cs | 12 + .../Generated/RetellAI.Models.Asset.g.cs | 4 +- ...etellAI.Models.BookAppointmentCalTool.g.cs | 7 + .../Generated/RetellAI.Models.CRMConfig.g.cs | 13 +- .../RetellAI.Models.CallTransport.g.cs | 52 + .../Generated/RetellAI.Models.ChatFilter.g.cs | 11 +- ...ellAI.Models.CheckAvailabilityCalTool.g.cs | 7 + ...Models.CloneVoiceRequestVoiceProvider.g.cs | 6 + .../Generated/RetellAI.Models.Contact.g.cs | 11 + .../RetellAI.Models.ContactFilter.g.cs | 9 + ...llAI.Models.ConversationFlowComponent.g.cs | 2 + ...ellAI.Models.ConversationFlowVariant2.g.cs | 2 + ...tellAI.Models.CreateAssetRequest.Json.g.cs | 141 + .../RetellAI.Models.CreateAssetRequest.g.cs | 59 + ...ellAI.Models.CreateAssetResponse.Json.g.cs | 141 + .../RetellAI.Models.CreateAssetResponse.g.cs | 57 + ...llAI.Models.CreateAssetResponse2.Json.g.cs | 141 + .../RetellAI.Models.CreateAssetResponse2.g.cs | 57 + ...llAI.Models.CreateAssetResponse3.Json.g.cs | 141 + .../RetellAI.Models.CreateAssetResponse3.g.cs | 57 + ...llAI.Models.CreateAssetResponse4.Json.g.cs | 141 + .../RetellAI.Models.CreateAssetResponse4.g.cs | 57 + ...llAI.Models.CreateAssetResponseStatus.g.cs | 45 + ...lAI.Models.CreateAssetResponseStatus2.g.cs | 45 + ...lAI.Models.CreateAssetResponseStatus3.g.cs | 45 + ...lAI.Models.CreateAssetResponseStatus4.g.cs | 45 + ...odels.CreateContactImportRequest.Json.g.cs | 141 + ...lAI.Models.CreateContactImportRequest.g.cs | 81 + ...dels.CreateContactImportResponse.Json.g.cs | 141 + ...AI.Models.CreateContactImportResponse.g.cs | 57 + ...els.CreateContactImportResponse2.Json.g.cs | 141 + ...I.Models.CreateContactImportResponse2.g.cs | 57 + ...els.CreateContactImportResponse3.Json.g.cs | 141 + ...I.Models.CreateContactImportResponse3.g.cs | 57 + ...els.CreateContactImportResponse4.Json.g.cs | 141 + ...I.Models.CreateContactImportResponse4.g.cs | 57 + ...els.CreateContactImportResponse5.Json.g.cs | 141 + ...I.Models.CreateContactImportResponse5.g.cs | 57 + ...els.CreateContactImportResponseStatus.g.cs | 45 + ...ls.CreateContactImportResponseStatus2.g.cs | 45 + ...ls.CreateContactImportResponseStatus3.g.cs | 45 + ...ls.CreateContactImportResponseStatus4.g.cs | 45 + ...ls.CreateContactImportResponseStatus5.g.cs | 45 + .../RetellAI.Models.CreateContactRequest.g.cs | 11 + ....Models.GetContactImportResponse.Json.g.cs | 141 + ...ellAI.Models.GetContactImportResponse.g.cs | 57 + ...Models.GetContactImportResponse2.Json.g.cs | 141 + ...llAI.Models.GetContactImportResponse2.g.cs | 57 + ...Models.GetContactImportResponse3.Json.g.cs | 141 + ...llAI.Models.GetContactImportResponse3.g.cs | 57 + ...Models.GetContactImportResponseStatus.g.cs | 45 + ...odels.GetContactImportResponseStatus2.g.cs | 45 + ...odels.GetContactImportResponseStatus3.g.cs | 45 + .../RetellAI.Models.IceServer.Json.g.cs | 141 + .../Generated/RetellAI.Models.IceServer.g.cs | 67 + .../RetellAI.Models.KnowledgeBaseRequest.g.cs | 4 +- ...RetellAI.Models.KnowledgeBaseResponse.g.cs | 16 +- ...AI.Models.KnowledgeBaseResponseStatus.g.cs | 6 +- ...llAI.Models.RepairAgentResponse2.Json.g.cs | 141 + .../RetellAI.Models.RepairAgentResponse2.g.cs | 57 + ...llAI.Models.RepairAgentResponse3.Json.g.cs | 141 + .../RetellAI.Models.RepairAgentResponse3.g.cs | 57 + ...llAI.Models.RepairAgentResponse4.Json.g.cs | 141 + .../RetellAI.Models.RepairAgentResponse4.g.cs | 57 + ...llAI.Models.RepairAgentResponse5.Json.g.cs | 141 + .../RetellAI.Models.RepairAgentResponse5.g.cs | 57 + ...llAI.Models.RepairAgentResponse6.Json.g.cs | 141 + .../RetellAI.Models.RepairAgentResponse6.g.cs | 57 + ...llAI.Models.RepairAgentResponseStatus.g.cs | 45 + ...lAI.Models.RepairAgentResponseStatus2.g.cs | 45 + ...lAI.Models.RepairAgentResponseStatus3.g.cs | 45 + ...lAI.Models.RepairAgentResponseStatus4.g.cs | 45 + ...lAI.Models.RepairAgentResponseStatus5.g.cs | 45 + ...ellAI.Models.RetellLlmRequestVariant2.g.cs | 8 +- ...rchCommunityVoiceRequestVoiceProvider.g.cs | 6 + .../Generated/RetellAI.Models.State.g.cs | 2 + .../RetellAI.Models.SubagentNodeVariant3.g.cs | 2 + .../RetellAI.Models.UpdateContactRequest.g.cs | 11 + ...s.UploadContactImportFileRequest.Json.g.cs | 141 + ...Models.UploadContactImportFileRequest.g.cs | 55 + ....UploadContactImportFileResponse.Json.g.cs | 141 + ...odels.UploadContactImportFileResponse.g.cs | 53 + ...UploadContactImportFileResponse2.Json.g.cs | 141 + ...dels.UploadContactImportFileResponse2.g.cs | 57 + ...UploadContactImportFileResponse3.Json.g.cs | 141 + ...dels.UploadContactImportFileResponse3.g.cs | 57 + ...UploadContactImportFileResponse4.Json.g.cs | 141 + ...dels.UploadContactImportFileResponse4.g.cs | 57 + ...UploadContactImportFileResponse5.Json.g.cs | 141 + ...dels.UploadContactImportFileResponse5.g.cs | 57 + ...UploadContactImportFileResponseStatus.g.cs | 45 + ...ploadContactImportFileResponseStatus2.g.cs | 45 + ...ploadContactImportFileResponseStatus3.g.cs | 45 + ...ploadContactImportFileResponseStatus4.g.cs | 45 + ...llAI.Models.V2WebCallResponseVariant1.g.cs | 42 +- ...llAI.Models.V3WebCallResponseVariant1.g.cs | 42 +- ...RetellAI.Models.VoiceResponseProvider.g.cs | 6 + .../RetellAI.RetellAiClient.CreateAsset.g.cs | 1765 ++++++++++++ ...RetellAI.RetellAiClient.CreateContact.g.cs | 5 + ...AI.RetellAiClient.CreateContactImport.g.cs | 659 +++++ ...AI.RetellAiClient.CreateKnowledgeBase.g.cs | 2 +- ...ellAI.RetellAiClient.GetContactImport.g.cs | 526 ++++ ...llAI.RetellAiClient.ListAgentVersions.g.cs | 4 +- .../RetellAI.RetellAiClient.RepairAgent.g.cs | 629 +++++ ...RetellAI.RetellAiClient.UpdateContact.g.cs | 5 + ...lient.UpdateConversationFlowComponent.g.cs | 2 + ...etellAiClient.UploadContactImportFile.g.cs | 1757 ++++++++++++ src/libs/RetellAI/openapi.yaml | 307 +- 165 files changed, 16635 insertions(+), 1256 deletions(-) create mode 100644 src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateAsset.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContactImport.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetContactImport.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RepairAgent.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UploadContactImportFile.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransport.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransportNullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatusNullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatusNullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatusNullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatusNullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4Nullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatusNullable.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CallTransport.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus5.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.IceServer.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.IceServer.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus5.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.Json.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus2.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus3.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus4.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAsset.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContactImport.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetContactImport.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RepairAgent.g.cs create mode 100644 src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UploadContactImportFile.g.cs diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateAsset.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateAsset.g.cs new file mode 100644 index 00000000..29717b79 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateAsset.g.cs @@ -0,0 +1,84 @@ +#nullable enable + +namespace RetellAI +{ + public partial interface IRetellAiClient + { + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAssetAsync( + + global::RetellAI.CreateAssetRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateAssetAsResponseAsync( + + global::RetellAI.CreateAssetRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAssetAsync( + byte[] file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateAssetAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateAssetAsResponseAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContact.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContact.g.cs index cf03d273..045d77cc 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContact.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContact.g.cs @@ -41,6 +41,9 @@ public partial interface IRetellAiClient /// Last name of the contact. /// /// + /// + /// Full set of tags for the contact. + /// /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -52,6 +55,7 @@ public partial interface IRetellAiClient string? firstName = default, string? lastName = default, bool? doNotCall = default, + global::System.Collections.Generic.IList? tags = default, object? customFields = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContactImport.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContactImport.g.cs new file mode 100644 index 00000000..0e37893e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateContactImport.g.cs @@ -0,0 +1,57 @@ +#nullable enable + +namespace RetellAI +{ + public partial interface IRetellAiClient + { + /// + /// Start an incremental contact import from an uploaded CSV: creates new contacts and updates existing ones matched by phone number. Mapped columns overwrite the matched contact's fields; unmapped columns are ignored. Runs asynchronously — poll get-contact-import for progress. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateContactImportAsync( + + global::RetellAI.CreateContactImportRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Start an incremental contact import from an uploaded CSV: creates new contacts and updates existing ones matched by phone number. Mapped columns overwrite the matched contact's fields; unmapped columns are ignored. Runs asynchronously — poll get-contact-import for progress. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> CreateContactImportAsResponseAsync( + + global::RetellAI.CreateContactImportRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Start an incremental contact import from an uploaded CSV: creates new contacts and updates existing ones matched by phone number. Mapped columns overwrite the matched contact's fields; unmapped columns are ignored. Runs asynchronously — poll get-contact-import for progress. + /// + /// + /// Id returned by upload-contact-import-file. + /// + /// + /// CSV headers mapped to contact fields. field_name is the contact field and external_field_name is the CSV header. Exactly one mapping must target phone_number. Unmapped columns are ignored. + /// + /// + /// Country for parsing phone numbers without a country code. Defaults to US. + /// + /// + /// Tags added to every contact in this import. Existing tags are preserved. Omit to leave tags unchanged. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task CreateContactImportAsync( + string uploadId, + global::System.Collections.Generic.IList columnMapping, + string? defaultCountry = default, + global::System.Collections.Generic.IList? tags = default, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs index 57e40587..15e8dfc0 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.CreateKnowledgeBase.g.cs @@ -46,7 +46,7 @@ public partial interface IRetellAiClient /// Example: [https://www.example.com, https://www.retellai.com] /// /// - /// Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours.
+ /// Whether to refresh eligible URL and connected-file sources automatically on a daily cadence.
/// Example: true /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetContactImport.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetContactImport.g.cs new file mode 100644 index 00000000..68f236a3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.GetContactImport.g.cs @@ -0,0 +1,26 @@ +#nullable enable + +namespace RetellAI +{ + public partial interface IRetellAiClient + { + /// + /// Status and counts for the org's current or latest contact import. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task GetContactImportAsync( + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Status and counts for the org's current or latest contact import. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> GetContactImportAsResponseAsync( + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListAgentVersions.g.cs index a97a01f8..7b3eae70 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.ListAgentVersions.g.cs @@ -5,7 +5,7 @@ namespace RetellAI public partial interface IRetellAiClient { /// - /// List stored versions of a voice or chat agent with pagination. Root-level data such as assigned tags is not included. + /// List stored versions of a voice or chat agent with pagination. /// /// /// Example: 16b980523634a6dc504898cda492e939 @@ -28,7 +28,7 @@ public partial interface IRetellAiClient global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// - /// List stored versions of a voice or chat agent with pagination. Root-level data such as assigned tags is not included. + /// List stored versions of a voice or chat agent with pagination. /// /// /// Example: 16b980523634a6dc504898cda492e939 diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RepairAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RepairAgent.g.cs new file mode 100644 index 00000000..4cbf6894 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.RepairAgent.g.cs @@ -0,0 +1,42 @@ +#nullable enable + +namespace RetellAI +{ + public partial interface IRetellAiClient + { + /// + /// Remove references to resources that no longer exist in your workspace from an agent draft version and its response engine — tools whose app connection has been deleted, unknown knowledge bases, and deleted shared components — and remap voices that are no longer accessible to a default voice. If the agent's response engine version has been published, the engine is left untouched and only agent-level references are repaired. Repairing an agent with nothing to fix is a no-op. + /// + /// + /// Example: 16b980523634a6dc504898cda492e939 + /// + /// + /// Agent version reference. Supports a numeric version (for example 3) or a tag/environment name (for example "prod"). The string "latest" resolves to the most recently created version (the largest version number), and "latest_published" resolves to the most recently published version. When a tag is provided, resolution uses that exact tag assignment (including its dynamic variables). If the tag exists but is currently unassigned, it resolves to latest. When a numeric version, latest, or latest_published is provided, resolution applies dynamic variables from the preferred tag for that resolved version (most recently assigned), if any. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> RepairAgentAsync( + string agentId, + global::RetellAI.AgentVersionReference? version = default, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Remove references to resources that no longer exist in your workspace from an agent draft version and its response engine — tools whose app connection has been deleted, unknown knowledge bases, and deleted shared components — and remap voices that are no longer accessible to a default voice. If the agent's response engine version has been published, the engine is left untouched and only agent-level references are repaired. Repairing an agent with nothing to fix is a no-op. + /// + /// + /// Example: 16b980523634a6dc504898cda492e939 + /// + /// + /// Agent version reference. Supports a numeric version (for example 3) or a tag/environment name (for example "prod"). The string "latest" resolves to the most recently created version (the largest version number), and "latest_published" resolves to the most recently published version. When a tag is provided, resolution uses that exact tag assignment (including its dynamic variables). If the tag exists but is currently unassigned, it resolves to latest. When a numeric version, latest, or latest_published is provided, resolution applies dynamic variables from the preferred tag for that resolved version (most recently assigned), if any. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task>> RepairAgentAsResponseAsync( + string agentId, + global::RetellAI.AgentVersionReference? version = default, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateContact.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateContact.g.cs index db289493..6451bbd5 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateContact.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateContact.g.cs @@ -43,6 +43,9 @@ public partial interface IRetellAiClient /// Last name of the contact. /// /// + /// + /// Full replacement set of tags for the contact. + /// /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -54,6 +57,7 @@ public partial interface IRetellAiClient string? firstName = default, string? lastName = default, bool? doNotCall = default, + global::System.Collections.Generic.IList? tags = default, object? customFields = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateConversationFlowComponent.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateConversationFlowComponent.g.cs index cc0558f6..156aa488 100644 --- a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateConversationFlowComponent.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UpdateConversationFlowComponent.g.cs @@ -1,5 +1,7 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace RetellAI { public partial interface IRetellAiClient diff --git a/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UploadContactImportFile.g.cs b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UploadContactImportFile.g.cs new file mode 100644 index 00000000..997bd59a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.IRetellAiClient.UploadContactImportFile.g.cs @@ -0,0 +1,76 @@ +#nullable enable + +namespace RetellAI +{ + public partial interface IRetellAiClient + { + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadContactImportFileAsync( + + global::RetellAI.UploadContactImportFileRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UploadContactImportFileAsResponseAsync( + + global::RetellAI.UploadContactImportFileRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadContactImportFileAsync( + byte[] file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// The stream to send as the multipart 'file' file part. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task UploadContactImportFileAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// The stream to send as the multipart 'file' file part. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> UploadContactImportFileAsResponseAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransport.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransport.g.cs new file mode 100644 index 00000000..28f519b5 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransport.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CallTransportJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CallTransport 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::RetellAI.CallTransportExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CallTransport)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CallTransport); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CallTransport value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CallTransportExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransportNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransportNullable.g.cs new file mode 100644 index 00000000..478ab001 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CallTransportNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CallTransportNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CallTransport? 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::RetellAI.CallTransportExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CallTransport)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CallTransport?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CallTransport? 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::RetellAI.CallTransportExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus.g.cs new file mode 100644 index 00000000..1ce2283f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus 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::RetellAI.CreateAssetResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateAssetResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2.g.cs new file mode 100644 index 00000000..051f8329 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatus2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus2 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::RetellAI.CreateAssetResponseStatus2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateAssetResponseStatus2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2Nullable.g.cs new file mode 100644 index 00000000..94963a93 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatus2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus2? 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::RetellAI.CreateAssetResponseStatus2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus2? 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::RetellAI.CreateAssetResponseStatus2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3.g.cs new file mode 100644 index 00000000..6c01ffee --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatus3JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus3 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::RetellAI.CreateAssetResponseStatus3Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus3); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus3 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateAssetResponseStatus3Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3Nullable.g.cs new file mode 100644 index 00000000..e29a30a7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus3Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatus3NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus3? 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::RetellAI.CreateAssetResponseStatus3Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus3?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus3? 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::RetellAI.CreateAssetResponseStatus3Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4.g.cs new file mode 100644 index 00000000..ec2f3c90 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatus4JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus4 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::RetellAI.CreateAssetResponseStatus4Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus4); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus4 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateAssetResponseStatus4Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4Nullable.g.cs new file mode 100644 index 00000000..520fdffb --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatus4Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatus4NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus4? 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::RetellAI.CreateAssetResponseStatus4Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus4?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus4? 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::RetellAI.CreateAssetResponseStatus4Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatusNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatusNullable.g.cs new file mode 100644 index 00000000..c3a90be7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateAssetResponseStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateAssetResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateAssetResponseStatus? 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::RetellAI.CreateAssetResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateAssetResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateAssetResponseStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateAssetResponseStatus? 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::RetellAI.CreateAssetResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus.g.cs new file mode 100644 index 00000000..f7a89514 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus 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::RetellAI.CreateContactImportResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateContactImportResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2.g.cs new file mode 100644 index 00000000..d9c4b837 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus2 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::RetellAI.CreateContactImportResponseStatus2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateContactImportResponseStatus2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2Nullable.g.cs new file mode 100644 index 00000000..6e72e1f5 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus2? 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::RetellAI.CreateContactImportResponseStatus2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus2? 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::RetellAI.CreateContactImportResponseStatus2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3.g.cs new file mode 100644 index 00000000..90bc3483 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus3JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus3 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::RetellAI.CreateContactImportResponseStatus3Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus3); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus3 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateContactImportResponseStatus3Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3Nullable.g.cs new file mode 100644 index 00000000..db973ae7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus3Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus3NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus3? 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::RetellAI.CreateContactImportResponseStatus3Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus3?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus3? 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::RetellAI.CreateContactImportResponseStatus3Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4.g.cs new file mode 100644 index 00000000..9fbfdf7a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus4JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus4 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::RetellAI.CreateContactImportResponseStatus4Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus4); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus4 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateContactImportResponseStatus4Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4Nullable.g.cs new file mode 100644 index 00000000..d5d36425 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus4Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus4NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus4? 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::RetellAI.CreateContactImportResponseStatus4Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus4?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus4? 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::RetellAI.CreateContactImportResponseStatus4Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5.g.cs new file mode 100644 index 00000000..c58d730a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus5JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus5 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::RetellAI.CreateContactImportResponseStatus5Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus5)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus5); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus5 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.CreateContactImportResponseStatus5Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5Nullable.g.cs new file mode 100644 index 00000000..006f646b --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatus5Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatus5NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus5? 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::RetellAI.CreateContactImportResponseStatus5Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus5)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus5?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus5? 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::RetellAI.CreateContactImportResponseStatus5Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatusNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatusNullable.g.cs new file mode 100644 index 00000000..20f5c854 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.CreateContactImportResponseStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class CreateContactImportResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.CreateContactImportResponseStatus? 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::RetellAI.CreateContactImportResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.CreateContactImportResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.CreateContactImportResponseStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.CreateContactImportResponseStatus? 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::RetellAI.CreateContactImportResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus.g.cs new file mode 100644 index 00000000..4a005c57 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class GetContactImportResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.GetContactImportResponseStatus 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::RetellAI.GetContactImportResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.GetContactImportResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.GetContactImportResponseStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.GetContactImportResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.GetContactImportResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2.g.cs new file mode 100644 index 00000000..601961e9 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class GetContactImportResponseStatus2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.GetContactImportResponseStatus2 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::RetellAI.GetContactImportResponseStatus2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.GetContactImportResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.GetContactImportResponseStatus2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.GetContactImportResponseStatus2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.GetContactImportResponseStatus2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2Nullable.g.cs new file mode 100644 index 00000000..2f6c9a08 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class GetContactImportResponseStatus2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.GetContactImportResponseStatus2? 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::RetellAI.GetContactImportResponseStatus2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.GetContactImportResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.GetContactImportResponseStatus2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.GetContactImportResponseStatus2? 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::RetellAI.GetContactImportResponseStatus2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3.g.cs new file mode 100644 index 00000000..d73dac0b --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class GetContactImportResponseStatus3JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.GetContactImportResponseStatus3 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::RetellAI.GetContactImportResponseStatus3Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.GetContactImportResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.GetContactImportResponseStatus3); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.GetContactImportResponseStatus3 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.GetContactImportResponseStatus3Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3Nullable.g.cs new file mode 100644 index 00000000..8f03b5bd --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatus3Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class GetContactImportResponseStatus3NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.GetContactImportResponseStatus3? 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::RetellAI.GetContactImportResponseStatus3Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.GetContactImportResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.GetContactImportResponseStatus3?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.GetContactImportResponseStatus3? 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::RetellAI.GetContactImportResponseStatus3Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatusNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatusNullable.g.cs new file mode 100644 index 00000000..7aa7b0b6 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.GetContactImportResponseStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class GetContactImportResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.GetContactImportResponseStatus? 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::RetellAI.GetContactImportResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.GetContactImportResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.GetContactImportResponseStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.GetContactImportResponseStatus? 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::RetellAI.GetContactImportResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus.g.cs new file mode 100644 index 00000000..e9aef4e3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus 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::RetellAI.RepairAgentResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.RepairAgentResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2.g.cs new file mode 100644 index 00000000..55b84955 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus2 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::RetellAI.RepairAgentResponseStatus2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.RepairAgentResponseStatus2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2Nullable.g.cs new file mode 100644 index 00000000..1aa2e7c8 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus2? 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::RetellAI.RepairAgentResponseStatus2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus2? 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::RetellAI.RepairAgentResponseStatus2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3.g.cs new file mode 100644 index 00000000..e806f047 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus3JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus3 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::RetellAI.RepairAgentResponseStatus3Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus3); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus3 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.RepairAgentResponseStatus3Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3Nullable.g.cs new file mode 100644 index 00000000..612fbf3b --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus3Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus3NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus3? 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::RetellAI.RepairAgentResponseStatus3Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus3?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus3? 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::RetellAI.RepairAgentResponseStatus3Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4.g.cs new file mode 100644 index 00000000..aee118b7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus4JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus4 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::RetellAI.RepairAgentResponseStatus4Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus4); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus4 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.RepairAgentResponseStatus4Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4Nullable.g.cs new file mode 100644 index 00000000..1c1d4932 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus4Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus4NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus4? 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::RetellAI.RepairAgentResponseStatus4Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus4?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus4? 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::RetellAI.RepairAgentResponseStatus4Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5.g.cs new file mode 100644 index 00000000..f1856afd --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus5JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus5 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::RetellAI.RepairAgentResponseStatus5Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus5)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus5); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus5 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.RepairAgentResponseStatus5Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5Nullable.g.cs new file mode 100644 index 00000000..9beeeace --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatus5Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatus5NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus5? 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::RetellAI.RepairAgentResponseStatus5Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus5)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus5?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus5? 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::RetellAI.RepairAgentResponseStatus5Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatusNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatusNullable.g.cs new file mode 100644 index 00000000..6120dadd --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.RepairAgentResponseStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class RepairAgentResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.RepairAgentResponseStatus? 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::RetellAI.RepairAgentResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.RepairAgentResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.RepairAgentResponseStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.RepairAgentResponseStatus? 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::RetellAI.RepairAgentResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus.g.cs new file mode 100644 index 00000000..8eddee93 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus 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::RetellAI.UploadContactImportFileResponseStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.UploadContactImportFileResponseStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2.g.cs new file mode 100644 index 00000000..c937237e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatus2JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus2 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::RetellAI.UploadContactImportFileResponseStatus2Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus2); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus2 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.UploadContactImportFileResponseStatus2Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2Nullable.g.cs new file mode 100644 index 00000000..97d4390e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus2Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatus2NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus2? 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::RetellAI.UploadContactImportFileResponseStatus2Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus2)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus2?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus2? 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::RetellAI.UploadContactImportFileResponseStatus2Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3.g.cs new file mode 100644 index 00000000..b170cc09 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatus3JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus3 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::RetellAI.UploadContactImportFileResponseStatus3Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus3); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus3 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.UploadContactImportFileResponseStatus3Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3Nullable.g.cs new file mode 100644 index 00000000..7fdafb4d --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus3Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatus3NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus3? 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::RetellAI.UploadContactImportFileResponseStatus3Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus3)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus3?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus3? 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::RetellAI.UploadContactImportFileResponseStatus3Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4.g.cs new file mode 100644 index 00000000..cf115f60 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatus4JsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus4 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::RetellAI.UploadContactImportFileResponseStatus4Extensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus4); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus4 value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::RetellAI.UploadContactImportFileResponseStatus4Extensions.ToValueString(value)); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4Nullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4Nullable.g.cs new file mode 100644 index 00000000..bdb31779 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatus4Nullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatus4NullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus4? 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::RetellAI.UploadContactImportFileResponseStatus4Extensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus4)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus4?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus4? 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::RetellAI.UploadContactImportFileResponseStatus4Extensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatusNullable.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatusNullable.g.cs new file mode 100644 index 00000000..84ac9825 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.JsonConverters.UploadContactImportFileResponseStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace RetellAI.JsonConverters +{ + /// + public sealed class UploadContactImportFileResponseStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::RetellAI.UploadContactImportFileResponseStatus? 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::RetellAI.UploadContactImportFileResponseStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::RetellAI.UploadContactImportFileResponseStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::RetellAI.UploadContactImportFileResponseStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::RetellAI.UploadContactImportFileResponseStatus? 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::RetellAI.UploadContactImportFileResponseStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs index ade4dbd7..4754421c 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContext.g.cs @@ -719,6 +719,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V2CallResponse), TypeInfoPropertyName = "V2CallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V2WebCallResponse), TypeInfoPropertyName = "V2WebCallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V2PhoneCallResponse), TypeInfoPropertyName = "V2PhoneCallResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CallTransport), TypeInfoPropertyName = "CallTransport2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.IceServer))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OneOf>), TypeInfoPropertyName = "OneOfStringIListString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3CallResponse), TypeInfoPropertyName = "V3CallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3WebCallResponse), TypeInfoPropertyName = "V3WebCallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3PhoneCallResponse), TypeInfoPropertyName = "V3PhoneCallResponse2")] @@ -734,6 +737,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3PhoneCallResponseVariant1TelephonyIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3WebCallResponseVariant1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3WebCallResponseVariant1CallType), TypeInfoPropertyName = "V3WebCallResponseVariant1CallType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3ListCallsRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3ListCallsRequestSortOrder), TypeInfoPropertyName = "V3ListCallsRequestSortOrder2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V2PhoneCallResponseVariant1))] @@ -837,6 +841,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatCompletionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreatePhoneNumberRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreatePhoneNumberRequestNumberProvider), TypeInfoPropertyName = "CreatePhoneNumberRequestNumberProvider2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreatePhoneNumberRequestCountryCode), TypeInfoPropertyName = "CreatePhoneNumberRequestCountryCode2")] @@ -863,6 +868,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateLiveCallRequestFieldsToOverrideDataStorageSetting), TypeInfoPropertyName = "UpdateLiveCallRequestFieldsToOverrideDataStorageSetting2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateLiveCallRequestCallControl))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateContactRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAppRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateAppRequest))] @@ -1019,13 +1026,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatAgentResponseStatus3), TypeInfoPropertyName = "CreateChatAgentResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatAgentResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateChatAgentResponseStatus4), TypeInfoPropertyName = "CreateChatAgentResponseStatus42")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus2_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus2), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus22")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus3), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus32")] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1044,6 +1044,13 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus2), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus3), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponseStatus4), TypeInfoPropertyName = "AgentPlaygroundCompletionResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.AgentPlaygroundCompletionResponse6))] @@ -1095,6 +1102,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateConversationFlowResponseStatus4), TypeInfoPropertyName = "CreateConversationFlowResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateConversationFlowResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateConversationFlowResponseStatus5), TypeInfoPropertyName = "CreateConversationFlowResponseStatus52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus), TypeInfoPropertyName = "CreateAssetResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus2), TypeInfoPropertyName = "CreateAssetResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponse3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus3), TypeInfoPropertyName = "CreateAssetResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponse4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus4), TypeInfoPropertyName = "CreateAssetResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateKnowledgeBaseResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateKnowledgeBaseResponseStatus), TypeInfoPropertyName = "CreateKnowledgeBaseResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateKnowledgeBaseResponse2))] @@ -1515,6 +1530,34 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateAgentResponseStatus4), TypeInfoPropertyName = "UpdateAgentResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateAgentResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateAgentResponseStatus5), TypeInfoPropertyName = "UpdateAgentResponseStatus52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus), TypeInfoPropertyName = "RepairAgentResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponse3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus2), TypeInfoPropertyName = "RepairAgentResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponse4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus3), TypeInfoPropertyName = "RepairAgentResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponse5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus4), TypeInfoPropertyName = "RepairAgentResponseStatus42")] + internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponse6))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus5), TypeInfoPropertyName = "RepairAgentResponseStatus52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateChatAgentResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateChatAgentResponseStatus), TypeInfoPropertyName = "UpdateChatAgentResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateChatAgentResponse2))] @@ -1538,24 +1581,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateConversationFlowComponentResponse2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateConversationFlowComponentResponseStatus2), TypeInfoPropertyName = "UpdateConversationFlowComponentResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateConversationFlowComponentResponse3))] - internal sealed partial class SourceGenerationContextChunk2 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateConversationFlowComponentResponseStatus3), TypeInfoPropertyName = "UpdateConversationFlowComponentResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateConversationFlowComponentResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateConversationFlowComponentResponseStatus4), TypeInfoPropertyName = "UpdateConversationFlowComponentResponseStatus42")] @@ -1705,6 +1730,31 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactResponseStatus3), TypeInfoPropertyName = "CreateContactResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactResponseStatus4), TypeInfoPropertyName = "CreateContactResponseStatus42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus), TypeInfoPropertyName = "UploadContactImportFileResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponse3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus2), TypeInfoPropertyName = "UploadContactImportFileResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponse4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus3), TypeInfoPropertyName = "UploadContactImportFileResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponse5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus4), TypeInfoPropertyName = "UploadContactImportFileResponseStatus42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus), TypeInfoPropertyName = "CreateContactImportResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus2), TypeInfoPropertyName = "CreateContactImportResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponse3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus3), TypeInfoPropertyName = "CreateContactImportResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponse4))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus4), TypeInfoPropertyName = "CreateContactImportResponseStatus42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponse5))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus5), TypeInfoPropertyName = "CreateContactImportResponseStatus52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponseStatus), TypeInfoPropertyName = "GetContactImportResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponse2))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponseStatus2), TypeInfoPropertyName = "GetContactImportResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponse3))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponseStatus3), TypeInfoPropertyName = "GetContactImportResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactResponseStatus), TypeInfoPropertyName = "GetContactResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactResponse2))] @@ -2000,6 +2050,24 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.MCPNode?), TypeInfoPropertyName = "NullableMCPNode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationFlowOverrideStartSpeaker?), TypeInfoPropertyName = "NullableConversationFlowOverrideStartSpeaker2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationFlowResponse?), TypeInfoPropertyName = "NullableConversationFlowResponse2")] + internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationFlow?), TypeInfoPropertyName = "NullableConversationFlow2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ConversationNodeVariant3Type?), TypeInfoPropertyName = "NullableConversationNodeVariant3Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.SkipResponseEdge?), TypeInfoPropertyName = "NullableSkipResponseEdge2")] @@ -2050,24 +2118,6 @@ internal sealed partial class SourceGenerationContextChunk2 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ChatFilterUserSentimentValueItem?), TypeInfoPropertyName = "NullableChatFilterUserSentimentValueItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OneOf?), TypeInfoPropertyName = "NullableOneOfStringFilterPresentFilter2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ListContactsRequestSortOrder?), TypeInfoPropertyName = "NullableListContactsRequestSortOrder2")] - internal sealed partial class SourceGenerationContextChunk3 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ElseEdgeVariant2TransitionConditionType?), TypeInfoPropertyName = "NullableElseEdgeVariant2TransitionConditionType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ElseEdgeVariant2TransitionConditionPrompt?), TypeInfoPropertyName = "NullableElseEdgeVariant2TransitionConditionPrompt2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.EndCallToolType?), TypeInfoPropertyName = "NullableEndCallToolType2")] @@ -2222,6 +2272,8 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V2CallResponse?), TypeInfoPropertyName = "NullableV2CallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V2WebCallResponse?), TypeInfoPropertyName = "NullableV2WebCallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V2PhoneCallResponse?), TypeInfoPropertyName = "NullableV2PhoneCallResponse2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CallTransport?), TypeInfoPropertyName = "NullableCallTransport2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OneOf>?), TypeInfoPropertyName = "NullableOneOfStringIListString2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3CallResponse?), TypeInfoPropertyName = "NullableV3CallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3WebCallResponse?), TypeInfoPropertyName = "NullableV3WebCallResponse2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.V3PhoneCallResponse?), TypeInfoPropertyName = "NullableV3PhoneCallResponse2")] @@ -2398,6 +2450,10 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateConversationFlowResponseStatus3?), TypeInfoPropertyName = "NullableCreateConversationFlowResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateConversationFlowResponseStatus4?), TypeInfoPropertyName = "NullableCreateConversationFlowResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateConversationFlowResponseStatus5?), TypeInfoPropertyName = "NullableCreateConversationFlowResponseStatus52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus?), TypeInfoPropertyName = "NullableCreateAssetResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus2?), TypeInfoPropertyName = "NullableCreateAssetResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus3?), TypeInfoPropertyName = "NullableCreateAssetResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateAssetResponseStatus4?), TypeInfoPropertyName = "NullableCreateAssetResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateKnowledgeBaseResponseStatus?), TypeInfoPropertyName = "NullableCreateKnowledgeBaseResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateKnowledgeBaseResponseStatus2?), TypeInfoPropertyName = "NullableCreateKnowledgeBaseResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateKnowledgeBaseResponseStatus3?), TypeInfoPropertyName = "NullableCreateKnowledgeBaseResponseStatus32")] @@ -2506,6 +2562,24 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetPhoneNumberResponseStatus2?), TypeInfoPropertyName = "NullableGetPhoneNumberResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetPhoneNumberResponseStatus3?), TypeInfoPropertyName = "NullableGetPhoneNumberResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetPhoneNumberResponseStatus4?), TypeInfoPropertyName = "NullableGetPhoneNumberResponseStatus42")] + internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetRetellLLMResponseStatus?), TypeInfoPropertyName = "NullableGetRetellLLMResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetRetellLLMResponseStatus2?), TypeInfoPropertyName = "NullableGetRetellLLMResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetRetellLLMResponseStatus3?), TypeInfoPropertyName = "NullableGetRetellLLMResponseStatus32")] @@ -2562,24 +2636,6 @@ internal sealed partial class SourceGenerationContextChunk3 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ListRetellLLMResponseStatus2?), TypeInfoPropertyName = "NullableListRetellLLMResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ListRetellLLMResponseStatus3?), TypeInfoPropertyName = "NullableListRetellLLMResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ListRetellLLMResponseStatus4?), TypeInfoPropertyName = "NullableListRetellLLMResponseStatus42")] - internal sealed partial class SourceGenerationContextChunk4 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.NullableLLMModel), TypeInfoPropertyName = "NullableLLMModel_RetellAI_NullableLLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), TypeInfoPropertyName = "IListDouble_System_Collections_Generic_IList_double_3")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.LLMModel?), TypeInfoPropertyName = "NullableLLMModel_RetellAI_LLMModel")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ListRetellLLMResponseStatus5?), TypeInfoPropertyName = "NullableListRetellLLMResponseStatus52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ListVoicesResponseStatus?), TypeInfoPropertyName = "NullableListVoicesResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.ListVoicesResponseStatus2?), TypeInfoPropertyName = "NullableListVoicesResponseStatus22")] @@ -2618,6 +2674,11 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateAgentResponseStatus3?), TypeInfoPropertyName = "NullableUpdateAgentResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateAgentResponseStatus4?), TypeInfoPropertyName = "NullableUpdateAgentResponseStatus42")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateAgentResponseStatus5?), TypeInfoPropertyName = "NullableUpdateAgentResponseStatus52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus?), TypeInfoPropertyName = "NullableRepairAgentResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus2?), TypeInfoPropertyName = "NullableRepairAgentResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus3?), TypeInfoPropertyName = "NullableRepairAgentResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus4?), TypeInfoPropertyName = "NullableRepairAgentResponseStatus42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.RepairAgentResponseStatus5?), TypeInfoPropertyName = "NullableRepairAgentResponseStatus52")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateChatAgentResponseStatus?), TypeInfoPropertyName = "NullableUpdateChatAgentResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateChatAgentResponseStatus2?), TypeInfoPropertyName = "NullableUpdateChatAgentResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UpdateChatAgentResponseStatus3?), TypeInfoPropertyName = "NullableUpdateChatAgentResponseStatus32")] @@ -2703,6 +2764,18 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactResponseStatus2?), TypeInfoPropertyName = "NullableCreateContactResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactResponseStatus3?), TypeInfoPropertyName = "NullableCreateContactResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactResponseStatus4?), TypeInfoPropertyName = "NullableCreateContactResponseStatus42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus?), TypeInfoPropertyName = "NullableUploadContactImportFileResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus2?), TypeInfoPropertyName = "NullableUploadContactImportFileResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus3?), TypeInfoPropertyName = "NullableUploadContactImportFileResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.UploadContactImportFileResponseStatus4?), TypeInfoPropertyName = "NullableUploadContactImportFileResponseStatus42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus?), TypeInfoPropertyName = "NullableCreateContactImportResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus2?), TypeInfoPropertyName = "NullableCreateContactImportResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus3?), TypeInfoPropertyName = "NullableCreateContactImportResponseStatus32")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus4?), TypeInfoPropertyName = "NullableCreateContactImportResponseStatus42")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.CreateContactImportResponseStatus5?), TypeInfoPropertyName = "NullableCreateContactImportResponseStatus52")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponseStatus?), TypeInfoPropertyName = "NullableGetContactImportResponseStatus2_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponseStatus2?), TypeInfoPropertyName = "NullableGetContactImportResponseStatus22")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactImportResponseStatus3?), TypeInfoPropertyName = "NullableGetContactImportResponseStatus32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactResponseStatus?), TypeInfoPropertyName = "NullableGetContactResponseStatus2_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactResponseStatus2?), TypeInfoPropertyName = "NullableGetContactResponseStatus22")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.GetContactResponseStatus3?), TypeInfoPropertyName = "NullableGetContactResponseStatus32")] @@ -2865,6 +2938,8 @@ internal sealed partial class SourceGenerationContextChunk4 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::RetellAI.OneOf>))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -3042,6 +3117,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); @@ -3067,6 +3143,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter>()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); @@ -3084,6 +3161,7 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::RetellAI.JsonConverters.OneOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); options.Converters.Add(new global::RetellAI.JsonConverters.AllOfJsonConverter()); @@ -3949,6 +4027,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.V2CallBaseDataStorageSetting?) + || typeToConvert == typeof(global::RetellAI.CallTransport) + + || typeToConvert == typeof(global::RetellAI.CallTransport?) + || typeToConvert == typeof(global::RetellAI.V3CallBaseCallStatus) || typeToConvert == typeof(global::RetellAI.V3CallBaseCallStatus?) @@ -4593,6 +4675,22 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.CreateConversationFlowResponseStatus5?) + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus) + + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus?) + + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus2) + + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus2?) + + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus3) + + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus3?) + + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus4) + + || typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus4?) + || typeToConvert == typeof(global::RetellAI.CreateKnowledgeBaseResponseStatus) || typeToConvert == typeof(global::RetellAI.CreateKnowledgeBaseResponseStatus?) @@ -5369,6 +5467,26 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.UpdateAgentResponseStatus5?) + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus?) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus2) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus2?) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus3) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus3?) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus4) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus4?) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus5) + + || typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus5?) + || typeToConvert == typeof(global::RetellAI.UpdateChatAgentResponseStatus) || typeToConvert == typeof(global::RetellAI.UpdateChatAgentResponseStatus?) @@ -5701,6 +5819,54 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::RetellAI.CreateContactResponseStatus4?) + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus) + + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus?) + + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus2) + + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus2?) + + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus3) + + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus3?) + + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus4) + + || typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus4?) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus?) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus2) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus2?) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus3) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus3?) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus4) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus4?) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus5) + + || typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus5?) + + || typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus) + + || typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus?) + + || typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus2) + + || typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus2?) + + || typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus3) + + || typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus3?) + || typeToConvert == typeof(global::RetellAI.GetContactResponseStatus) || typeToConvert == typeof(global::RetellAI.GetContactResponseStatus?) @@ -8162,6 +8328,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.V2CallBaseDataStorageSettingNullableJsonConverter(); } + if (typeToConvert == typeof(global::RetellAI.CallTransport)) + { + return new global::RetellAI.JsonConverters.CallTransportJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CallTransport?)) + { + return new global::RetellAI.JsonConverters.CallTransportNullableJsonConverter(); + } + if (typeToConvert == typeof(global::RetellAI.V3CallBaseCallStatus)) { return new global::RetellAI.JsonConverters.V3CallBaseCallStatusJsonConverter(); @@ -9772,6 +9948,46 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.CreateConversationFlowResponseStatus5NullableJsonConverter(); } + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus?)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus2)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatus2JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus2?)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatus2NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus3)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatus3JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus3?)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatus3NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus4)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatus4JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateAssetResponseStatus4?)) + { + return new global::RetellAI.JsonConverters.CreateAssetResponseStatus4NullableJsonConverter(); + } + if (typeToConvert == typeof(global::RetellAI.CreateKnowledgeBaseResponseStatus)) { return new global::RetellAI.JsonConverters.CreateKnowledgeBaseResponseStatusJsonConverter(); @@ -11712,6 +11928,56 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.UpdateAgentResponseStatus5NullableJsonConverter(); } + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus?)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus2)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus2JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus2?)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus2NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus3)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus3JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus3?)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus3NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus4)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus4JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus4?)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus4NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus5)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus5JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.RepairAgentResponseStatus5?)) + { + return new global::RetellAI.JsonConverters.RepairAgentResponseStatus5NullableJsonConverter(); + } + if (typeToConvert == typeof(global::RetellAI.UpdateChatAgentResponseStatus)) { return new global::RetellAI.JsonConverters.UpdateChatAgentResponseStatusJsonConverter(); @@ -12542,6 +12808,126 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::RetellAI.JsonConverters.CreateContactResponseStatus4NullableJsonConverter(); } + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus?)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus2)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus2JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus2?)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus2NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus3)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus3JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus3?)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus3NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus4)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus4JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.UploadContactImportFileResponseStatus4?)) + { + return new global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus4NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus?)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus2)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus2JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus2?)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus2NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus3)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus3JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus3?)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus3NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus4)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus4JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus4?)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus4NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus5)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus5JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.CreateContactImportResponseStatus5?)) + { + return new global::RetellAI.JsonConverters.CreateContactImportResponseStatus5NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus)) + { + return new global::RetellAI.JsonConverters.GetContactImportResponseStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus?)) + { + return new global::RetellAI.JsonConverters.GetContactImportResponseStatusNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus2)) + { + return new global::RetellAI.JsonConverters.GetContactImportResponseStatus2JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus2?)) + { + return new global::RetellAI.JsonConverters.GetContactImportResponseStatus2NullableJsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus3)) + { + return new global::RetellAI.JsonConverters.GetContactImportResponseStatus3JsonConverter(); + } + + if (typeToConvert == typeof(global::RetellAI.GetContactImportResponseStatus3?)) + { + return new global::RetellAI.JsonConverters.GetContactImportResponseStatus3NullableJsonConverter(); + } + if (typeToConvert == typeof(global::RetellAI.GetContactResponseStatus)) { return new global::RetellAI.JsonConverters.GetContactResponseStatusJsonConverter(); diff --git a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs index 6cf9d731..1e3aa6a3 100644 --- a/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.JsonSerializerContextTypes.g.cs @@ -2741,4507 +2741,4707 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::RetellAI.V3CallResponse? Type677 { get; set; } + public global::RetellAI.CallTransport? Type677 { get; set; } /// /// /// - public global::RetellAI.V3WebCallResponse? Type678 { get; set; } + public global::RetellAI.IceServer? Type678 { get; set; } /// /// /// - public global::RetellAI.V3PhoneCallResponse? Type679 { get; set; } + public global::RetellAI.OneOf>? Type679 { get; set; } /// /// /// - public global::RetellAI.V3CallBase? Type680 { get; set; } + public global::RetellAI.V3CallResponse? Type680 { get; set; } /// /// /// - public global::RetellAI.V3CallBaseCallStatus? Type681 { get; set; } + public global::RetellAI.V3WebCallResponse? Type681 { get; set; } /// /// /// - public global::RetellAI.V3CallBaseDataStorageSetting? Type682 { get; set; } + public global::RetellAI.V3PhoneCallResponse? Type682 { get; set; } /// /// /// - public global::RetellAI.V3CallBaseLatency? Type683 { get; set; } + public global::RetellAI.V3CallBase? Type683 { get; set; } /// /// /// - public global::RetellAI.V3CallBaseCallCost? Type684 { get; set; } + public global::RetellAI.V3CallBaseCallStatus? Type684 { get; set; } /// /// /// - public global::RetellAI.V3CallBaseLlmTokenUsage? Type685 { get; set; } + public global::RetellAI.V3CallBaseDataStorageSetting? Type685 { get; set; } /// /// /// - public global::RetellAI.V3PhoneCallResponseVariant1? Type686 { get; set; } + public global::RetellAI.V3CallBaseLatency? Type686 { get; set; } /// /// /// - public global::RetellAI.V3PhoneCallResponseVariant1CallType? Type687 { get; set; } + public global::RetellAI.V3CallBaseCallCost? Type687 { get; set; } /// /// /// - public global::RetellAI.V3PhoneCallResponseVariant1Direction? Type688 { get; set; } + public global::RetellAI.V3CallBaseLlmTokenUsage? Type688 { get; set; } /// /// /// - public global::RetellAI.V3PhoneCallResponseVariant1TelephonyIdentifier? Type689 { get; set; } + public global::RetellAI.V3PhoneCallResponseVariant1? Type689 { get; set; } /// /// /// - public global::RetellAI.V3WebCallResponseVariant1? Type690 { get; set; } + public global::RetellAI.V3PhoneCallResponseVariant1CallType? Type690 { get; set; } /// /// /// - public global::RetellAI.V3WebCallResponseVariant1CallType? Type691 { get; set; } + public global::RetellAI.V3PhoneCallResponseVariant1Direction? Type691 { get; set; } /// /// /// - public global::RetellAI.V3ListCallsRequest? Type692 { get; set; } + public global::RetellAI.V3PhoneCallResponseVariant1TelephonyIdentifier? Type692 { get; set; } /// /// /// - public global::RetellAI.V3ListCallsRequestSortOrder? Type693 { get; set; } + public global::RetellAI.V3WebCallResponseVariant1? Type693 { get; set; } /// /// /// - public global::RetellAI.V2PhoneCallResponseVariant1? Type694 { get; set; } + public global::RetellAI.V3WebCallResponseVariant1CallType? Type694 { get; set; } /// /// /// - public global::RetellAI.V2PhoneCallResponseVariant1CallType? Type695 { get; set; } + public global::System.Collections.Generic.IList? Type695 { get; set; } /// /// /// - public global::RetellAI.V2PhoneCallResponseVariant1Direction? Type696 { get; set; } + public global::RetellAI.V3ListCallsRequest? Type696 { get; set; } /// /// /// - public global::RetellAI.V2PhoneCallResponseVariant1TelephonyIdentifier? Type697 { get; set; } + public global::RetellAI.V3ListCallsRequestSortOrder? Type697 { get; set; } /// /// /// - public global::RetellAI.V2WebCallResponseVariant1? Type698 { get; set; } + public global::RetellAI.V2PhoneCallResponseVariant1? Type698 { get; set; } /// /// /// - public global::RetellAI.V2WebCallResponseVariant1CallType? Type699 { get; set; } + public global::RetellAI.V2PhoneCallResponseVariant1CallType? Type699 { get; set; } /// /// /// - public global::RetellAI.VoiceResponse? Type700 { get; set; } + public global::RetellAI.V2PhoneCallResponseVariant1Direction? Type700 { get; set; } /// /// /// - public global::RetellAI.VoiceResponseProvider? Type701 { get; set; } + public global::RetellAI.V2PhoneCallResponseVariant1TelephonyIdentifier? Type701 { get; set; } /// /// /// - public global::RetellAI.VoiceResponseGender? Type702 { get; set; } + public global::RetellAI.V2WebCallResponseVariant1? Type702 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionBridgeTransfer? Type703 { get; set; } + public global::RetellAI.V2WebCallResponseVariant1CallType? Type703 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionBridgeTransferType? Type704 { get; set; } + public global::RetellAI.VoiceResponse? Type704 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionHangup? Type705 { get; set; } + public global::RetellAI.VoiceResponseProvider? Type705 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionHangupType? Type706 { get; set; } + public global::RetellAI.VoiceResponseGender? Type706 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionPrompt? Type707 { get; set; } + public global::RetellAI.VoicemailActionBridgeTransfer? Type707 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionPromptType? Type708 { get; set; } + public global::RetellAI.VoicemailActionBridgeTransferType? Type708 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionStaticText? Type709 { get; set; } + public global::RetellAI.VoicemailActionHangup? Type709 { get; set; } /// /// /// - public global::RetellAI.VoicemailActionStaticTextType? Type710 { get; set; } + public global::RetellAI.VoicemailActionHangupType? Type710 { get; set; } /// /// /// - public global::RetellAI.IvrActionHangup? Type711 { get; set; } + public global::RetellAI.VoicemailActionPrompt? Type711 { get; set; } /// /// /// - public global::RetellAI.IvrActionHangupType? Type712 { get; set; } + public global::RetellAI.VoicemailActionPromptType? Type712 { get; set; } /// /// /// - public global::RetellAI.IvrAction? Type713 { get; set; } + public global::RetellAI.VoicemailActionStaticText? Type713 { get; set; } /// /// /// - public global::RetellAI.WarmTransferPromptType? Type714 { get; set; } + public global::RetellAI.VoicemailActionStaticTextType? Type714 { get; set; } /// /// /// - public global::RetellAI.WarmTransferStaticMessageType? Type715 { get; set; } + public global::RetellAI.IvrActionHangup? Type715 { get; set; } /// /// /// - public global::RetellAI.ConductorOverageConfigVariant1? Type716 { get; set; } + public global::RetellAI.IvrActionHangupType? Type716 { get; set; } /// /// /// - public global::RetellAI.ConductorOverageConfigVariant1Mode? Type717 { get; set; } + public global::RetellAI.IvrAction? Type717 { get; set; } /// /// /// - public global::RetellAI.ConductorOverageConfigVariant2? Type718 { get; set; } + public global::RetellAI.WarmTransferPromptType? Type718 { get; set; } /// /// /// - public global::RetellAI.ConductorOverageConfigVariant2Mode? Type719 { get; set; } + public global::RetellAI.WarmTransferStaticMessageType? Type719 { get; set; } /// /// /// - public global::RetellAI.ConductorOverageConfigVariant3? Type720 { get; set; } + public global::RetellAI.ConductorOverageConfigVariant1? Type720 { get; set; } /// /// /// - public global::RetellAI.ConductorOverageConfigVariant3Mode? Type721 { get; set; } + public global::RetellAI.ConductorOverageConfigVariant1Mode? Type721 { get; set; } /// /// /// - public global::RetellAI.Contact? Type722 { get; set; } + public global::RetellAI.ConductorOverageConfigVariant2? Type722 { get; set; } /// /// /// - public global::RetellAI.ContactListResponse? Type723 { get; set; } + public global::RetellAI.ConductorOverageConfigVariant2Mode? Type723 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type724 { get; set; } + public global::RetellAI.ConductorOverageConfigVariant3? Type724 { get; set; } /// /// /// - public global::RetellAI.ContactConversation? Type725 { get; set; } + public global::RetellAI.ConductorOverageConfigVariant3Mode? Type725 { get; set; } /// /// /// - public global::RetellAI.ContactCall? Type726 { get; set; } + public global::RetellAI.Contact? Type726 { get; set; } /// /// /// - public global::RetellAI.ContactChat? Type727 { get; set; } + public global::RetellAI.ContactListResponse? Type727 { get; set; } /// /// /// - public global::RetellAI.ContactCallType? Type728 { get; set; } + public global::System.Collections.Generic.IList? Type728 { get; set; } /// /// /// - public global::RetellAI.ContactCallDirection? Type729 { get; set; } + public global::RetellAI.ContactConversation? Type729 { get; set; } /// /// /// - public global::RetellAI.ContactCallSentiment? Type730 { get; set; } + public global::RetellAI.ContactCall? Type730 { get; set; } /// /// /// - public global::RetellAI.ContactChatType? Type731 { get; set; } + public global::RetellAI.ContactChat? Type731 { get; set; } /// /// /// - public global::RetellAI.ContactChatDirection? Type732 { get; set; } + public global::RetellAI.ContactCallType? Type732 { get; set; } /// /// /// - public global::RetellAI.ContactChatSentiment? Type733 { get; set; } + public global::RetellAI.ContactCallDirection? Type733 { get; set; } /// /// /// - public global::RetellAI.ContactConversationListResponse? Type734 { get; set; } + public global::RetellAI.ContactCallSentiment? Type734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type735 { get; set; } + public global::RetellAI.ContactChatType? Type735 { get; set; } /// /// /// - public global::RetellAI.AppType? Type736 { get; set; } + public global::RetellAI.ContactChatDirection? Type736 { get; set; } /// /// /// - public global::RetellAI.AppConnectionStatus? Type737 { get; set; } + public global::RetellAI.ContactChatSentiment? Type737 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigRequest? Type738 { get; set; } + public global::RetellAI.ContactConversationListResponse? Type738 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigRequestType? Type739 { get; set; } + public global::System.Collections.Generic.IList? Type739 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigRequest? Type740 { get; set; } + public global::RetellAI.AppType? Type740 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigRequestType? Type741 { get; set; } + public global::RetellAI.AppConnectionStatus? Type741 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigRequest? Type742 { get; set; } + public global::RetellAI.OAuthConfigRequest? Type742 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigRequestType? Type743 { get; set; } + public global::RetellAI.OAuthConfigRequestType? Type743 { get; set; } /// /// /// - public global::RetellAI.BasicAuthConfigRequest? Type744 { get; set; } + public global::RetellAI.ApiKeyAuthConfigRequest? Type744 { get; set; } /// /// /// - public global::RetellAI.BasicAuthConfigRequestType? Type745 { get; set; } + public global::RetellAI.ApiKeyAuthConfigRequestType? Type745 { get; set; } /// /// /// - public global::RetellAI.RefreshTokenAuthConfigRequest? Type746 { get; set; } + public global::RetellAI.AccessTokenAuthConfigRequest? Type746 { get; set; } /// /// /// - public global::RetellAI.RefreshTokenAuthConfigRequestType? Type747 { get; set; } + public global::RetellAI.AccessTokenAuthConfigRequestType? Type747 { get; set; } /// /// /// - public global::RetellAI.AuthConfigRequest? Type748 { get; set; } + public global::RetellAI.BasicAuthConfigRequest? Type748 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigResponse? Type749 { get; set; } + public global::RetellAI.BasicAuthConfigRequestType? Type749 { get; set; } /// /// /// - public global::RetellAI.OAuthConfigResponseType? Type750 { get; set; } + public global::RetellAI.RefreshTokenAuthConfigRequest? Type750 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigResponse? Type751 { get; set; } + public global::RetellAI.RefreshTokenAuthConfigRequestType? Type751 { get; set; } /// /// /// - public global::RetellAI.ApiKeyAuthConfigResponseType? Type752 { get; set; } + public global::RetellAI.AuthConfigRequest? Type752 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigResponse? Type753 { get; set; } + public global::RetellAI.OAuthConfigResponse? Type753 { get; set; } /// /// /// - public global::RetellAI.AccessTokenAuthConfigResponseType? Type754 { get; set; } + public global::RetellAI.OAuthConfigResponseType? Type754 { get; set; } /// /// /// - public global::RetellAI.BasicAuthConfigResponse? Type755 { get; set; } + public global::RetellAI.ApiKeyAuthConfigResponse? Type755 { get; set; } /// /// /// - public global::RetellAI.BasicAuthConfigResponseType? Type756 { get; set; } + public global::RetellAI.ApiKeyAuthConfigResponseType? Type756 { get; set; } /// /// /// - public global::RetellAI.RefreshTokenAuthConfigResponse? Type757 { get; set; } + public global::RetellAI.AccessTokenAuthConfigResponse? Type757 { get; set; } /// /// /// - public global::RetellAI.RefreshTokenAuthConfigResponseType? Type758 { get; set; } + public global::RetellAI.AccessTokenAuthConfigResponseType? Type758 { get; set; } /// /// /// - public global::RetellAI.AppAuthConfigResponse? Type759 { get; set; } + public global::RetellAI.BasicAuthConfigResponse? Type759 { get; set; } /// /// /// - public global::RetellAI.CRMSyncMapping? Type760 { get; set; } + public global::RetellAI.BasicAuthConfigResponseType? Type760 { get; set; } /// /// /// - public global::RetellAI.AppCRMConfig? Type761 { get; set; } + public global::RetellAI.RefreshTokenAuthConfigResponse? Type761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type762 { get; set; } + public global::RetellAI.RefreshTokenAuthConfigResponseType? Type762 { get; set; } /// /// /// - public global::RetellAI.AppResponse? Type763 { get; set; } + public global::RetellAI.AppAuthConfigResponse? Type763 { get; set; } /// /// /// - public global::RetellAI.AppUsageResponse? Type764 { get; set; } + public global::RetellAI.CRMSyncMapping? Type764 { get; set; } /// /// /// - public global::RetellAI.AgentAppUsage? Type765 { get; set; } + public global::RetellAI.AppCRMConfig? Type765 { get; set; } /// /// /// - public global::RetellAI.KnowledgeBaseAppUsage? Type766 { get; set; } + public global::System.Collections.Generic.IList? Type766 { get; set; } /// /// /// - public global::RetellAI.AgentAppUsageType? Type767 { get; set; } + public global::RetellAI.AppResponse? Type767 { get; set; } /// /// /// - public global::RetellAI.KnowledgeBaseAppUsageType? Type768 { get; set; } + public global::RetellAI.AppUsageResponse? Type768 { get; set; } /// /// /// - public global::RetellAI.CRMCustomFieldSchema? Type769 { get; set; } + public global::RetellAI.AgentAppUsage? Type769 { get; set; } /// /// /// - public global::RetellAI.CRMCustomFieldSchemaType? Type770 { get; set; } + public global::RetellAI.KnowledgeBaseAppUsage? Type770 { get; set; } /// /// /// - public global::RetellAI.CRMAnalysisDataMapping? Type771 { get; set; } + public global::RetellAI.AgentAppUsageType? Type771 { get; set; } /// /// /// - public global::RetellAI.CRMAnalysisDataMappingUpdateMode? Type772 { get; set; } + public global::RetellAI.KnowledgeBaseAppUsageType? Type772 { get; set; } /// /// /// - public global::RetellAI.CRMConfig? Type773 { get; set; } + public global::RetellAI.CRMCustomFieldSchema? Type773 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type774 { get; set; } + public global::RetellAI.CRMCustomFieldSchemaType? Type774 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type775 { get; set; } + public global::RetellAI.CRMAnalysisDataMapping? Type775 { get; set; } /// /// /// - public global::RetellAI.JobStatus? Type776 { get; set; } + public global::RetellAI.CRMAnalysisDataMappingUpdateMode? Type776 { get; set; } /// /// /// - public global::RetellAI.JobStatusStatus? Type777 { get; set; } + public global::RetellAI.CRMConfig? Type777 { get; set; } /// /// /// - public global::RetellAI.JobStatusTriggeredBy? Type778 { get; set; } + public global::System.Collections.Generic.IList? Type778 { get; set; } /// /// /// - public global::RetellAI.DashboardSource? Type779 { get; set; } + public global::System.Collections.Generic.IList? Type779 { get; set; } /// /// /// - public global::RetellAI.ChartGroupItem? Type780 { get; set; } + public global::RetellAI.JobStatus? Type780 { get; set; } /// /// /// - public global::RetellAI.ChartGroupItemVariant1? Type781 { get; set; } + public global::RetellAI.JobStatusStatus? Type781 { get; set; } /// /// /// - public global::RetellAI.ChartGroupItemVariant1Type? Type782 { get; set; } + public global::RetellAI.JobStatusTriggeredBy? Type782 { get; set; } /// /// /// - public global::RetellAI.ChartGroupItemVariant2? Type783 { get; set; } + public global::RetellAI.DashboardSource? Type783 { get; set; } /// /// /// - public global::RetellAI.ChartGroupItemVariant2Type? Type784 { get; set; } + public global::RetellAI.ChartGroupItem? Type784 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type785 { get; set; } + public global::RetellAI.ChartGroupItemVariant1? Type785 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallRequest? Type786 { get; set; } + public global::RetellAI.ChartGroupItemVariant1Type? Type786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type787 { get; set; } + public global::RetellAI.ChartGroupItemVariant2? Type787 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestRequest? Type788 { get; set; } + public global::RetellAI.ChartGroupItemVariant2Type? Type788 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type789 { get; set; } + public global::RetellAI.AllOf? Type789 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type790 { get; set; } + public global::RetellAI.CreateBatchCallRequest? Type790 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionRequest? Type791 { get; set; } + public global::System.Collections.Generic.IList? Type791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type792 { get; set; } + public global::RetellAI.CreateBatchTestRequest? Type792 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionRequest? Type793 { get; set; } + public global::RetellAI.AllOf? Type793 { get; set; } /// /// /// - public global::RetellAI.CreateChatRequest? Type794 { get; set; } + public global::RetellAI.AllOf? Type794 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberRequest? Type795 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionRequest? Type795 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberRequestNumberProvider? Type796 { get; set; } + public global::System.Collections.Generic.IList? Type796 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberRequestCountryCode? Type797 { get; set; } + public global::RetellAI.CreateChatCompletionRequest? Type797 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatRequest? Type798 { get; set; } + public global::RetellAI.CreateChatRequest? Type798 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceRequest? Type799 { get; set; } + public global::RetellAI.CreateAssetRequest? Type799 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceRequestVoiceProvider? Type800 { get; set; } + public global::RetellAI.CreatePhoneNumberRequest? Type800 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceRequest? Type801 { get; set; } + public global::RetellAI.CreatePhoneNumberRequestNumberProvider? Type801 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceRequestVoiceProvider? Type802 { get; set; } + public global::RetellAI.CreatePhoneNumberRequestCountryCode? Type802 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceRequest? Type803 { get; set; } + public global::RetellAI.CreateSmsChatRequest? Type803 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceRequestVoiceProvider? Type804 { get; set; } + public global::RetellAI.CloneVoiceRequest? Type804 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberRequest? Type805 { get; set; } + public global::RetellAI.CloneVoiceRequestVoiceProvider? Type805 { get; set; } /// /// /// - public global::RetellAI.ListAgentsRequest? Type806 { get; set; } + public global::RetellAI.AddCommunityVoiceRequest? Type806 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataRequest? Type807 { get; set; } + public global::RetellAI.AddCommunityVoiceRequestVoiceProvider? Type807 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataRequestDataStorageSetting? Type808 { get; set; } + public global::RetellAI.SearchCommunityVoiceRequest? Type808 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberRequest? Type809 { get; set; } + public global::RetellAI.SearchCommunityVoiceRequestVoiceProvider? Type809 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallRequest? Type810 { get; set; } + public global::RetellAI.ImportPhoneNumberRequest? Type810 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallRequest? Type811 { get; set; } + public global::RetellAI.ListAgentsRequest? Type811 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallRequest? Type812 { get; set; } + public global::RetellAI.UpdateChatMetadataRequest? Type812 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallRequestDirection? Type813 { get; set; } + public global::RetellAI.UpdateChatMetadataRequestDataStorageSetting? Type813 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataRequest? Type814 { get; set; } + public global::RetellAI.UpdatePhoneNumberRequest? Type814 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataRequestDataStorageSetting? Type815 { get; set; } + public global::RetellAI.CreatePhoneCallRequest? Type815 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequest? Type816 { get; set; } + public global::RetellAI.CreateWebCallRequest? Type816 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequestFieldsToOverride? Type817 { get; set; } + public global::RetellAI.RegisterPhoneCallRequest? Type817 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequestFieldsToOverrideDataStorageSetting? Type818 { get; set; } + public global::RetellAI.RegisterPhoneCallRequestDirection? Type818 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallRequestCallControl? Type819 { get; set; } + public global::RetellAI.UpdateCallMetadataRequest? Type819 { get; set; } /// /// /// - public global::RetellAI.CreateContactRequest? Type820 { get; set; } + public global::RetellAI.UpdateCallMetadataRequestDataStorageSetting? Type820 { get; set; } /// /// /// - public global::RetellAI.UpdateContactRequest? Type821 { get; set; } + public global::RetellAI.UpdateLiveCallRequest? Type821 { get; set; } /// /// /// - public global::RetellAI.CreateAppRequest? Type822 { get; set; } + public global::RetellAI.UpdateLiveCallRequestFieldsToOverride? Type822 { get; set; } /// /// /// - public global::RetellAI.UpdateAppRequest? Type823 { get; set; } + public global::RetellAI.UpdateLiveCallRequestFieldsToOverrideDataStorageSetting? Type823 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigRequest? Type824 { get; set; } + public global::RetellAI.UpdateLiveCallRequestCallControl? Type824 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataRequest? Type825 { get; set; } + public global::RetellAI.CreateContactRequest? Type825 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataRequestBackfillCallFilter? Type826 { get; set; } + public global::RetellAI.UploadContactImportFileRequest? Type826 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsType? Type827 { get; set; } + public global::RetellAI.CreateContactImportRequest? Type827 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsType? Type828 { get; set; } + public global::RetellAI.UpdateContactRequest? Type828 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsSortOrder? Type829 { get; set; } + public global::RetellAI.CreateAppRequest? Type829 { get; set; } /// /// /// - public global::RetellAI.ListAgentsSortOrder? Type830 { get; set; } + public global::RetellAI.UpdateAppRequest? Type830 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsSortOrder? Type831 { get; set; } + public global::RetellAI.UpdateCrmConfigRequest? Type831 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsSortOrder? Type832 { get; set; } + public global::RetellAI.BackfillContactAnalysisDataRequest? Type832 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersSortOrder? Type833 { get; set; } + public global::RetellAI.BackfillContactAnalysisDataRequestBackfillCallFilter? Type833 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMSortOrder? Type834 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsType? Type834 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsSortOrder? Type835 { get; set; } + public global::RetellAI.ListBatchTestsType? Type835 { get; set; } /// /// /// - public global::RetellAI.ListAppsSortOrder? Type836 { get; set; } + public global::RetellAI.ListAgentVersionsSortOrder? Type836 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesSortOrder? Type837 { get; set; } + public global::RetellAI.ListAgentsSortOrder? Type837 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse? Type838 { get; set; } + public global::RetellAI.ListConversationFlowComponentsSortOrder? Type838 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus? Type839 { get; set; } + public global::RetellAI.ListConversationFlowsSortOrder? Type839 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse2? Type840 { get; set; } + public global::RetellAI.ListPhoneNumbersSortOrder? Type840 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus2? Type841 { get; set; } + public global::RetellAI.ListRetellLLMSortOrder? Type841 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse3? Type842 { get; set; } + public global::RetellAI.ListExportRequestsSortOrder? Type842 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus3? Type843 { get; set; } + public global::RetellAI.ListAppsSortOrder? Type843 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse4? Type844 { get; set; } + public global::RetellAI.ListAppUsagesSortOrder? Type844 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus4? Type845 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse? Type845 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponse5? Type846 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus? Type846 { get; set; } /// /// /// - public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus5? Type847 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse2? Type847 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse? Type848 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus2? Type848 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus? Type849 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse3? Type849 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse2? Type850 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus3? Type850 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus2? Type851 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse4? Type851 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse3? Type852 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus4? Type852 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus3? Type853 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponse5? Type853 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponse4? Type854 { get; set; } + public global::RetellAI.AddKnowledgeBaseSourcesResponseStatus5? Type854 { get; set; } /// /// /// - public global::RetellAI.CreateAgentResponseStatus4? Type855 { get; set; } + public global::RetellAI.CreateAgentResponse? Type855 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse? Type856 { get; set; } + public global::RetellAI.CreateAgentResponseStatus? Type856 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus? Type857 { get; set; } + public global::RetellAI.CreateAgentResponse2? Type857 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse2? Type858 { get; set; } + public global::RetellAI.CreateAgentResponseStatus2? Type858 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus2? Type859 { get; set; } + public global::RetellAI.CreateAgentResponse3? Type859 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse3? Type860 { get; set; } + public global::RetellAI.CreateAgentResponseStatus3? Type860 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus3? Type861 { get; set; } + public global::RetellAI.CreateAgentResponse4? Type861 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponse4? Type862 { get; set; } + public global::RetellAI.CreateAgentResponseStatus4? Type862 { get; set; } /// /// /// - public global::RetellAI.CreateBatchCallResponseStatus4? Type863 { get; set; } + public global::RetellAI.CreateBatchCallResponse? Type863 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse? Type864 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus? Type864 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus? Type865 { get; set; } + public global::RetellAI.CreateBatchCallResponse2? Type865 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse2? Type866 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus2? Type866 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus2? Type867 { get; set; } + public global::RetellAI.CreateBatchCallResponse3? Type867 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse3? Type868 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus3? Type868 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus3? Type869 { get; set; } + public global::RetellAI.CreateBatchCallResponse4? Type869 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse4? Type870 { get; set; } + public global::RetellAI.CreateBatchCallResponseStatus4? Type870 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus4? Type871 { get; set; } + public global::RetellAI.CreateBatchTestResponse? Type871 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponse5? Type872 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus? Type872 { get; set; } /// /// /// - public global::RetellAI.CreateBatchTestResponseStatus5? Type873 { get; set; } + public global::RetellAI.CreateBatchTestResponse2? Type873 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse? Type874 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus2? Type874 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus? Type875 { get; set; } + public global::RetellAI.CreateBatchTestResponse3? Type875 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse2? Type876 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus3? Type876 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus2? Type877 { get; set; } + public global::RetellAI.CreateBatchTestResponse4? Type877 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse3? Type878 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus4? Type878 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus3? Type879 { get; set; } + public global::RetellAI.CreateBatchTestResponse5? Type879 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse4? Type880 { get; set; } + public global::RetellAI.CreateBatchTestResponseStatus5? Type880 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus4? Type881 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse? Type881 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponse5? Type882 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus? Type882 { get; set; } /// /// /// - public global::RetellAI.CreateTestCaseDefinitionResponseStatus5? Type883 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse2? Type883 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse? Type884 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus2? Type884 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus? Type885 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse3? Type885 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse2? Type886 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus3? Type886 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus2? Type887 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse4? Type887 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse3? Type888 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus4? Type888 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus3? Type889 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponse5? Type889 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse4? Type890 { get; set; } + public global::RetellAI.CreateTestCaseDefinitionResponseStatus5? Type890 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus4? Type891 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse? Type891 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponse5? Type892 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus? Type892 { get; set; } /// /// /// - public global::RetellAI.DeleteTestCaseDefinitionResponseStatus5? Type893 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse2? Type893 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse? Type894 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus2? Type894 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus? Type895 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse3? Type895 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse2? Type896 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus3? Type896 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus2? Type897 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse4? Type897 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse3? Type898 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus4? Type898 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus3? Type899 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponse5? Type899 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse4? Type900 { get; set; } + public global::RetellAI.DeleteTestCaseDefinitionResponseStatus5? Type900 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus4? Type901 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse? Type901 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponse5? Type902 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus? Type902 { get; set; } /// /// /// - public global::RetellAI.GetTestCaseDefinitionResponseStatus5? Type903 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse2? Type903 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type904 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus2? Type904 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse2? Type905 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse3? Type905 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type906 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus3? Type906 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse3? Type907 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse4? Type907 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus? Type908 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus4? Type908 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse4? Type909 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponse5? Type909 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus2? Type910 { get; set; } + public global::RetellAI.GetTestCaseDefinitionResponseStatus5? Type910 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse5? Type911 { get; set; } + public global::RetellAI.AllOf? Type911 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus3? Type912 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse2? Type912 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponse6? Type913 { get; set; } + public global::System.Collections.Generic.IList? Type913 { get; set; } /// /// /// - public global::RetellAI.ListTestCaseDefinitionsResponseStatus4? Type914 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse3? Type914 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse? Type915 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus? Type915 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus? Type916 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse4? Type916 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse2? Type917 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus2? Type917 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus2? Type918 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse5? Type918 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse3? Type919 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus3? Type919 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus3? Type920 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponse6? Type920 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse4? Type921 { get; set; } + public global::RetellAI.ListTestCaseDefinitionsResponseStatus4? Type921 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus4? Type922 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse? Type922 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponse5? Type923 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus? Type923 { get; set; } /// /// /// - public global::RetellAI.UpdateTestCaseDefinitionResponseStatus5? Type924 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse2? Type924 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse? Type925 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus2? Type925 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus? Type926 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse3? Type926 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse2? Type927 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus3? Type927 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus2? Type928 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse4? Type928 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse3? Type929 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus4? Type929 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus3? Type930 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponse5? Type930 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse4? Type931 { get; set; } + public global::RetellAI.UpdateTestCaseDefinitionResponseStatus5? Type931 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus4? Type932 { get; set; } + public global::RetellAI.GetBatchTestResponse? Type932 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponse5? Type933 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus? Type933 { get; set; } /// /// /// - public global::RetellAI.GetBatchTestResponseStatus5? Type934 { get; set; } + public global::RetellAI.GetBatchTestResponse2? Type934 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type935 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus2? Type935 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse2? Type936 { get; set; } + public global::RetellAI.GetBatchTestResponse3? Type936 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type937 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus3? Type937 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse3? Type938 { get; set; } + public global::RetellAI.GetBatchTestResponse4? Type938 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus? Type939 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus4? Type939 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse4? Type940 { get; set; } + public global::RetellAI.GetBatchTestResponse5? Type940 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus2? Type941 { get; set; } + public global::RetellAI.GetBatchTestResponseStatus5? Type941 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse5? Type942 { get; set; } + public global::RetellAI.AllOf? Type942 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus3? Type943 { get; set; } + public global::RetellAI.ListBatchTestsResponse2? Type943 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponse6? Type944 { get; set; } + public global::System.Collections.Generic.IList? Type944 { get; set; } /// /// /// - public global::RetellAI.ListBatchTestsResponseStatus4? Type945 { get; set; } + public global::RetellAI.ListBatchTestsResponse3? Type945 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse? Type946 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus? Type946 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus? Type947 { get; set; } + public global::RetellAI.ListBatchTestsResponse4? Type947 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse2? Type948 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus2? Type948 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus2? Type949 { get; set; } + public global::RetellAI.ListBatchTestsResponse5? Type949 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse3? Type950 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus3? Type950 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus3? Type951 { get; set; } + public global::RetellAI.ListBatchTestsResponse6? Type951 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse4? Type952 { get; set; } + public global::RetellAI.ListBatchTestsResponseStatus4? Type952 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus4? Type953 { get; set; } + public global::RetellAI.GetTestRunResponse? Type953 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponse5? Type954 { get; set; } + public global::RetellAI.GetTestRunResponseStatus? Type954 { get; set; } /// /// /// - public global::RetellAI.GetTestRunResponseStatus5? Type955 { get; set; } + public global::RetellAI.GetTestRunResponse2? Type955 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type956 { get; set; } + public global::RetellAI.GetTestRunResponseStatus2? Type956 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse2? Type957 { get; set; } + public global::RetellAI.GetTestRunResponse3? Type957 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type958 { get; set; } + public global::RetellAI.GetTestRunResponseStatus3? Type958 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse3? Type959 { get; set; } + public global::RetellAI.GetTestRunResponse4? Type959 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus? Type960 { get; set; } + public global::RetellAI.GetTestRunResponseStatus4? Type960 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse4? Type961 { get; set; } + public global::RetellAI.GetTestRunResponse5? Type961 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus2? Type962 { get; set; } + public global::RetellAI.GetTestRunResponseStatus5? Type962 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse5? Type963 { get; set; } + public global::RetellAI.AllOf? Type963 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus3? Type964 { get; set; } + public global::RetellAI.ListTestRunsResponse2? Type964 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse6? Type965 { get; set; } + public global::System.Collections.Generic.IList? Type965 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus4? Type966 { get; set; } + public global::RetellAI.ListTestRunsResponse3? Type966 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponse7? Type967 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus? Type967 { get; set; } /// /// /// - public global::RetellAI.ListTestRunsResponseStatus5? Type968 { get; set; } + public global::RetellAI.ListTestRunsResponse4? Type968 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse? Type969 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus2? Type969 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus? Type970 { get; set; } + public global::RetellAI.ListTestRunsResponse5? Type970 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse2? Type971 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus3? Type971 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus2? Type972 { get; set; } + public global::RetellAI.ListTestRunsResponse6? Type972 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse3? Type973 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus4? Type973 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus3? Type974 { get; set; } + public global::RetellAI.ListTestRunsResponse7? Type974 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponse4? Type975 { get; set; } + public global::RetellAI.ListTestRunsResponseStatus5? Type975 { get; set; } /// /// /// - public global::RetellAI.CreateChatAgentResponseStatus4? Type976 { get; set; } + public global::RetellAI.CreateChatAgentResponse? Type976 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse? Type977 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus? Type977 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse2? Type978 { get; set; } + public global::RetellAI.CreateChatAgentResponse2? Type978 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus? Type979 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus2? Type979 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse3? Type980 { get; set; } + public global::RetellAI.CreateChatAgentResponse3? Type980 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus2? Type981 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus3? Type981 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse4? Type982 { get; set; } + public global::RetellAI.CreateChatAgentResponse4? Type982 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus3? Type983 { get; set; } + public global::RetellAI.CreateChatAgentResponseStatus4? Type983 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse5? Type984 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse? Type984 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus4? Type985 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse2? Type985 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse6? Type986 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus? Type986 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus5? Type987 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse3? Type987 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponse7? Type988 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus2? Type988 { get; set; } /// /// /// - public global::RetellAI.AgentPlaygroundCompletionResponseStatus6? Type989 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse4? Type989 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse? Type990 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus3? Type990 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse2? Type991 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse5? Type991 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus? Type992 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus4? Type992 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse3? Type993 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse6? Type993 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus2? Type994 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus5? Type994 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse4? Type995 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponse7? Type995 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus3? Type996 { get; set; } + public global::RetellAI.AgentPlaygroundCompletionResponseStatus6? Type996 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse5? Type997 { get; set; } + public global::RetellAI.CreateChatCompletionResponse? Type997 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus4? Type998 { get; set; } + public global::RetellAI.CreateChatCompletionResponse2? Type998 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse6? Type999 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus? Type999 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus5? Type1000 { get; set; } + public global::RetellAI.CreateChatCompletionResponse3? Type1000 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponse7? Type1001 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus2? Type1001 { get; set; } /// /// /// - public global::RetellAI.CreateChatCompletionResponseStatus6? Type1002 { get; set; } + public global::RetellAI.CreateChatCompletionResponse4? Type1002 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse? Type1003 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus3? Type1003 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus? Type1004 { get; set; } + public global::RetellAI.CreateChatCompletionResponse5? Type1004 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse2? Type1005 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus4? Type1005 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus2? Type1006 { get; set; } + public global::RetellAI.CreateChatCompletionResponse6? Type1006 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse3? Type1007 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus5? Type1007 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus3? Type1008 { get; set; } + public global::RetellAI.CreateChatCompletionResponse7? Type1008 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse4? Type1009 { get; set; } + public global::RetellAI.CreateChatCompletionResponseStatus6? Type1009 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus4? Type1010 { get; set; } + public global::RetellAI.CreateChatResponse? Type1010 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse5? Type1011 { get; set; } + public global::RetellAI.CreateChatResponseStatus? Type1011 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus5? Type1012 { get; set; } + public global::RetellAI.CreateChatResponse2? Type1012 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponse6? Type1013 { get; set; } + public global::RetellAI.CreateChatResponseStatus2? Type1013 { get; set; } /// /// /// - public global::RetellAI.CreateChatResponseStatus6? Type1014 { get; set; } + public global::RetellAI.CreateChatResponse3? Type1014 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse? Type1015 { get; set; } + public global::RetellAI.CreateChatResponseStatus3? Type1015 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus? Type1016 { get; set; } + public global::RetellAI.CreateChatResponse4? Type1016 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse2? Type1017 { get; set; } + public global::RetellAI.CreateChatResponseStatus4? Type1017 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus2? Type1018 { get; set; } + public global::RetellAI.CreateChatResponse5? Type1018 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse3? Type1019 { get; set; } + public global::RetellAI.CreateChatResponseStatus5? Type1019 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus3? Type1020 { get; set; } + public global::RetellAI.CreateChatResponse6? Type1020 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse4? Type1021 { get; set; } + public global::RetellAI.CreateChatResponseStatus6? Type1021 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus4? Type1022 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse? Type1022 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponse5? Type1023 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus? Type1023 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowComponentResponseStatus5? Type1024 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse2? Type1024 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse? Type1025 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus2? Type1025 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus? Type1026 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse3? Type1026 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse2? Type1027 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus3? Type1027 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus2? Type1028 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse4? Type1028 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse3? Type1029 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus4? Type1029 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus3? Type1030 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponse5? Type1030 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse4? Type1031 { get; set; } + public global::RetellAI.CreateConversationFlowComponentResponseStatus5? Type1031 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus4? Type1032 { get; set; } + public global::RetellAI.CreateConversationFlowResponse? Type1032 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponse5? Type1033 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus? Type1033 { get; set; } /// /// /// - public global::RetellAI.CreateConversationFlowResponseStatus5? Type1034 { get; set; } + public global::RetellAI.CreateConversationFlowResponse2? Type1034 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse? Type1035 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus2? Type1035 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus? Type1036 { get; set; } + public global::RetellAI.CreateConversationFlowResponse3? Type1036 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse2? Type1037 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus3? Type1037 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus2? Type1038 { get; set; } + public global::RetellAI.CreateConversationFlowResponse4? Type1038 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse3? Type1039 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus4? Type1039 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus3? Type1040 { get; set; } + public global::RetellAI.CreateConversationFlowResponse5? Type1040 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse4? Type1041 { get; set; } + public global::RetellAI.CreateConversationFlowResponseStatus5? Type1041 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus4? Type1042 { get; set; } + public global::RetellAI.CreateAssetResponse? Type1042 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponse5? Type1043 { get; set; } + public global::RetellAI.CreateAssetResponseStatus? Type1043 { get; set; } /// /// /// - public global::RetellAI.CreateKnowledgeBaseResponseStatus5? Type1044 { get; set; } + public global::RetellAI.CreateAssetResponse2? Type1044 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponse? Type1045 { get; set; } + public global::RetellAI.CreateAssetResponseStatus2? Type1045 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponseStatus? Type1046 { get; set; } + public global::RetellAI.CreateAssetResponse3? Type1046 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponse2? Type1047 { get; set; } + public global::RetellAI.CreateAssetResponseStatus3? Type1047 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponseStatus2? Type1048 { get; set; } + public global::RetellAI.CreateAssetResponse4? Type1048 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponse3? Type1049 { get; set; } + public global::RetellAI.CreateAssetResponseStatus4? Type1049 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneNumberResponseStatus3? Type1050 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse? Type1050 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponse? Type1051 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus? Type1051 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponseStatus? Type1052 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse2? Type1052 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponse2? Type1053 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus2? Type1053 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponseStatus2? Type1054 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse3? Type1054 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponse3? Type1055 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus3? Type1055 { get; set; } /// /// /// - public global::RetellAI.CreateRetellLLMResponseStatus3? Type1056 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse4? Type1056 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse? Type1057 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus4? Type1057 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus? Type1058 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponse5? Type1058 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse2? Type1059 { get; set; } + public global::RetellAI.CreateKnowledgeBaseResponseStatus5? Type1059 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus2? Type1060 { get; set; } + public global::RetellAI.CreatePhoneNumberResponse? Type1060 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse3? Type1061 { get; set; } + public global::RetellAI.CreatePhoneNumberResponseStatus? Type1061 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus3? Type1062 { get; set; } + public global::RetellAI.CreatePhoneNumberResponse2? Type1062 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse4? Type1063 { get; set; } + public global::RetellAI.CreatePhoneNumberResponseStatus2? Type1063 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus4? Type1064 { get; set; } + public global::RetellAI.CreatePhoneNumberResponse3? Type1064 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse5? Type1065 { get; set; } + public global::RetellAI.CreatePhoneNumberResponseStatus3? Type1065 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus5? Type1066 { get; set; } + public global::RetellAI.CreateRetellLLMResponse? Type1066 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponse6? Type1067 { get; set; } + public global::RetellAI.CreateRetellLLMResponseStatus? Type1067 { get; set; } /// /// /// - public global::RetellAI.CreateSmsChatResponseStatus6? Type1068 { get; set; } + public global::RetellAI.CreateRetellLLMResponse2? Type1068 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse? Type1069 { get; set; } + public global::RetellAI.CreateRetellLLMResponseStatus2? Type1069 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus? Type1070 { get; set; } + public global::RetellAI.CreateRetellLLMResponse3? Type1070 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse2? Type1071 { get; set; } + public global::RetellAI.CreateRetellLLMResponseStatus3? Type1071 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus2? Type1072 { get; set; } + public global::RetellAI.CreateSmsChatResponse? Type1072 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse3? Type1073 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus? Type1073 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus3? Type1074 { get; set; } + public global::RetellAI.CreateSmsChatResponse2? Type1074 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponse4? Type1075 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus2? Type1075 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentResponseStatus4? Type1076 { get; set; } + public global::RetellAI.CreateSmsChatResponse3? Type1076 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse? Type1077 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus3? Type1077 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus? Type1078 { get; set; } + public global::RetellAI.CreateSmsChatResponse4? Type1078 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse2? Type1079 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus4? Type1079 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus2? Type1080 { get; set; } + public global::RetellAI.CreateSmsChatResponse5? Type1080 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse3? Type1081 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus5? Type1081 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus3? Type1082 { get; set; } + public global::RetellAI.CreateSmsChatResponse6? Type1082 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponse4? Type1083 { get; set; } + public global::RetellAI.CreateSmsChatResponseStatus6? Type1083 { get; set; } /// /// /// - public global::RetellAI.DeleteChatResponseStatus4? Type1084 { get; set; } + public global::RetellAI.DeleteAgentResponse? Type1084 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse? Type1085 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus? Type1085 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus? Type1086 { get; set; } + public global::RetellAI.DeleteAgentResponse2? Type1086 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse2? Type1087 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus2? Type1087 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus2? Type1088 { get; set; } + public global::RetellAI.DeleteAgentResponse3? Type1088 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse3? Type1089 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus3? Type1089 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus3? Type1090 { get; set; } + public global::RetellAI.DeleteAgentResponse4? Type1090 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponse4? Type1091 { get; set; } + public global::RetellAI.DeleteAgentResponseStatus4? Type1091 { get; set; } /// /// /// - public global::RetellAI.DeleteChatAgentResponseStatus4? Type1092 { get; set; } + public global::RetellAI.DeleteChatResponse? Type1092 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse? Type1093 { get; set; } + public global::RetellAI.DeleteChatResponseStatus? Type1093 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus? Type1094 { get; set; } + public global::RetellAI.DeleteChatResponse2? Type1094 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse2? Type1095 { get; set; } + public global::RetellAI.DeleteChatResponseStatus2? Type1095 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus2? Type1096 { get; set; } + public global::RetellAI.DeleteChatResponse3? Type1096 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse3? Type1097 { get; set; } + public global::RetellAI.DeleteChatResponseStatus3? Type1097 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus3? Type1098 { get; set; } + public global::RetellAI.DeleteChatResponse4? Type1098 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponse4? Type1099 { get; set; } + public global::RetellAI.DeleteChatResponseStatus4? Type1099 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowComponentResponseStatus4? Type1100 { get; set; } + public global::RetellAI.DeleteChatAgentResponse? Type1100 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse? Type1101 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus? Type1101 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus? Type1102 { get; set; } + public global::RetellAI.DeleteChatAgentResponse2? Type1102 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse2? Type1103 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus2? Type1103 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus2? Type1104 { get; set; } + public global::RetellAI.DeleteChatAgentResponse3? Type1104 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse3? Type1105 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus3? Type1105 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus3? Type1106 { get; set; } + public global::RetellAI.DeleteChatAgentResponse4? Type1106 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse4? Type1107 { get; set; } + public global::RetellAI.DeleteChatAgentResponseStatus4? Type1107 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus4? Type1108 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse? Type1108 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponse5? Type1109 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus? Type1109 { get; set; } /// /// /// - public global::RetellAI.DeleteConversationFlowResponseStatus5? Type1110 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse2? Type1110 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse? Type1111 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus2? Type1111 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus? Type1112 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse3? Type1112 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse2? Type1113 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus3? Type1113 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus2? Type1114 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponse4? Type1114 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse3? Type1115 { get; set; } + public global::RetellAI.DeleteConversationFlowComponentResponseStatus4? Type1115 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus3? Type1116 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse? Type1116 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponse4? Type1117 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus? Type1117 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus4? Type1118 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse2? Type1118 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse? Type1119 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus2? Type1119 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus? Type1120 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse3? Type1120 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse2? Type1121 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus3? Type1121 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus2? Type1122 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse4? Type1122 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse3? Type1123 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus4? Type1123 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus3? Type1124 { get; set; } + public global::RetellAI.DeleteConversationFlowResponse5? Type1124 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponse4? Type1125 { get; set; } + public global::RetellAI.DeleteConversationFlowResponseStatus5? Type1125 { get; set; } /// /// /// - public global::RetellAI.DeleteKnowledgeBaseResponseStatus4? Type1126 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse? Type1126 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponse? Type1127 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus? Type1127 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponseStatus? Type1128 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse2? Type1128 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponse2? Type1129 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus2? Type1129 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponseStatus2? Type1130 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse3? Type1130 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponse3? Type1131 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus3? Type1131 { get; set; } /// /// /// - public global::RetellAI.DeletePhoneNumberResponseStatus3? Type1132 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponse4? Type1132 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse? Type1133 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseSourceResponseStatus4? Type1133 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus? Type1134 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse? Type1134 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse2? Type1135 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus? Type1135 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus2? Type1136 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse2? Type1136 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse3? Type1137 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus2? Type1137 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus3? Type1138 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse3? Type1138 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponse4? Type1139 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus3? Type1139 { get; set; } /// /// /// - public global::RetellAI.DeleteRetellLLMResponseStatus4? Type1140 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponse4? Type1140 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse? Type1141 { get; set; } + public global::RetellAI.DeleteKnowledgeBaseResponseStatus4? Type1141 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus? Type1142 { get; set; } + public global::RetellAI.DeletePhoneNumberResponse? Type1142 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse2? Type1143 { get; set; } + public global::RetellAI.DeletePhoneNumberResponseStatus? Type1143 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus2? Type1144 { get; set; } + public global::RetellAI.DeletePhoneNumberResponse2? Type1144 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse3? Type1145 { get; set; } + public global::RetellAI.DeletePhoneNumberResponseStatus2? Type1145 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus3? Type1146 { get; set; } + public global::RetellAI.DeletePhoneNumberResponse3? Type1146 { get; set; } /// /// /// - public global::RetellAI.EndChatResponse4? Type1147 { get; set; } + public global::RetellAI.DeletePhoneNumberResponseStatus3? Type1147 { get; set; } /// /// /// - public global::RetellAI.EndChatResponseStatus4? Type1148 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse? Type1148 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1149 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus? Type1149 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse2? Type1150 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse2? Type1150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1151 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus2? Type1151 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse3? Type1152 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse3? Type1152 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus? Type1153 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus3? Type1153 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse4? Type1154 { get; set; } + public global::RetellAI.DeleteRetellLLMResponse4? Type1154 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus2? Type1155 { get; set; } + public global::RetellAI.DeleteRetellLLMResponseStatus4? Type1155 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse5? Type1156 { get; set; } + public global::RetellAI.EndChatResponse? Type1156 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus3? Type1157 { get; set; } + public global::RetellAI.EndChatResponseStatus? Type1157 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse6? Type1158 { get; set; } + public global::RetellAI.EndChatResponse2? Type1158 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus4? Type1159 { get; set; } + public global::RetellAI.EndChatResponseStatus2? Type1159 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse7? Type1160 { get; set; } + public global::RetellAI.EndChatResponse3? Type1160 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus5? Type1161 { get; set; } + public global::RetellAI.EndChatResponseStatus3? Type1161 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponse8? Type1162 { get; set; } + public global::RetellAI.EndChatResponse4? Type1162 { get; set; } /// /// /// - public global::RetellAI.ListAgentVersionsResponseStatus6? Type1163 { get; set; } + public global::RetellAI.EndChatResponseStatus4? Type1163 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1164 { get; set; } + public global::RetellAI.AllOf? Type1164 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse? Type1165 { get; set; } + public global::RetellAI.ListAgentVersionsResponse2? Type1165 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus? Type1166 { get; set; } + public global::System.Collections.Generic.IList? Type1166 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse2? Type1167 { get; set; } + public global::RetellAI.ListAgentVersionsResponse3? Type1167 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus2? Type1168 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus? Type1168 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse3? Type1169 { get; set; } + public global::RetellAI.ListAgentVersionsResponse4? Type1169 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus3? Type1170 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus2? Type1170 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponse4? Type1171 { get; set; } + public global::RetellAI.ListAgentVersionsResponse5? Type1171 { get; set; } /// /// /// - public global::RetellAI.GetAgentVersionsResponseStatus4? Type1172 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus3? Type1172 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse? Type1173 { get; set; } + public global::RetellAI.ListAgentVersionsResponse6? Type1173 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus? Type1174 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus4? Type1174 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse2? Type1175 { get; set; } + public global::RetellAI.ListAgentVersionsResponse7? Type1175 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus2? Type1176 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus5? Type1176 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse3? Type1177 { get; set; } + public global::RetellAI.ListAgentVersionsResponse8? Type1177 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus3? Type1178 { get; set; } + public global::RetellAI.ListAgentVersionsResponseStatus6? Type1178 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponse4? Type1179 { get; set; } + public global::System.Collections.Generic.IList? Type1179 { get; set; } /// /// /// - public global::RetellAI.GetAgentResponseStatus4? Type1180 { get; set; } + public global::RetellAI.GetAgentVersionsResponse? Type1180 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1181 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus? Type1181 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponse? Type1182 { get; set; } + public global::RetellAI.GetAgentVersionsResponse2? Type1182 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponseStatus? Type1183 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus2? Type1183 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponse2? Type1184 { get; set; } + public global::RetellAI.GetAgentVersionsResponse3? Type1184 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponseStatus2? Type1185 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus3? Type1185 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponse3? Type1186 { get; set; } + public global::RetellAI.GetAgentVersionsResponse4? Type1186 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentVersionsResponseStatus3? Type1187 { get; set; } + public global::RetellAI.GetAgentVersionsResponseStatus4? Type1187 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse? Type1188 { get; set; } + public global::RetellAI.GetAgentResponse? Type1188 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus? Type1189 { get; set; } + public global::RetellAI.GetAgentResponseStatus? Type1189 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse2? Type1190 { get; set; } + public global::RetellAI.GetAgentResponse2? Type1190 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus2? Type1191 { get; set; } + public global::RetellAI.GetAgentResponseStatus2? Type1191 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse3? Type1192 { get; set; } + public global::RetellAI.GetAgentResponse3? Type1192 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus3? Type1193 { get; set; } + public global::RetellAI.GetAgentResponseStatus3? Type1193 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponse4? Type1194 { get; set; } + public global::RetellAI.GetAgentResponse4? Type1194 { get; set; } /// /// /// - public global::RetellAI.GetChatAgentResponseStatus4? Type1195 { get; set; } + public global::RetellAI.GetAgentResponseStatus4? Type1195 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse? Type1196 { get; set; } + public global::System.Collections.Generic.IList? Type1196 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus? Type1197 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponse? Type1197 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse2? Type1198 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponseStatus? Type1198 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus2? Type1199 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponse2? Type1199 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse3? Type1200 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponseStatus2? Type1200 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus3? Type1201 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponse3? Type1201 { get; set; } /// /// /// - public global::RetellAI.GetChatResponse4? Type1202 { get; set; } + public global::RetellAI.GetChatAgentVersionsResponseStatus3? Type1202 { get; set; } /// /// /// - public global::RetellAI.GetChatResponseStatus4? Type1203 { get; set; } + public global::RetellAI.GetChatAgentResponse? Type1203 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponse? Type1204 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus? Type1204 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponse2? Type1205 { get; set; } + public global::RetellAI.GetChatAgentResponse2? Type1205 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponseStatus? Type1206 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus2? Type1206 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponse3? Type1207 { get; set; } + public global::RetellAI.GetChatAgentResponse3? Type1207 { get; set; } /// /// /// - public global::RetellAI.GetConcurrencyResponseStatus2? Type1208 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus3? Type1208 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponse? Type1209 { get; set; } + public global::RetellAI.GetChatAgentResponse4? Type1209 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponse2? Type1210 { get; set; } + public global::RetellAI.GetChatAgentResponseStatus4? Type1210 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponseStatus? Type1211 { get; set; } + public global::RetellAI.GetChatResponse? Type1211 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponse3? Type1212 { get; set; } + public global::RetellAI.GetChatResponseStatus? Type1212 { get; set; } /// /// /// - public global::RetellAI.GetApiKeyInfoResponseStatus2? Type1213 { get; set; } + public global::RetellAI.GetChatResponse2? Type1213 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse? Type1214 { get; set; } + public global::RetellAI.GetChatResponseStatus2? Type1214 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus? Type1215 { get; set; } + public global::RetellAI.GetChatResponse3? Type1215 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse2? Type1216 { get; set; } + public global::RetellAI.GetChatResponseStatus3? Type1216 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus2? Type1217 { get; set; } + public global::RetellAI.GetChatResponse4? Type1217 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse3? Type1218 { get; set; } + public global::RetellAI.GetChatResponseStatus4? Type1218 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus3? Type1219 { get; set; } + public global::RetellAI.GetConcurrencyResponse? Type1219 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponse4? Type1220 { get; set; } + public global::RetellAI.GetConcurrencyResponse2? Type1220 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowComponentResponseStatus4? Type1221 { get; set; } + public global::RetellAI.GetConcurrencyResponseStatus? Type1221 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse? Type1222 { get; set; } + public global::RetellAI.GetConcurrencyResponse3? Type1222 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus? Type1223 { get; set; } + public global::RetellAI.GetConcurrencyResponseStatus2? Type1223 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse2? Type1224 { get; set; } + public global::RetellAI.GetApiKeyInfoResponse? Type1224 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus2? Type1225 { get; set; } + public global::RetellAI.GetApiKeyInfoResponse2? Type1225 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse3? Type1226 { get; set; } + public global::RetellAI.GetApiKeyInfoResponseStatus? Type1226 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus3? Type1227 { get; set; } + public global::RetellAI.GetApiKeyInfoResponse3? Type1227 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse4? Type1228 { get; set; } + public global::RetellAI.GetApiKeyInfoResponseStatus2? Type1228 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus4? Type1229 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse? Type1229 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponse5? Type1230 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus? Type1230 { get; set; } /// /// /// - public global::RetellAI.GetConversationFlowResponseStatus5? Type1231 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse2? Type1231 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse? Type1232 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus2? Type1232 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus? Type1233 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse3? Type1233 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse2? Type1234 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus3? Type1234 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus2? Type1235 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponse4? Type1235 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse3? Type1236 { get; set; } + public global::RetellAI.GetConversationFlowComponentResponseStatus4? Type1236 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus3? Type1237 { get; set; } + public global::RetellAI.GetConversationFlowResponse? Type1237 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponse4? Type1238 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus? Type1238 { get; set; } /// /// /// - public global::RetellAI.GetKnowledgeBaseResponseStatus4? Type1239 { get; set; } + public global::RetellAI.GetConversationFlowResponse2? Type1239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1240 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus2? Type1240 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse? Type1241 { get; set; } + public global::RetellAI.GetConversationFlowResponse3? Type1241 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus? Type1242 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus3? Type1242 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse2? Type1243 { get; set; } + public global::RetellAI.GetConversationFlowResponse4? Type1243 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus2? Type1244 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus4? Type1244 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse3? Type1245 { get; set; } + public global::RetellAI.GetConversationFlowResponse5? Type1245 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus3? Type1246 { get; set; } + public global::RetellAI.GetConversationFlowResponseStatus5? Type1246 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponse4? Type1247 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse? Type1247 { get; set; } /// /// /// - public global::RetellAI.GetMCPToolsResponseStatus4? Type1248 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus? Type1248 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse? Type1249 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse2? Type1249 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus? Type1250 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus2? Type1250 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse2? Type1251 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse3? Type1251 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus2? Type1252 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus3? Type1252 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse3? Type1253 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponse4? Type1253 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus3? Type1254 { get; set; } + public global::RetellAI.GetKnowledgeBaseResponseStatus4? Type1254 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponse4? Type1255 { get; set; } + public global::System.Collections.Generic.IList? Type1255 { get; set; } /// /// /// - public global::RetellAI.GetPhoneNumberResponseStatus4? Type1256 { get; set; } + public global::RetellAI.GetMCPToolsResponse? Type1256 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse? Type1257 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus? Type1257 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus? Type1258 { get; set; } + public global::RetellAI.GetMCPToolsResponse2? Type1258 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse2? Type1259 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus2? Type1259 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus2? Type1260 { get; set; } + public global::RetellAI.GetMCPToolsResponse3? Type1260 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse3? Type1261 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus3? Type1261 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus3? Type1262 { get; set; } + public global::RetellAI.GetMCPToolsResponse4? Type1262 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponse4? Type1263 { get; set; } + public global::RetellAI.GetMCPToolsResponseStatus4? Type1263 { get; set; } /// /// /// - public global::RetellAI.GetRetellLLMResponseStatus4? Type1264 { get; set; } + public global::RetellAI.GetPhoneNumberResponse? Type1264 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse? Type1265 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus? Type1265 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus? Type1266 { get; set; } + public global::RetellAI.GetPhoneNumberResponse2? Type1266 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse2? Type1267 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus2? Type1267 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus2? Type1268 { get; set; } + public global::RetellAI.GetPhoneNumberResponse3? Type1268 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse3? Type1269 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus3? Type1269 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus3? Type1270 { get; set; } + public global::RetellAI.GetPhoneNumberResponse4? Type1270 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponse4? Type1271 { get; set; } + public global::RetellAI.GetPhoneNumberResponseStatus4? Type1271 { get; set; } /// /// /// - public global::RetellAI.GetVoiceResponseStatus4? Type1272 { get; set; } + public global::RetellAI.GetRetellLLMResponse? Type1272 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse? Type1273 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus? Type1273 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus? Type1274 { get; set; } + public global::RetellAI.GetRetellLLMResponse2? Type1274 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse2? Type1275 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus2? Type1275 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus2? Type1276 { get; set; } + public global::RetellAI.GetRetellLLMResponse3? Type1276 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse3? Type1277 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus3? Type1277 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus3? Type1278 { get; set; } + public global::RetellAI.GetRetellLLMResponse4? Type1278 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse4? Type1279 { get; set; } + public global::RetellAI.GetRetellLLMResponseStatus4? Type1279 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus4? Type1280 { get; set; } + public global::RetellAI.GetVoiceResponse? Type1280 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponse5? Type1281 { get; set; } + public global::RetellAI.GetVoiceResponseStatus? Type1281 { get; set; } /// /// /// - public global::RetellAI.CloneVoiceResponseStatus5? Type1282 { get; set; } + public global::RetellAI.GetVoiceResponse2? Type1282 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse? Type1283 { get; set; } + public global::RetellAI.GetVoiceResponseStatus2? Type1283 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus? Type1284 { get; set; } + public global::RetellAI.GetVoiceResponse3? Type1284 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse2? Type1285 { get; set; } + public global::RetellAI.GetVoiceResponseStatus3? Type1285 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus2? Type1286 { get; set; } + public global::RetellAI.GetVoiceResponse4? Type1286 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse3? Type1287 { get; set; } + public global::RetellAI.GetVoiceResponseStatus4? Type1287 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus3? Type1288 { get; set; } + public global::RetellAI.CloneVoiceResponse? Type1288 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponse4? Type1289 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus? Type1289 { get; set; } /// /// /// - public global::RetellAI.AddCommunityVoiceResponseStatus4? Type1290 { get; set; } + public global::RetellAI.CloneVoiceResponse2? Type1290 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse? Type1291 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus2? Type1291 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1292 { get; set; } + public global::RetellAI.CloneVoiceResponse3? Type1292 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseVoice? Type1293 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus3? Type1293 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse2? Type1294 { get; set; } + public global::RetellAI.CloneVoiceResponse4? Type1294 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus? Type1295 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus4? Type1295 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse3? Type1296 { get; set; } + public global::RetellAI.CloneVoiceResponse5? Type1296 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus2? Type1297 { get; set; } + public global::RetellAI.CloneVoiceResponseStatus5? Type1297 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse4? Type1298 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse? Type1298 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus3? Type1299 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus? Type1299 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponse5? Type1300 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse2? Type1300 { get; set; } /// /// /// - public global::RetellAI.SearchCommunityVoiceResponseStatus4? Type1301 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus2? Type1301 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponse? Type1302 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse3? Type1302 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponseStatus? Type1303 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus3? Type1303 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponse2? Type1304 { get; set; } + public global::RetellAI.AddCommunityVoiceResponse4? Type1304 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponseStatus2? Type1305 { get; set; } + public global::RetellAI.AddCommunityVoiceResponseStatus4? Type1305 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponse3? Type1306 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse? Type1306 { get; set; } /// /// /// - public global::RetellAI.ImportPhoneNumberResponseStatus3? Type1307 { get; set; } + public global::System.Collections.Generic.IList? Type1307 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1308 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseVoice? Type1308 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse2? Type1309 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse2? Type1309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1310 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus? Type1310 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse3? Type1311 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse3? Type1311 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus? Type1312 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus2? Type1312 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse4? Type1313 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse4? Type1313 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus2? Type1314 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus3? Type1314 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse5? Type1315 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponse5? Type1315 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus3? Type1316 { get; set; } + public global::RetellAI.SearchCommunityVoiceResponseStatus4? Type1316 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponse6? Type1317 { get; set; } + public global::RetellAI.ImportPhoneNumberResponse? Type1317 { get; set; } /// /// /// - public global::RetellAI.ListAgentsResponseStatus4? Type1318 { get; set; } + public global::RetellAI.ImportPhoneNumberResponseStatus? Type1318 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1319 { get; set; } + public global::RetellAI.ImportPhoneNumberResponse2? Type1319 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse2? Type1320 { get; set; } + public global::RetellAI.ImportPhoneNumberResponseStatus2? Type1320 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1321 { get; set; } + public global::RetellAI.ImportPhoneNumberResponse3? Type1321 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse3? Type1322 { get; set; } + public global::RetellAI.ImportPhoneNumberResponseStatus3? Type1322 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus? Type1323 { get; set; } + public global::RetellAI.AllOf? Type1323 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse4? Type1324 { get; set; } + public global::RetellAI.ListAgentsResponse2? Type1324 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus2? Type1325 { get; set; } + public global::System.Collections.Generic.IList? Type1325 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse5? Type1326 { get; set; } + public global::RetellAI.ListAgentsResponse3? Type1326 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus3? Type1327 { get; set; } + public global::RetellAI.ListAgentsResponseStatus? Type1327 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponse6? Type1328 { get; set; } + public global::RetellAI.ListAgentsResponse4? Type1328 { get; set; } /// /// /// - public global::RetellAI.ListChatsResponseStatus4? Type1329 { get; set; } + public global::RetellAI.ListAgentsResponseStatus2? Type1329 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1330 { get; set; } + public global::RetellAI.ListAgentsResponse5? Type1330 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse2? Type1331 { get; set; } + public global::RetellAI.ListAgentsResponseStatus3? Type1331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1332 { get; set; } + public global::RetellAI.ListAgentsResponse6? Type1332 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse3? Type1333 { get; set; } + public global::RetellAI.ListAgentsResponseStatus4? Type1333 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus? Type1334 { get; set; } + public global::RetellAI.AllOf? Type1334 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse4? Type1335 { get; set; } + public global::RetellAI.ListChatsResponse2? Type1335 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus2? Type1336 { get; set; } + public global::System.Collections.Generic.IList? Type1336 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse5? Type1337 { get; set; } + public global::RetellAI.ListChatsResponse3? Type1337 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus3? Type1338 { get; set; } + public global::RetellAI.ListChatsResponseStatus? Type1338 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponse6? Type1339 { get; set; } + public global::RetellAI.ListChatsResponse4? Type1339 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowComponentsResponseStatus4? Type1340 { get; set; } + public global::RetellAI.ListChatsResponseStatus2? Type1340 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1341 { get; set; } + public global::RetellAI.ListChatsResponse5? Type1341 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse2? Type1342 { get; set; } + public global::RetellAI.ListChatsResponseStatus3? Type1342 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1343 { get; set; } + public global::RetellAI.ListChatsResponse6? Type1343 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse3? Type1344 { get; set; } + public global::RetellAI.ListChatsResponseStatus4? Type1344 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus? Type1345 { get; set; } + public global::RetellAI.AllOf? Type1345 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse4? Type1346 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse2? Type1346 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus2? Type1347 { get; set; } + public global::System.Collections.Generic.IList? Type1347 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse5? Type1348 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse3? Type1348 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus3? Type1349 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus? Type1349 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse6? Type1350 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse4? Type1350 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus4? Type1351 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus2? Type1351 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponse7? Type1352 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse5? Type1352 { get; set; } /// /// /// - public global::RetellAI.ListConversationFlowsResponseStatus5? Type1353 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus3? Type1353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1354 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponse6? Type1354 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponse? Type1355 { get; set; } + public global::RetellAI.ListConversationFlowComponentsResponseStatus4? Type1355 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponseStatus? Type1356 { get; set; } + public global::RetellAI.AllOf? Type1356 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponse2? Type1357 { get; set; } + public global::RetellAI.ListConversationFlowsResponse2? Type1357 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponseStatus2? Type1358 { get; set; } + public global::System.Collections.Generic.IList? Type1358 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponse3? Type1359 { get; set; } + public global::RetellAI.ListConversationFlowsResponse3? Type1359 { get; set; } /// /// /// - public global::RetellAI.ListKnowledgeBasesResponseStatus3? Type1360 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus? Type1360 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1361 { get; set; } + public global::RetellAI.ListConversationFlowsResponse4? Type1361 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponse2? Type1362 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus2? Type1362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1363 { get; set; } + public global::RetellAI.ListConversationFlowsResponse5? Type1363 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponse3? Type1364 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus3? Type1364 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponseStatus? Type1365 { get; set; } + public global::RetellAI.ListConversationFlowsResponse6? Type1365 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponse4? Type1366 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus4? Type1366 { get; set; } /// /// /// - public global::RetellAI.ListPhoneNumbersResponseStatus2? Type1367 { get; set; } + public global::RetellAI.ListConversationFlowsResponse7? Type1367 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1368 { get; set; } + public global::RetellAI.ListConversationFlowsResponseStatus5? Type1368 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse2? Type1369 { get; set; } + public global::System.Collections.Generic.IList? Type1369 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1370 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponse? Type1370 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse3? Type1371 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponseStatus? Type1371 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus? Type1372 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponse2? Type1372 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse4? Type1373 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponseStatus2? Type1373 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus2? Type1374 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponse3? Type1374 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse5? Type1375 { get; set; } + public global::RetellAI.ListKnowledgeBasesResponseStatus3? Type1375 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus3? Type1376 { get; set; } + public global::RetellAI.AllOf? Type1376 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse6? Type1377 { get; set; } + public global::RetellAI.ListPhoneNumbersResponse2? Type1377 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus4? Type1378 { get; set; } + public global::System.Collections.Generic.IList? Type1378 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponse7? Type1379 { get; set; } + public global::RetellAI.ListPhoneNumbersResponse3? Type1379 { get; set; } /// /// /// - public global::RetellAI.ListRetellLLMResponseStatus5? Type1380 { get; set; } + public global::RetellAI.ListPhoneNumbersResponseStatus? Type1380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1381 { get; set; } + public global::RetellAI.ListPhoneNumbersResponse4? Type1381 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponse? Type1382 { get; set; } + public global::RetellAI.ListPhoneNumbersResponseStatus2? Type1382 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponseStatus? Type1383 { get; set; } + public global::RetellAI.AllOf? Type1383 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponse2? Type1384 { get; set; } + public global::RetellAI.ListRetellLLMResponse2? Type1384 { get; set; } /// /// /// - public global::RetellAI.ListVoicesResponseStatus2? Type1385 { get; set; } + public global::System.Collections.Generic.IList? Type1385 { get; set; } /// /// /// - public global::RetellAI.OneOf? Type1386 { get; set; } + public global::RetellAI.ListRetellLLMResponse3? Type1386 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse2? Type1387 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus? Type1387 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus? Type1388 { get; set; } + public global::RetellAI.ListRetellLLMResponse4? Type1388 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse3? Type1389 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus2? Type1389 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus2? Type1390 { get; set; } + public global::RetellAI.ListRetellLLMResponse5? Type1390 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse4? Type1391 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus3? Type1391 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus3? Type1392 { get; set; } + public global::RetellAI.ListRetellLLMResponse6? Type1392 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse5? Type1393 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus4? Type1393 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus4? Type1394 { get; set; } + public global::RetellAI.ListRetellLLMResponse7? Type1394 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponse6? Type1395 { get; set; } + public global::RetellAI.ListRetellLLMResponseStatus5? Type1395 { get; set; } /// /// /// - public global::RetellAI.CreateAgentVersionResponseStatus5? Type1396 { get; set; } + public global::System.Collections.Generic.IList? Type1396 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse? Type1397 { get; set; } + public global::RetellAI.ListVoicesResponse? Type1397 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus? Type1398 { get; set; } + public global::RetellAI.ListVoicesResponseStatus? Type1398 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse2? Type1399 { get; set; } + public global::RetellAI.ListVoicesResponse2? Type1399 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus2? Type1400 { get; set; } + public global::RetellAI.ListVoicesResponseStatus2? Type1400 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse3? Type1401 { get; set; } + public global::RetellAI.OneOf? Type1401 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus3? Type1402 { get; set; } + public global::RetellAI.CreateAgentVersionResponse2? Type1402 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse4? Type1403 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus? Type1403 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus4? Type1404 { get; set; } + public global::RetellAI.CreateAgentVersionResponse3? Type1404 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponse5? Type1405 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus2? Type1405 { get; set; } /// /// /// - public global::RetellAI.PublishAgentVersionResponseStatus5? Type1406 { get; set; } + public global::RetellAI.CreateAgentVersionResponse4? Type1406 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse? Type1407 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus3? Type1407 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus? Type1408 { get; set; } + public global::RetellAI.CreateAgentVersionResponse5? Type1408 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse2? Type1409 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus4? Type1409 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus2? Type1410 { get; set; } + public global::RetellAI.CreateAgentVersionResponse6? Type1410 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse3? Type1411 { get; set; } + public global::RetellAI.CreateAgentVersionResponseStatus5? Type1411 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus3? Type1412 { get; set; } + public global::RetellAI.PublishAgentVersionResponse? Type1412 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse4? Type1413 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus? Type1413 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus4? Type1414 { get; set; } + public global::RetellAI.PublishAgentVersionResponse2? Type1414 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponse5? Type1415 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus2? Type1415 { get; set; } /// /// /// - public global::RetellAI.DeleteAgentVersionResponseStatus5? Type1416 { get; set; } + public global::RetellAI.PublishAgentVersionResponse3? Type1416 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse? Type1417 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus3? Type1417 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus? Type1418 { get; set; } + public global::RetellAI.PublishAgentVersionResponse4? Type1418 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse2? Type1419 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus4? Type1419 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus2? Type1420 { get; set; } + public global::RetellAI.PublishAgentVersionResponse5? Type1420 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse3? Type1421 { get; set; } + public global::RetellAI.PublishAgentVersionResponseStatus5? Type1421 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus3? Type1422 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse? Type1422 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse4? Type1423 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus? Type1423 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus4? Type1424 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse2? Type1424 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse5? Type1425 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus2? Type1425 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus5? Type1426 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse3? Type1426 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse6? Type1427 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus3? Type1427 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus6? Type1428 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse4? Type1428 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponse7? Type1429 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus4? Type1429 { get; set; } /// /// /// - public global::RetellAI.RerunCallAnalysisResponseStatus7? Type1430 { get; set; } + public global::RetellAI.DeleteAgentVersionResponse5? Type1430 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse? Type1431 { get; set; } + public global::RetellAI.DeleteAgentVersionResponseStatus5? Type1431 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus? Type1432 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse? Type1432 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse2? Type1433 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus? Type1433 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus2? Type1434 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse2? Type1434 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse3? Type1435 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus2? Type1435 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus3? Type1436 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse3? Type1436 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse4? Type1437 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus3? Type1437 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus4? Type1438 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse4? Type1438 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse5? Type1439 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus4? Type1439 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus5? Type1440 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse5? Type1440 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse6? Type1441 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus5? Type1441 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus6? Type1442 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse6? Type1442 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponse7? Type1443 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus6? Type1443 { get; set; } /// /// /// - public global::RetellAI.RerunChatAnalysisResponseStatus7? Type1444 { get; set; } + public global::RetellAI.RerunCallAnalysisResponse7? Type1444 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse? Type1445 { get; set; } + public global::RetellAI.RerunCallAnalysisResponseStatus7? Type1445 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus? Type1446 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse? Type1446 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse2? Type1447 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus? Type1447 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus2? Type1448 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse2? Type1448 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse3? Type1449 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus2? Type1449 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus3? Type1450 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse3? Type1450 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse4? Type1451 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus3? Type1451 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus4? Type1452 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse4? Type1452 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponse5? Type1453 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus4? Type1453 { get; set; } /// /// /// - public global::RetellAI.UpdateAgentResponseStatus5? Type1454 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse5? Type1454 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse? Type1455 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus5? Type1455 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus? Type1456 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse6? Type1456 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse2? Type1457 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus6? Type1457 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus2? Type1458 { get; set; } + public global::RetellAI.RerunChatAnalysisResponse7? Type1458 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse3? Type1459 { get; set; } + public global::RetellAI.RerunChatAnalysisResponseStatus7? Type1459 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus3? Type1460 { get; set; } + public global::RetellAI.UpdateAgentResponse? Type1460 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse4? Type1461 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus? Type1461 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus4? Type1462 { get; set; } + public global::RetellAI.UpdateAgentResponse2? Type1462 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponse5? Type1463 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus2? Type1463 { get; set; } /// /// /// - public global::RetellAI.UpdateChatAgentResponseStatus5? Type1464 { get; set; } + public global::RetellAI.UpdateAgentResponse3? Type1464 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse? Type1465 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus3? Type1465 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus? Type1466 { get; set; } + public global::RetellAI.UpdateAgentResponse4? Type1466 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse2? Type1467 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus4? Type1467 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus2? Type1468 { get; set; } + public global::RetellAI.UpdateAgentResponse5? Type1468 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse3? Type1469 { get; set; } + public global::RetellAI.UpdateAgentResponseStatus5? Type1469 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus3? Type1470 { get; set; } + public global::RetellAI.RepairAgentResponse2? Type1470 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponse4? Type1471 { get; set; } + public global::RetellAI.RepairAgentResponseStatus? Type1471 { get; set; } /// /// /// - public global::RetellAI.UpdateChatMetadataResponseStatus4? Type1472 { get; set; } + public global::RetellAI.RepairAgentResponse3? Type1472 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse? Type1473 { get; set; } + public global::RetellAI.RepairAgentResponseStatus2? Type1473 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus? Type1474 { get; set; } + public global::RetellAI.RepairAgentResponse4? Type1474 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse2? Type1475 { get; set; } + public global::RetellAI.RepairAgentResponseStatus3? Type1475 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus2? Type1476 { get; set; } + public global::RetellAI.RepairAgentResponse5? Type1476 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse3? Type1477 { get; set; } + public global::RetellAI.RepairAgentResponseStatus4? Type1477 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus3? Type1478 { get; set; } + public global::RetellAI.RepairAgentResponse6? Type1478 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse4? Type1479 { get; set; } + public global::RetellAI.RepairAgentResponseStatus5? Type1479 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus4? Type1480 { get; set; } + public global::RetellAI.UpdateChatAgentResponse? Type1480 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse5? Type1481 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus? Type1481 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus5? Type1482 { get; set; } + public global::RetellAI.UpdateChatAgentResponse2? Type1482 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponse6? Type1483 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus2? Type1483 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowComponentResponseStatus6? Type1484 { get; set; } + public global::RetellAI.UpdateChatAgentResponse3? Type1484 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse? Type1485 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus3? Type1485 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus? Type1486 { get; set; } + public global::RetellAI.UpdateChatAgentResponse4? Type1486 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse2? Type1487 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus4? Type1487 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus2? Type1488 { get; set; } + public global::RetellAI.UpdateChatAgentResponse5? Type1488 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse3? Type1489 { get; set; } + public global::RetellAI.UpdateChatAgentResponseStatus5? Type1489 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus3? Type1490 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse? Type1490 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse4? Type1491 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus? Type1491 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus4? Type1492 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse2? Type1492 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse5? Type1493 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus2? Type1493 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus5? Type1494 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse3? Type1494 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponse6? Type1495 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus3? Type1495 { get; set; } /// /// /// - public global::RetellAI.UpdateConversationFlowResponseStatus6? Type1496 { get; set; } + public global::RetellAI.UpdateChatMetadataResponse4? Type1496 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse? Type1497 { get; set; } + public global::RetellAI.UpdateChatMetadataResponseStatus4? Type1497 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus? Type1498 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse? Type1498 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse2? Type1499 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus? Type1499 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus2? Type1500 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse2? Type1500 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse3? Type1501 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus2? Type1501 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus3? Type1502 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse3? Type1502 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponse4? Type1503 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus3? Type1503 { get; set; } /// /// /// - public global::RetellAI.UpdatePhoneNumberResponseStatus4? Type1504 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse4? Type1504 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse? Type1505 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus4? Type1505 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus? Type1506 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse5? Type1506 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse2? Type1507 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus5? Type1507 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus2? Type1508 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponse6? Type1508 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse3? Type1509 { get; set; } + public global::RetellAI.UpdateConversationFlowComponentResponseStatus6? Type1509 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus3? Type1510 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse? Type1510 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse4? Type1511 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus? Type1511 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus4? Type1512 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse2? Type1512 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponse5? Type1513 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus2? Type1513 { get; set; } /// /// /// - public global::RetellAI.UpdateRetellLLMResponseStatus5? Type1514 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse3? Type1514 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse? Type1515 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus3? Type1515 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus? Type1516 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse4? Type1516 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse2? Type1517 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus4? Type1517 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus2? Type1518 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse5? Type1518 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse3? Type1519 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus5? Type1519 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus3? Type1520 { get; set; } + public global::RetellAI.UpdateConversationFlowResponse6? Type1520 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse4? Type1521 { get; set; } + public global::RetellAI.UpdateConversationFlowResponseStatus6? Type1521 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus4? Type1522 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse? Type1522 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse5? Type1523 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus? Type1523 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus5? Type1524 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse2? Type1524 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponse6? Type1525 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus2? Type1525 { get; set; } /// /// /// - public global::RetellAI.CreatePhoneCallResponseStatus6? Type1526 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse3? Type1526 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse? Type1527 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus3? Type1527 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus? Type1528 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponse4? Type1528 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse2? Type1529 { get; set; } + public global::RetellAI.UpdatePhoneNumberResponseStatus4? Type1529 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus2? Type1530 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse? Type1530 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse3? Type1531 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus? Type1531 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus3? Type1532 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse2? Type1532 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse4? Type1533 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus2? Type1533 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus4? Type1534 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse3? Type1534 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse5? Type1535 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus3? Type1535 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus5? Type1536 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse4? Type1536 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponse6? Type1537 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus4? Type1537 { get; set; } /// /// /// - public global::RetellAI.CreateWebCallResponseStatus6? Type1538 { get; set; } + public global::RetellAI.UpdateRetellLLMResponse5? Type1538 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse? Type1539 { get; set; } + public global::RetellAI.UpdateRetellLLMResponseStatus5? Type1539 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus? Type1540 { get; set; } + public global::RetellAI.CreatePhoneCallResponse? Type1540 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse2? Type1541 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus? Type1541 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus2? Type1542 { get; set; } + public global::RetellAI.CreatePhoneCallResponse2? Type1542 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse3? Type1543 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus2? Type1543 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus3? Type1544 { get; set; } + public global::RetellAI.CreatePhoneCallResponse3? Type1544 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponse4? Type1545 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus3? Type1545 { get; set; } /// /// /// - public global::RetellAI.DeleteCallResponseStatus4? Type1546 { get; set; } + public global::RetellAI.CreatePhoneCallResponse4? Type1546 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse? Type1547 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus4? Type1547 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus? Type1548 { get; set; } + public global::RetellAI.CreatePhoneCallResponse5? Type1548 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse2? Type1549 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus5? Type1549 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus2? Type1550 { get; set; } + public global::RetellAI.CreatePhoneCallResponse6? Type1550 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse3? Type1551 { get; set; } + public global::RetellAI.CreatePhoneCallResponseStatus6? Type1551 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus3? Type1552 { get; set; } + public global::RetellAI.CreateWebCallResponse? Type1552 { get; set; } /// /// /// - public global::RetellAI.GetCallResponse4? Type1553 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus? Type1553 { get; set; } /// /// /// - public global::RetellAI.GetCallResponseStatus4? Type1554 { get; set; } + public global::RetellAI.CreateWebCallResponse2? Type1554 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1555 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus2? Type1555 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse2? Type1556 { get; set; } + public global::RetellAI.CreateWebCallResponse3? Type1556 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1557 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus3? Type1557 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse3? Type1558 { get; set; } + public global::RetellAI.CreateWebCallResponse4? Type1558 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus? Type1559 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus4? Type1559 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse4? Type1560 { get; set; } + public global::RetellAI.CreateWebCallResponse5? Type1560 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus2? Type1561 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus5? Type1561 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse5? Type1562 { get; set; } + public global::RetellAI.CreateWebCallResponse6? Type1562 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus3? Type1563 { get; set; } + public global::RetellAI.CreateWebCallResponseStatus6? Type1563 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponse6? Type1564 { get; set; } + public global::RetellAI.DeleteCallResponse? Type1564 { get; set; } /// /// /// - public global::RetellAI.ListCallsResponseStatus4? Type1565 { get; set; } + public global::RetellAI.DeleteCallResponseStatus? Type1565 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1566 { get; set; } + public global::RetellAI.DeleteCallResponse2? Type1566 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse2? Type1567 { get; set; } + public global::RetellAI.DeleteCallResponseStatus2? Type1567 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1568 { get; set; } + public global::RetellAI.DeleteCallResponse3? Type1568 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseItem? Type1569 { get; set; } + public global::RetellAI.DeleteCallResponseStatus3? Type1569 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseItemChannel? Type1570 { get; set; } + public global::RetellAI.DeleteCallResponse4? Type1570 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseItemStatus? Type1571 { get; set; } + public global::RetellAI.DeleteCallResponseStatus4? Type1571 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse3? Type1572 { get; set; } + public global::RetellAI.GetCallResponse? Type1572 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus? Type1573 { get; set; } + public global::RetellAI.GetCallResponseStatus? Type1573 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse4? Type1574 { get; set; } + public global::RetellAI.GetCallResponse2? Type1574 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus2? Type1575 { get; set; } + public global::RetellAI.GetCallResponseStatus2? Type1575 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse5? Type1576 { get; set; } + public global::RetellAI.GetCallResponse3? Type1576 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus3? Type1577 { get; set; } + public global::RetellAI.GetCallResponseStatus3? Type1577 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponse6? Type1578 { get; set; } + public global::RetellAI.GetCallResponse4? Type1578 { get; set; } /// /// /// - public global::RetellAI.ListExportRequestsResponseStatus4? Type1579 { get; set; } + public global::RetellAI.GetCallResponseStatus4? Type1579 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse? Type1580 { get; set; } + public global::RetellAI.AllOf? Type1580 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus? Type1581 { get; set; } + public global::RetellAI.ListCallsResponse2? Type1581 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse2? Type1582 { get; set; } + public global::System.Collections.Generic.IList? Type1582 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus2? Type1583 { get; set; } + public global::RetellAI.ListCallsResponse3? Type1583 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse3? Type1584 { get; set; } + public global::RetellAI.ListCallsResponseStatus? Type1584 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus3? Type1585 { get; set; } + public global::RetellAI.ListCallsResponse4? Type1585 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse4? Type1586 { get; set; } + public global::RetellAI.ListCallsResponseStatus2? Type1586 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus4? Type1587 { get; set; } + public global::RetellAI.ListCallsResponse5? Type1587 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse5? Type1588 { get; set; } + public global::RetellAI.ListCallsResponseStatus3? Type1588 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus5? Type1589 { get; set; } + public global::RetellAI.ListCallsResponse6? Type1589 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponse6? Type1590 { get; set; } + public global::RetellAI.ListCallsResponseStatus4? Type1590 { get; set; } /// /// /// - public global::RetellAI.RegisterPhoneCallResponseStatus6? Type1591 { get; set; } + public global::RetellAI.AllOf? Type1591 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse? Type1592 { get; set; } + public global::RetellAI.ListExportRequestsResponse2? Type1592 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus? Type1593 { get; set; } + public global::System.Collections.Generic.IList? Type1593 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse2? Type1594 { get; set; } + public global::RetellAI.ListExportRequestsResponseItem? Type1594 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus2? Type1595 { get; set; } + public global::RetellAI.ListExportRequestsResponseItemChannel? Type1595 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse3? Type1596 { get; set; } + public global::RetellAI.ListExportRequestsResponseItemStatus? Type1596 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus3? Type1597 { get; set; } + public global::RetellAI.ListExportRequestsResponse3? Type1597 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponse4? Type1598 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus? Type1598 { get; set; } /// /// /// - public global::RetellAI.UpdateCallMetadataResponseStatus4? Type1599 { get; set; } + public global::RetellAI.ListExportRequestsResponse4? Type1599 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse? Type1600 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus2? Type1600 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse2? Type1601 { get; set; } + public global::RetellAI.ListExportRequestsResponse5? Type1601 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus? Type1602 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus3? Type1602 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse3? Type1603 { get; set; } + public global::RetellAI.ListExportRequestsResponse6? Type1603 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus2? Type1604 { get; set; } + public global::RetellAI.ListExportRequestsResponseStatus4? Type1604 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse4? Type1605 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse? Type1605 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus3? Type1606 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus? Type1606 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse5? Type1607 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse2? Type1607 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus4? Type1608 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus2? Type1608 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponse6? Type1609 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse3? Type1609 { get; set; } /// /// /// - public global::RetellAI.UpdateLiveCallResponseStatus5? Type1610 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus3? Type1610 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse? Type1611 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse4? Type1611 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus? Type1612 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus4? Type1612 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse2? Type1613 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse5? Type1613 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus2? Type1614 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus5? Type1614 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse3? Type1615 { get; set; } + public global::RetellAI.RegisterPhoneCallResponse6? Type1615 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus3? Type1616 { get; set; } + public global::RetellAI.RegisterPhoneCallResponseStatus6? Type1616 { get; set; } /// /// /// - public global::RetellAI.StopCallResponse4? Type1617 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse? Type1617 { get; set; } /// /// /// - public global::RetellAI.StopCallResponseStatus4? Type1618 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus? Type1618 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse? Type1619 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse2? Type1619 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus? Type1620 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus2? Type1620 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse2? Type1621 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse3? Type1621 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus2? Type1622 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus3? Type1622 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse3? Type1623 { get; set; } + public global::RetellAI.UpdateCallMetadataResponse4? Type1623 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus3? Type1624 { get; set; } + public global::RetellAI.UpdateCallMetadataResponseStatus4? Type1624 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponse4? Type1625 { get; set; } + public global::RetellAI.UpdateLiveCallResponse? Type1625 { get; set; } /// /// /// - public global::RetellAI.CreateContactResponseStatus4? Type1626 { get; set; } + public global::RetellAI.UpdateLiveCallResponse2? Type1626 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse? Type1627 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus? Type1627 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus? Type1628 { get; set; } + public global::RetellAI.UpdateLiveCallResponse3? Type1628 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse2? Type1629 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus2? Type1629 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus2? Type1630 { get; set; } + public global::RetellAI.UpdateLiveCallResponse4? Type1630 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse3? Type1631 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus3? Type1631 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus3? Type1632 { get; set; } + public global::RetellAI.UpdateLiveCallResponse5? Type1632 { get; set; } /// /// /// - public global::RetellAI.GetContactResponse4? Type1633 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus4? Type1633 { get; set; } /// /// /// - public global::RetellAI.GetContactResponseStatus4? Type1634 { get; set; } + public global::RetellAI.UpdateLiveCallResponse6? Type1634 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse? Type1635 { get; set; } + public global::RetellAI.UpdateLiveCallResponseStatus5? Type1635 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus? Type1636 { get; set; } + public global::RetellAI.StopCallResponse? Type1636 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse2? Type1637 { get; set; } + public global::RetellAI.StopCallResponseStatus? Type1637 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus2? Type1638 { get; set; } + public global::RetellAI.StopCallResponse2? Type1638 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse3? Type1639 { get; set; } + public global::RetellAI.StopCallResponseStatus2? Type1639 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus3? Type1640 { get; set; } + public global::RetellAI.StopCallResponse3? Type1640 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse4? Type1641 { get; set; } + public global::RetellAI.StopCallResponseStatus3? Type1641 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus4? Type1642 { get; set; } + public global::RetellAI.StopCallResponse4? Type1642 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponse5? Type1643 { get; set; } + public global::RetellAI.StopCallResponseStatus4? Type1643 { get; set; } /// /// /// - public global::RetellAI.GetContactByPhoneResponseStatus5? Type1644 { get; set; } + public global::RetellAI.CreateContactResponse? Type1644 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse? Type1645 { get; set; } + public global::RetellAI.CreateContactResponseStatus? Type1645 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus? Type1646 { get; set; } + public global::RetellAI.CreateContactResponse2? Type1646 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse2? Type1647 { get; set; } + public global::RetellAI.CreateContactResponseStatus2? Type1647 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus2? Type1648 { get; set; } + public global::RetellAI.CreateContactResponse3? Type1648 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse3? Type1649 { get; set; } + public global::RetellAI.CreateContactResponseStatus3? Type1649 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus3? Type1650 { get; set; } + public global::RetellAI.CreateContactResponse4? Type1650 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse4? Type1651 { get; set; } + public global::RetellAI.CreateContactResponseStatus4? Type1651 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus4? Type1652 { get; set; } + public global::RetellAI.UploadContactImportFileResponse? Type1652 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponse5? Type1653 { get; set; } + public global::RetellAI.UploadContactImportFileResponse2? Type1653 { get; set; } /// /// /// - public global::RetellAI.UpdateContactResponseStatus5? Type1654 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus? Type1654 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse? Type1655 { get; set; } + public global::RetellAI.UploadContactImportFileResponse3? Type1655 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus? Type1656 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus2? Type1656 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse2? Type1657 { get; set; } + public global::RetellAI.UploadContactImportFileResponse4? Type1657 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus2? Type1658 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus3? Type1658 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse3? Type1659 { get; set; } + public global::RetellAI.UploadContactImportFileResponse5? Type1659 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus3? Type1660 { get; set; } + public global::RetellAI.UploadContactImportFileResponseStatus4? Type1660 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse4? Type1661 { get; set; } + public global::RetellAI.CreateContactImportResponse? Type1661 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus4? Type1662 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus? Type1662 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponse5? Type1663 { get; set; } + public global::RetellAI.CreateContactImportResponse2? Type1663 { get; set; } /// /// /// - public global::RetellAI.DeleteContactResponseStatus5? Type1664 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus2? Type1664 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse? Type1665 { get; set; } + public global::RetellAI.CreateContactImportResponse3? Type1665 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus? Type1666 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus3? Type1666 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse2? Type1667 { get; set; } + public global::RetellAI.CreateContactImportResponse4? Type1667 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus2? Type1668 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus4? Type1668 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse3? Type1669 { get; set; } + public global::RetellAI.CreateContactImportResponse5? Type1669 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus3? Type1670 { get; set; } + public global::RetellAI.CreateContactImportResponseStatus5? Type1670 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponse4? Type1671 { get; set; } + public global::RetellAI.GetContactImportResponse? Type1671 { get; set; } /// /// /// - public global::RetellAI.ListContactsResponseStatus4? Type1672 { get; set; } + public global::RetellAI.GetContactImportResponseStatus? Type1672 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse? Type1673 { get; set; } + public global::RetellAI.GetContactImportResponse2? Type1673 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus? Type1674 { get; set; } + public global::RetellAI.GetContactImportResponseStatus2? Type1674 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse2? Type1675 { get; set; } + public global::RetellAI.GetContactImportResponse3? Type1675 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus2? Type1676 { get; set; } + public global::RetellAI.GetContactImportResponseStatus3? Type1676 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse3? Type1677 { get; set; } + public global::RetellAI.GetContactResponse? Type1677 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus3? Type1678 { get; set; } + public global::RetellAI.GetContactResponseStatus? Type1678 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponse4? Type1679 { get; set; } + public global::RetellAI.GetContactResponse2? Type1679 { get; set; } /// /// /// - public global::RetellAI.ListContactConversationsResponseStatus4? Type1680 { get; set; } + public global::RetellAI.GetContactResponseStatus2? Type1680 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse? Type1681 { get; set; } + public global::RetellAI.GetContactResponse3? Type1681 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus? Type1682 { get; set; } + public global::RetellAI.GetContactResponseStatus3? Type1682 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse2? Type1683 { get; set; } + public global::RetellAI.GetContactResponse4? Type1683 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus2? Type1684 { get; set; } + public global::RetellAI.GetContactResponseStatus4? Type1684 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse3? Type1685 { get; set; } + public global::RetellAI.GetContactByPhoneResponse? Type1685 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus3? Type1686 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus? Type1686 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponse4? Type1687 { get; set; } + public global::RetellAI.GetContactByPhoneResponse2? Type1687 { get; set; } /// /// /// - public global::RetellAI.CreateAppResponseStatus4? Type1688 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus2? Type1688 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse? Type1689 { get; set; } + public global::RetellAI.GetContactByPhoneResponse3? Type1689 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus? Type1690 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus3? Type1690 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse2? Type1691 { get; set; } + public global::RetellAI.GetContactByPhoneResponse4? Type1691 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus2? Type1692 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus4? Type1692 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse3? Type1693 { get; set; } + public global::RetellAI.GetContactByPhoneResponse5? Type1693 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus3? Type1694 { get; set; } + public global::RetellAI.GetContactByPhoneResponseStatus5? Type1694 { get; set; } /// /// /// - public global::RetellAI.GetAppResponse4? Type1695 { get; set; } + public global::RetellAI.UpdateContactResponse? Type1695 { get; set; } /// /// /// - public global::RetellAI.GetAppResponseStatus4? Type1696 { get; set; } + public global::RetellAI.UpdateContactResponseStatus? Type1696 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse? Type1697 { get; set; } + public global::RetellAI.UpdateContactResponse2? Type1697 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus? Type1698 { get; set; } + public global::RetellAI.UpdateContactResponseStatus2? Type1698 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse2? Type1699 { get; set; } + public global::RetellAI.UpdateContactResponse3? Type1699 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus2? Type1700 { get; set; } + public global::RetellAI.UpdateContactResponseStatus3? Type1700 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse3? Type1701 { get; set; } + public global::RetellAI.UpdateContactResponse4? Type1701 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus3? Type1702 { get; set; } + public global::RetellAI.UpdateContactResponseStatus4? Type1702 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse4? Type1703 { get; set; } + public global::RetellAI.UpdateContactResponse5? Type1703 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus4? Type1704 { get; set; } + public global::RetellAI.UpdateContactResponseStatus5? Type1704 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponse5? Type1705 { get; set; } + public global::RetellAI.DeleteContactResponse? Type1705 { get; set; } /// /// /// - public global::RetellAI.UpdateAppResponseStatus5? Type1706 { get; set; } + public global::RetellAI.DeleteContactResponseStatus? Type1706 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse? Type1707 { get; set; } + public global::RetellAI.DeleteContactResponse2? Type1707 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus? Type1708 { get; set; } + public global::RetellAI.DeleteContactResponseStatus2? Type1708 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse2? Type1709 { get; set; } + public global::RetellAI.DeleteContactResponse3? Type1709 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus2? Type1710 { get; set; } + public global::RetellAI.DeleteContactResponseStatus3? Type1710 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse3? Type1711 { get; set; } + public global::RetellAI.DeleteContactResponse4? Type1711 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus3? Type1712 { get; set; } + public global::RetellAI.DeleteContactResponseStatus4? Type1712 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse4? Type1713 { get; set; } + public global::RetellAI.DeleteContactResponse5? Type1713 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus4? Type1714 { get; set; } + public global::RetellAI.DeleteContactResponseStatus5? Type1714 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponse5? Type1715 { get; set; } + public global::RetellAI.ListContactsResponse? Type1715 { get; set; } /// /// /// - public global::RetellAI.DeleteAppResponseStatus5? Type1716 { get; set; } + public global::RetellAI.ListContactsResponseStatus? Type1716 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1717 { get; set; } + public global::RetellAI.ListContactsResponse2? Type1717 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse2? Type1718 { get; set; } + public global::RetellAI.ListContactsResponseStatus2? Type1718 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1719 { get; set; } + public global::RetellAI.ListContactsResponse3? Type1719 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse3? Type1720 { get; set; } + public global::RetellAI.ListContactsResponseStatus3? Type1720 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponseStatus? Type1721 { get; set; } + public global::RetellAI.ListContactsResponse4? Type1721 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse4? Type1722 { get; set; } + public global::RetellAI.ListContactsResponseStatus4? Type1722 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponseStatus2? Type1723 { get; set; } + public global::RetellAI.ListContactConversationsResponse? Type1723 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponse5? Type1724 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus? Type1724 { get; set; } /// /// /// - public global::RetellAI.ListAppsResponseStatus3? Type1725 { get; set; } + public global::RetellAI.ListContactConversationsResponse2? Type1725 { get; set; } /// /// /// - public global::RetellAI.AllOf? Type1726 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus2? Type1726 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse2? Type1727 { get; set; } + public global::RetellAI.ListContactConversationsResponse3? Type1727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type1728 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus3? Type1728 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse3? Type1729 { get; set; } + public global::RetellAI.ListContactConversationsResponse4? Type1729 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus? Type1730 { get; set; } + public global::RetellAI.ListContactConversationsResponseStatus4? Type1730 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse4? Type1731 { get; set; } + public global::RetellAI.CreateAppResponse? Type1731 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus2? Type1732 { get; set; } + public global::RetellAI.CreateAppResponseStatus? Type1732 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse5? Type1733 { get; set; } + public global::RetellAI.CreateAppResponse2? Type1733 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus3? Type1734 { get; set; } + public global::RetellAI.CreateAppResponseStatus2? Type1734 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponse6? Type1735 { get; set; } + public global::RetellAI.CreateAppResponse3? Type1735 { get; set; } /// /// /// - public global::RetellAI.ListAppUsagesResponseStatus4? Type1736 { get; set; } + public global::RetellAI.CreateAppResponseStatus3? Type1736 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse? Type1737 { get; set; } + public global::RetellAI.CreateAppResponse4? Type1737 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse2? Type1738 { get; set; } + public global::RetellAI.CreateAppResponseStatus4? Type1738 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus? Type1739 { get; set; } + public global::RetellAI.GetAppResponse? Type1739 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse3? Type1740 { get; set; } + public global::RetellAI.GetAppResponseStatus? Type1740 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus2? Type1741 { get; set; } + public global::RetellAI.GetAppResponse2? Type1741 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse4? Type1742 { get; set; } + public global::RetellAI.GetAppResponseStatus2? Type1742 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus3? Type1743 { get; set; } + public global::RetellAI.GetAppResponse3? Type1743 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponse5? Type1744 { get; set; } + public global::RetellAI.GetAppResponseStatus3? Type1744 { get; set; } /// /// /// - public global::RetellAI.TestAppAuthResponseStatus4? Type1745 { get; set; } + public global::RetellAI.GetAppResponse4? Type1745 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponse? Type1746 { get; set; } + public global::RetellAI.GetAppResponseStatus4? Type1746 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponseStatus? Type1747 { get; set; } + public global::RetellAI.UpdateAppResponse? Type1747 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponse2? Type1748 { get; set; } + public global::RetellAI.UpdateAppResponseStatus? Type1748 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponseStatus2? Type1749 { get; set; } + public global::RetellAI.UpdateAppResponse2? Type1749 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponse3? Type1750 { get; set; } + public global::RetellAI.UpdateAppResponseStatus2? Type1750 { get; set; } /// /// /// - public global::RetellAI.GetCrmConfigResponseStatus3? Type1751 { get; set; } + public global::RetellAI.UpdateAppResponse3? Type1751 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse? Type1752 { get; set; } + public global::RetellAI.UpdateAppResponseStatus3? Type1752 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus? Type1753 { get; set; } + public global::RetellAI.UpdateAppResponse4? Type1753 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse2? Type1754 { get; set; } + public global::RetellAI.UpdateAppResponseStatus4? Type1754 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus2? Type1755 { get; set; } + public global::RetellAI.UpdateAppResponse5? Type1755 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse3? Type1756 { get; set; } + public global::RetellAI.UpdateAppResponseStatus5? Type1756 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus3? Type1757 { get; set; } + public global::RetellAI.DeleteAppResponse? Type1757 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse4? Type1758 { get; set; } + public global::RetellAI.DeleteAppResponseStatus? Type1758 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus4? Type1759 { get; set; } + public global::RetellAI.DeleteAppResponse2? Type1759 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponse5? Type1760 { get; set; } + public global::RetellAI.DeleteAppResponseStatus2? Type1760 { get; set; } /// /// /// - public global::RetellAI.UpdateCrmConfigResponseStatus5? Type1761 { get; set; } + public global::RetellAI.DeleteAppResponse3? Type1761 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse? Type1762 { get; set; } + public global::RetellAI.DeleteAppResponseStatus3? Type1762 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus? Type1763 { get; set; } + public global::RetellAI.DeleteAppResponse4? Type1763 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse2? Type1764 { get; set; } + public global::RetellAI.DeleteAppResponseStatus4? Type1764 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus2? Type1765 { get; set; } + public global::RetellAI.DeleteAppResponse5? Type1765 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse3? Type1766 { get; set; } + public global::RetellAI.DeleteAppResponseStatus5? Type1766 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus3? Type1767 { get; set; } + public global::RetellAI.AllOf? Type1767 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponse4? Type1768 { get; set; } + public global::RetellAI.ListAppsResponse2? Type1768 { get; set; } /// /// /// - public global::RetellAI.RunSyncJobResponseStatus4? Type1769 { get; set; } + public global::System.Collections.Generic.IList? Type1769 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponse? Type1770 { get; set; } + public global::RetellAI.ListAppsResponse3? Type1770 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponseStatus? Type1771 { get; set; } + public global::RetellAI.ListAppsResponseStatus? Type1771 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponse2? Type1772 { get; set; } + public global::RetellAI.ListAppsResponse4? Type1772 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponseStatus2? Type1773 { get; set; } + public global::RetellAI.ListAppsResponseStatus2? Type1773 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponse3? Type1774 { get; set; } + public global::RetellAI.ListAppsResponse5? Type1774 { get; set; } /// /// /// - public global::RetellAI.GetSyncJobStatusResponseStatus3? Type1775 { get; set; } + public global::RetellAI.ListAppsResponseStatus3? Type1775 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse? Type1776 { get; set; } + public global::RetellAI.AllOf? Type1776 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus? Type1777 { get; set; } + public global::RetellAI.ListAppUsagesResponse2? Type1777 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse2? Type1778 { get; set; } + public global::System.Collections.Generic.IList? Type1778 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus2? Type1779 { get; set; } + public global::RetellAI.ListAppUsagesResponse3? Type1779 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse3? Type1780 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus? Type1780 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus3? Type1781 { get; set; } + public global::RetellAI.ListAppUsagesResponse4? Type1781 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponse4? Type1782 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus2? Type1782 { get; set; } /// /// /// - public global::RetellAI.BackfillContactAnalysisDataResponseStatus4? Type1783 { get; set; } + public global::RetellAI.ListAppUsagesResponse5? Type1783 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponse? Type1784 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus3? Type1784 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponseStatus? Type1785 { get; set; } + public global::RetellAI.ListAppUsagesResponse6? Type1785 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponse2? Type1786 { get; set; } + public global::RetellAI.ListAppUsagesResponseStatus4? Type1786 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponseStatus2? Type1787 { get; set; } + public global::RetellAI.TestAppAuthResponse? Type1787 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponse3? Type1788 { get; set; } + public global::RetellAI.TestAppAuthResponse2? Type1788 { get; set; } /// /// /// - public global::RetellAI.GetBackfillContactJobStatusResponseStatus3? Type1789 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus? Type1789 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse? Type1790 { get; set; } + public global::RetellAI.TestAppAuthResponse3? Type1790 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse2? Type1791 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus2? Type1791 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus? Type1792 { get; set; } + public global::RetellAI.TestAppAuthResponse4? Type1792 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse3? Type1793 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus3? Type1793 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus2? Type1794 { get; set; } + public global::RetellAI.TestAppAuthResponse5? Type1794 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse4? Type1795 { get; set; } + public global::RetellAI.TestAppAuthResponseStatus4? Type1795 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus3? Type1796 { get; set; } + public global::RetellAI.GetCrmConfigResponse? Type1796 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse5? Type1797 { get; set; } + public global::RetellAI.GetCrmConfigResponseStatus? Type1797 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus4? Type1798 { get; set; } + public global::RetellAI.GetCrmConfigResponse2? Type1798 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse6? Type1799 { get; set; } + public global::RetellAI.GetCrmConfigResponseStatus2? Type1799 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus5? Type1800 { get; set; } + public global::RetellAI.GetCrmConfigResponse3? Type1800 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponse7? Type1801 { get; set; } + public global::RetellAI.GetCrmConfigResponseStatus3? Type1801 { get; set; } /// /// /// - public global::RetellAI.GetCrmSchemaResponseStatus6? Type1802 { get; set; } + public global::RetellAI.UpdateCrmConfigResponse? Type1802 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus? Type1803 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse2? Type1804 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus2? Type1805 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse3? Type1806 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus3? Type1807 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse4? Type1808 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus4? Type1809 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponse5? Type1810 { get; set; } + /// + /// + /// + public global::RetellAI.UpdateCrmConfigResponseStatus5? Type1811 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse? Type1812 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus? Type1813 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse2? Type1814 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus2? Type1815 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse3? Type1816 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus3? Type1817 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponse4? Type1818 { get; set; } + /// + /// + /// + public global::RetellAI.RunSyncJobResponseStatus4? Type1819 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponse? Type1820 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponseStatus? Type1821 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponse2? Type1822 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponseStatus2? Type1823 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponse3? Type1824 { get; set; } + /// + /// + /// + public global::RetellAI.GetSyncJobStatusResponseStatus3? Type1825 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse? Type1826 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus? Type1827 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse2? Type1828 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus2? Type1829 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse3? Type1830 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus3? Type1831 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponse4? Type1832 { get; set; } + /// + /// + /// + public global::RetellAI.BackfillContactAnalysisDataResponseStatus4? Type1833 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponse? Type1834 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponseStatus? Type1835 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponse2? Type1836 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponseStatus2? Type1837 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponse3? Type1838 { get; set; } + /// + /// + /// + public global::RetellAI.GetBackfillContactJobStatusResponseStatus3? Type1839 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse? Type1840 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse2? Type1841 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus? Type1842 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse3? Type1843 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus2? Type1844 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse4? Type1845 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus3? Type1846 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse5? Type1847 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus4? Type1848 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse6? Type1849 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus5? Type1850 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponse7? Type1851 { get; set; } + /// + /// + /// + public global::RetellAI.GetCrmSchemaResponseStatus6? Type1852 { get; set; } /// /// @@ -7550,110 +7750,118 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::RetellAI.OneOf>? ListType76 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType77 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } } } \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AddCommunityVoiceRequestVoiceProvider.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AddCommunityVoiceRequestVoiceProvider.g.cs index 98600277..1fda9de0 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AddCommunityVoiceRequestVoiceProvider.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AddCommunityVoiceRequestVoiceProvider.g.cs @@ -23,6 +23,10 @@ public enum AddCommunityVoiceRequestVoiceProvider /// /// /// + Inworld, + /// + /// + /// Minimax, } @@ -41,6 +45,7 @@ public static string ToValueString(this AddCommunityVoiceRequestVoiceProvider va AddCommunityVoiceRequestVoiceProvider.Cartesia => "cartesia", AddCommunityVoiceRequestVoiceProvider.Elevenlabs => "elevenlabs", AddCommunityVoiceRequestVoiceProvider.FishAudio => "fish_audio", + AddCommunityVoiceRequestVoiceProvider.Inworld => "inworld", AddCommunityVoiceRequestVoiceProvider.Minimax => "minimax", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -55,6 +60,7 @@ public static string ToValueString(this AddCommunityVoiceRequestVoiceProvider va "cartesia" => AddCommunityVoiceRequestVoiceProvider.Cartesia, "elevenlabs" => AddCommunityVoiceRequestVoiceProvider.Elevenlabs, "fish_audio" => AddCommunityVoiceRequestVoiceProvider.FishAudio, + "inworld" => AddCommunityVoiceRequestVoiceProvider.Inworld, "minimax" => AddCommunityVoiceRequestVoiceProvider.Minimax, _ => null, }; diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs index f75be151..2353d157 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.AgentRequestVoiceModel.g.cs @@ -31,6 +31,14 @@ public enum AgentRequestVoiceModel /// /// /// + InworldTts2, + /// + /// + /// + InworldTts2Flash, + /// + /// + /// OpenapiJsonNullSentinelValue2bf936000fe44250987aE5ddb203e464, /// /// @@ -87,6 +95,8 @@ public static string ToValueString(this AgentRequestVoiceModel value) AgentRequestVoiceModel.ElevenMultilingualV2 => "eleven_multilingual_v2", AgentRequestVoiceModel.ElevenV3 => "eleven_v3", AgentRequestVoiceModel.Gpt4oMiniTts => "gpt-4o-mini-tts", + AgentRequestVoiceModel.InworldTts2 => "inworld-tts-2", + AgentRequestVoiceModel.InworldTts2Flash => "inworld-tts-2-flash", AgentRequestVoiceModel.OpenapiJsonNullSentinelValue2bf936000fe44250987aE5ddb203e464 => "openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464", AgentRequestVoiceModel.S1 => "s1", AgentRequestVoiceModel.S2Pro => "s2-pro", @@ -112,6 +122,8 @@ public static string ToValueString(this AgentRequestVoiceModel value) "eleven_multilingual_v2" => AgentRequestVoiceModel.ElevenMultilingualV2, "eleven_v3" => AgentRequestVoiceModel.ElevenV3, "gpt-4o-mini-tts" => AgentRequestVoiceModel.Gpt4oMiniTts, + "inworld-tts-2" => AgentRequestVoiceModel.InworldTts2, + "inworld-tts-2-flash" => AgentRequestVoiceModel.InworldTts2Flash, "openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464" => AgentRequestVoiceModel.OpenapiJsonNullSentinelValue2bf936000fe44250987aE5ddb203e464, "s1" => AgentRequestVoiceModel.S1, "s2-pro" => AgentRequestVoiceModel.S2Pro, diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.Asset.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.Asset.g.cs index 53bfcf1d..d95c9c63 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.Asset.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.Asset.g.cs @@ -17,7 +17,7 @@ public sealed partial class Asset public string? AssetId { get; set; } /// - /// Original file name of the uploaded asset.
+ /// Stored file name. Uploaded audio is normalized to headerless PCM and uses a `.pcm` extension.
/// Example: screenshot.png ///
/// screenshot.png @@ -70,7 +70,7 @@ public sealed partial class Asset /// Example: asset_abc123def456 /// /// - /// Original file name of the uploaded asset.
+ /// Stored file name. Uploaded audio is normalized to headerless PCM and uses a `.pcm` extension.
/// Example: screenshot.png /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs index a6b1b1ad..ca4e2e14 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.BookAppointmentCalTool.g.cs @@ -6,6 +6,7 @@ namespace RetellAI /// /// /// + [global::System.Obsolete("This model marked as deprecated.")] public sealed partial class BookAppointmentCalTool { /// @@ -13,6 +14,7 @@ public sealed partial class BookAppointmentCalTool /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.BookAppointmentCalToolTypeJsonConverter))] + [global::System.Obsolete("This property marked as deprecated.")] public global::RetellAI.BookAppointmentCalToolType Type { get; set; } /// @@ -20,12 +22,14 @@ public sealed partial class BookAppointmentCalTool /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] public required string Name { get; set; } /// /// Describes what the tool does, sometimes can also include information about when to call the tool. /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Obsolete("This property marked as deprecated.")] public string? Description { get; set; } /// @@ -33,6 +37,7 @@ public sealed partial class BookAppointmentCalTool /// [global::System.Text.Json.Serialization.JsonPropertyName("cal_api_key")] [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] public required string CalApiKey { get; set; } /// @@ -41,12 +46,14 @@ public sealed partial class BookAppointmentCalTool [global::System.Text.Json.Serialization.JsonPropertyName("event_type_id")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.OneOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] public required global::RetellAI.OneOf EventTypeId { get; set; } /// /// Timezone to be used when booking appointment, must be in [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Can also be a dynamic variable in the format `{{variable_name}}` that will be resolved at runtime. If not specified, will check if user specified timezone in call, and if not, will use the timezone of the Retell servers. /// [global::System.Text.Json.Serialization.JsonPropertyName("timezone")] + [global::System.Obsolete("This property marked as deprecated.")] public string? Timezone { get; set; } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CRMConfig.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CRMConfig.g.cs index 3c681920..1152e9ea 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CRMConfig.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CRMConfig.g.cs @@ -45,6 +45,12 @@ public sealed partial class CRMConfig [global::System.Text.Json.Serialization.JsonPropertyName("contact_columns_order")] public global::System.Collections.Generic.IList? ContactColumnsOrder { get; set; } + /// + /// Tags available to contacts in this organization. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("contact_tags")] + public global::System.Collections.Generic.IList? ContactTags { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -66,6 +72,9 @@ public sealed partial class CRMConfig /// /// Preferred display order of contact fields, for clients that render contacts as a table. Not used by the API itself. /// + /// + /// Tags available to contacts in this organization. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -75,7 +84,8 @@ public CRMConfig( double? lastSyncTimestamp, global::System.Collections.Generic.IList? customFields, global::System.Collections.Generic.IList? crmAnalysisDataMappings, - global::System.Collections.Generic.IList? contactColumnsOrder) + global::System.Collections.Generic.IList? contactColumnsOrder, + global::System.Collections.Generic.IList? contactTags) { this.OrgId = orgId ?? throw new global::System.ArgumentNullException(nameof(orgId)); this.AppId = appId; @@ -83,6 +93,7 @@ public CRMConfig( this.CustomFields = customFields; this.CrmAnalysisDataMappings = crmAnalysisDataMappings; this.ContactColumnsOrder = contactColumnsOrder; + this.ContactTags = contactTags; } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CallTransport.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CallTransport.g.cs new file mode 100644 index 00000000..74417df0 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CallTransport.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// Which media stack issued the access_token, and therefore where the client signals. The two tokens are indistinguishable, so a client must read this rather than infer it. `gateway` clients address Retell itself; `livekit` clients connect to the returned `url`. Optional only because a server predating the field omits it during a rollout; treat absent as `livekit`.
+ /// Example: gateway + ///
+ public enum CallTransport + { + /// + /// + /// + Gateway, + /// + /// + /// + Livekit, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CallTransportExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CallTransport value) + { + return value switch + { + CallTransport.Gateway => "gateway", + CallTransport.Livekit => "livekit", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CallTransport? ToEnum(string value) + { + return value switch + { + "gateway" => CallTransport.Gateway, + "livekit" => CallTransport.Livekit, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ChatFilter.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ChatFilter.g.cs index 026a37e2..c1b40e88 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ChatFilter.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ChatFilter.g.cs @@ -22,10 +22,11 @@ public sealed partial class ChatFilter public global::RetellAI.AllOf? AgentTag { get; set; } /// - /// + /// Filter by chat ID. /// [global::System.Text.Json.Serialization.JsonPropertyName("chat_id")] - public global::RetellAI.StringFilter? ChatId { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.OneOfJsonConverter))] + public global::RetellAI.OneOf? ChatId { get; set; } /// /// @@ -107,7 +108,9 @@ public sealed partial class ChatFilter /// Filter by agent(s). Agent filters are connected by OR. /// /// - /// + /// + /// Filter by chat ID. + /// /// /// /// @@ -136,7 +139,7 @@ public sealed partial class ChatFilter public ChatFilter( global::System.Collections.Generic.IList? agent, global::RetellAI.AllOf? agentTag, - global::RetellAI.StringFilter? chatId, + global::RetellAI.OneOf? chatId, global::RetellAI.AllOf? chatStatus, global::RetellAI.AllOf? disconnectionReason, global::RetellAI.AllOf? userSentiment, diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs index 6d6472d8..2db242f0 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CheckAvailabilityCalTool.g.cs @@ -6,6 +6,7 @@ namespace RetellAI /// /// /// + [global::System.Obsolete("This model marked as deprecated.")] public sealed partial class CheckAvailabilityCalTool { /// @@ -13,6 +14,7 @@ public sealed partial class CheckAvailabilityCalTool /// [global::System.Text.Json.Serialization.JsonPropertyName("type")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CheckAvailabilityCalToolTypeJsonConverter))] + [global::System.Obsolete("This property marked as deprecated.")] public global::RetellAI.CheckAvailabilityCalToolType Type { get; set; } /// @@ -20,12 +22,14 @@ public sealed partial class CheckAvailabilityCalTool /// [global::System.Text.Json.Serialization.JsonPropertyName("name")] [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] public required string Name { get; set; } /// /// Describes what the tool does, sometimes can also include information about when to call the tool. /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] + [global::System.Obsolete("This property marked as deprecated.")] public string? Description { get; set; } /// @@ -33,6 +37,7 @@ public sealed partial class CheckAvailabilityCalTool /// [global::System.Text.Json.Serialization.JsonPropertyName("cal_api_key")] [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] public required string CalApiKey { get; set; } /// @@ -41,12 +46,14 @@ public sealed partial class CheckAvailabilityCalTool [global::System.Text.Json.Serialization.JsonPropertyName("event_type_id")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.OneOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] + [global::System.Obsolete("This property marked as deprecated.")] public required global::RetellAI.OneOf EventTypeId { get; set; } /// /// Timezone to be used when checking availability, must be in [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Can also be a dynamic variable in the format `{{variable_name}}` that will be resolved at runtime. If not specified, will check if user specified timezone in call, and if not, will use the timezone of the Retell servers. /// [global::System.Text.Json.Serialization.JsonPropertyName("timezone")] + [global::System.Obsolete("This property marked as deprecated.")] public string? Timezone { get; set; } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CloneVoiceRequestVoiceProvider.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CloneVoiceRequestVoiceProvider.g.cs index 5d1914ec..f1ef0751 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CloneVoiceRequestVoiceProvider.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CloneVoiceRequestVoiceProvider.g.cs @@ -23,6 +23,10 @@ public enum CloneVoiceRequestVoiceProvider /// /// /// + Inworld, + /// + /// + /// Minimax, /// /// @@ -45,6 +49,7 @@ public static string ToValueString(this CloneVoiceRequestVoiceProvider value) CloneVoiceRequestVoiceProvider.Cartesia => "cartesia", CloneVoiceRequestVoiceProvider.Elevenlabs => "elevenlabs", CloneVoiceRequestVoiceProvider.FishAudio => "fish_audio", + CloneVoiceRequestVoiceProvider.Inworld => "inworld", CloneVoiceRequestVoiceProvider.Minimax => "minimax", CloneVoiceRequestVoiceProvider.Platform => "platform", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -60,6 +65,7 @@ public static string ToValueString(this CloneVoiceRequestVoiceProvider value) "cartesia" => CloneVoiceRequestVoiceProvider.Cartesia, "elevenlabs" => CloneVoiceRequestVoiceProvider.Elevenlabs, "fish_audio" => CloneVoiceRequestVoiceProvider.FishAudio, + "inworld" => CloneVoiceRequestVoiceProvider.Inworld, "minimax" => CloneVoiceRequestVoiceProvider.Minimax, "platform" => CloneVoiceRequestVoiceProvider.Platform, _ => null, diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.Contact.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.Contact.g.cs index aa20cd1b..d1eea092 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.Contact.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.Contact.g.cs @@ -53,6 +53,12 @@ public sealed partial class Contact [global::System.Text.Json.Serialization.JsonPropertyName("external_id")] public string? ExternalId { get; set; } + /// + /// Tags assigned to the contact. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + /// /// Custom fields defined in CRM config. /// @@ -117,6 +123,9 @@ public sealed partial class Contact /// /// CRM record ID from the external provider. /// + /// + /// Tags assigned to the contact. + /// /// /// Custom fields defined in CRM config. /// @@ -141,6 +150,7 @@ public Contact( string? lastName, bool? doNotCall, string? externalId, + global::System.Collections.Generic.IList? tags, object? customFields, double? conversationCount, double? lastConversationTimestamp, @@ -153,6 +163,7 @@ public Contact( this.LastName = lastName; this.DoNotCall = doNotCall; this.ExternalId = externalId; + this.Tags = tags; this.CustomFields = customFields; this.ConversationCount = conversationCount; this.LastConversationTimestamp = lastConversationTimestamp; diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ContactFilter.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ContactFilter.g.cs index e0addce5..df6874d3 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ContactFilter.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ContactFilter.g.cs @@ -33,6 +33,12 @@ public sealed partial class ContactFilter [global::System.Text.Json.Serialization.JsonPropertyName("do_not_call")] public global::RetellAI.BooleanFilter? DoNotCall { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::RetellAI.EnumFilter? Tags { get; set; } + /// /// Filter by when the contact was last spoken to, in epoch milliseconds. /// @@ -61,6 +67,7 @@ public sealed partial class ContactFilter /// Filter by the record id in the connected CRM. Use a `present` filter to separate synced from unsynced contacts. /// /// + /// /// /// Filter by when the contact was last spoken to, in epoch milliseconds. /// @@ -75,6 +82,7 @@ public ContactFilter( global::RetellAI.StringFilter? phoneNumber, global::RetellAI.OneOf? externalId, global::RetellAI.BooleanFilter? doNotCall, + global::RetellAI.EnumFilter? tags, global::RetellAI.OneOf? lastConversationTimestamp, global::System.Collections.Generic.IList? customFields) { @@ -82,6 +90,7 @@ public ContactFilter( this.PhoneNumber = phoneNumber; this.ExternalId = externalId; this.DoNotCall = doNotCall; + this.Tags = tags; this.LastConversationTimestamp = lastConversationTimestamp; this.CustomFields = customFields; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowComponent.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowComponent.g.cs index d142523a..a63cd101 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowComponent.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowComponent.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace RetellAI diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowVariant2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowVariant2.g.cs index dc751a62..4c2fb101 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowVariant2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.ConversationFlowVariant2.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace RetellAI diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.Json.g.cs new file mode 100644 index 00000000..b960d397 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateAssetRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateAssetRequest), + jsonSerializerContext) as global::RetellAI.CreateAssetRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetRequest? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateAssetRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateAssetRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateAssetRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.g.cs new file mode 100644 index 00000000..98d57004 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetRequest.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateAssetRequest + { + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file")] + [global::System.Text.Json.Serialization.JsonRequired] + public required byte[] File { get; set; } + + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filename")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Filename { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateAssetRequest( + byte[] file, + string filename) + { + this.File = file ?? throw new global::System.ArgumentNullException(nameof(file)); + this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); + } + + /// + /// Initializes a new instance of the class. + /// + public CreateAssetRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.Json.g.cs new file mode 100644 index 00000000..a205bad2 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateAssetResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateAssetResponse), + jsonSerializerContext) as global::RetellAI.CreateAssetResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateAssetResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateAssetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateAssetResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.g.cs new file mode 100644 index 00000000..e075e354 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateAssetResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateAssetResponseStatusJsonConverter))] + public global::RetellAI.CreateAssetResponseStatus? Status { get; set; } + + /// + /// Example: Invalid request format, please check API reference. + /// + /// Invalid request format, please check API reference. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Invalid request format, please check API reference. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateAssetResponse( + global::RetellAI.CreateAssetResponseStatus? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateAssetResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.Json.g.cs new file mode 100644 index 00000000..a6cead1d --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateAssetResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateAssetResponse2), + jsonSerializerContext) as global::RetellAI.CreateAssetResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateAssetResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateAssetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateAssetResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.g.cs new file mode 100644 index 00000000..7f53f160 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateAssetResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateAssetResponseStatus2JsonConverter))] + public global::RetellAI.CreateAssetResponseStatus2? Status { get; set; } + + /// + /// Example: API key is missing or invalid. + /// + /// API key is missing or invalid. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: API key is missing or invalid. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateAssetResponse2( + global::RetellAI.CreateAssetResponseStatus2? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateAssetResponse2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.Json.g.cs new file mode 100644 index 00000000..cf8e508a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateAssetResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateAssetResponse3), + jsonSerializerContext) as global::RetellAI.CreateAssetResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse3? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateAssetResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateAssetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateAssetResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.g.cs new file mode 100644 index 00000000..bbb83cdd --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse3.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateAssetResponse3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateAssetResponseStatus3JsonConverter))] + public global::RetellAI.CreateAssetResponseStatus3? Status { get; set; } + + /// + /// Example: Account rate limited, please throttle your requests. + /// + /// Account rate limited, please throttle your requests. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Account rate limited, please throttle your requests. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateAssetResponse3( + global::RetellAI.CreateAssetResponseStatus3? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateAssetResponse3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.Json.g.cs new file mode 100644 index 00000000..d31be0a0 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateAssetResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateAssetResponse4), + jsonSerializerContext) as global::RetellAI.CreateAssetResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateAssetResponse4? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateAssetResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateAssetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateAssetResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.g.cs new file mode 100644 index 00000000..bdef4379 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponse4.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateAssetResponse4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateAssetResponseStatus4JsonConverter))] + public global::RetellAI.CreateAssetResponseStatus4? Status { get; set; } + + /// + /// Example: An unexpected server error occurred. + /// + /// An unexpected server error occurred. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: An unexpected server error occurred. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateAssetResponse4( + global::RetellAI.CreateAssetResponseStatus4? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateAssetResponse4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus.g.cs new file mode 100644 index 00000000..334d1708 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateAssetResponseStatus + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateAssetResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateAssetResponseStatus value) + { + return value switch + { + CreateAssetResponseStatus.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateAssetResponseStatus? ToEnum(string value) + { + return value switch + { + "error" => CreateAssetResponseStatus.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus2.g.cs new file mode 100644 index 00000000..ecf593b0 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateAssetResponseStatus2 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateAssetResponseStatus2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateAssetResponseStatus2 value) + { + return value switch + { + CreateAssetResponseStatus2.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateAssetResponseStatus2? ToEnum(string value) + { + return value switch + { + "error" => CreateAssetResponseStatus2.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus3.g.cs new file mode 100644 index 00000000..60c008dd --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus3.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateAssetResponseStatus3 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateAssetResponseStatus3Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateAssetResponseStatus3 value) + { + return value switch + { + CreateAssetResponseStatus3.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateAssetResponseStatus3? ToEnum(string value) + { + return value switch + { + "error" => CreateAssetResponseStatus3.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus4.g.cs new file mode 100644 index 00000000..87b92767 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateAssetResponseStatus4.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateAssetResponseStatus4 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateAssetResponseStatus4Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateAssetResponseStatus4 value) + { + return value switch + { + CreateAssetResponseStatus4.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateAssetResponseStatus4? ToEnum(string value) + { + return value switch + { + "error" => CreateAssetResponseStatus4.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.Json.g.cs new file mode 100644 index 00000000..02421ac2 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateContactImportRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateContactImportRequest), + jsonSerializerContext) as global::RetellAI.CreateContactImportRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportRequest? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateContactImportRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateContactImportRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateContactImportRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.g.cs new file mode 100644 index 00000000..9aafe68a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportRequest.g.cs @@ -0,0 +1,81 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateContactImportRequest + { + /// + /// Id returned by upload-contact-import-file. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("upload_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string UploadId { get; set; } + + /// + /// CSV headers mapped to contact fields. field_name is the contact field and external_field_name is the CSV header. Exactly one mapping must target phone_number. Unmapped columns are ignored. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("column_mapping")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList ColumnMapping { get; set; } + + /// + /// Country for parsing phone numbers without a country code. Defaults to US. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("default_country")] + public string? DefaultCountry { get; set; } + + /// + /// Tags added to every contact in this import. Existing tags are preserved. Omit to leave tags unchanged. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Id returned by upload-contact-import-file. + /// + /// + /// CSV headers mapped to contact fields. field_name is the contact field and external_field_name is the CSV header. Exactly one mapping must target phone_number. Unmapped columns are ignored. + /// + /// + /// Country for parsing phone numbers without a country code. Defaults to US. + /// + /// + /// Tags added to every contact in this import. Existing tags are preserved. Omit to leave tags unchanged. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateContactImportRequest( + string uploadId, + global::System.Collections.Generic.IList columnMapping, + string? defaultCountry, + global::System.Collections.Generic.IList? tags) + { + this.UploadId = uploadId ?? throw new global::System.ArgumentNullException(nameof(uploadId)); + this.ColumnMapping = columnMapping ?? throw new global::System.ArgumentNullException(nameof(columnMapping)); + this.DefaultCountry = defaultCountry; + this.Tags = tags; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateContactImportRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.Json.g.cs new file mode 100644 index 00000000..2980bf32 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateContactImportResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateContactImportResponse), + jsonSerializerContext) as global::RetellAI.CreateContactImportResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateContactImportResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateContactImportResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateContactImportResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.g.cs new file mode 100644 index 00000000..2b24442f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateContactImportResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateContactImportResponseStatusJsonConverter))] + public global::RetellAI.CreateContactImportResponseStatus? Status { get; set; } + + /// + /// Example: Invalid request format, please check API reference. + /// + /// Invalid request format, please check API reference. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Invalid request format, please check API reference. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateContactImportResponse( + global::RetellAI.CreateContactImportResponseStatus? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateContactImportResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.Json.g.cs new file mode 100644 index 00000000..b0c6257a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateContactImportResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateContactImportResponse2), + jsonSerializerContext) as global::RetellAI.CreateContactImportResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateContactImportResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateContactImportResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateContactImportResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.g.cs new file mode 100644 index 00000000..a4e8b179 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateContactImportResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateContactImportResponseStatus2JsonConverter))] + public global::RetellAI.CreateContactImportResponseStatus2? Status { get; set; } + + /// + /// Example: API key is missing or invalid. + /// + /// API key is missing or invalid. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: API key is missing or invalid. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateContactImportResponse2( + global::RetellAI.CreateContactImportResponseStatus2? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateContactImportResponse2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.Json.g.cs new file mode 100644 index 00000000..23c55295 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateContactImportResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateContactImportResponse3), + jsonSerializerContext) as global::RetellAI.CreateContactImportResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse3? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateContactImportResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateContactImportResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateContactImportResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.g.cs new file mode 100644 index 00000000..358dcca1 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse3.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateContactImportResponse3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateContactImportResponseStatus3JsonConverter))] + public global::RetellAI.CreateContactImportResponseStatus3? Status { get; set; } + + /// + /// Example: Resource update conflict. + /// + /// Resource update conflict. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Resource update conflict. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateContactImportResponse3( + global::RetellAI.CreateContactImportResponseStatus3? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateContactImportResponse3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.Json.g.cs new file mode 100644 index 00000000..c829e1e8 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateContactImportResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateContactImportResponse4), + jsonSerializerContext) as global::RetellAI.CreateContactImportResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse4? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateContactImportResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateContactImportResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateContactImportResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.g.cs new file mode 100644 index 00000000..a9c6a081 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse4.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateContactImportResponse4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateContactImportResponseStatus4JsonConverter))] + public global::RetellAI.CreateContactImportResponseStatus4? Status { get; set; } + + /// + /// Example: Account rate limited, please throttle your requests. + /// + /// Account rate limited, please throttle your requests. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Account rate limited, please throttle your requests. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateContactImportResponse4( + global::RetellAI.CreateContactImportResponseStatus4? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateContactImportResponse4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.Json.g.cs new file mode 100644 index 00000000..9716989f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class CreateContactImportResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.CreateContactImportResponse5), + jsonSerializerContext) as global::RetellAI.CreateContactImportResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.CreateContactImportResponse5? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.CreateContactImportResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.CreateContactImportResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.CreateContactImportResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.g.cs new file mode 100644 index 00000000..e5d70410 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponse5.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class CreateContactImportResponse5 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CreateContactImportResponseStatus5JsonConverter))] + public global::RetellAI.CreateContactImportResponseStatus5? Status { get; set; } + + /// + /// Example: An unexpected server error occurred. + /// + /// An unexpected server error occurred. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: An unexpected server error occurred. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public CreateContactImportResponse5( + global::RetellAI.CreateContactImportResponseStatus5? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public CreateContactImportResponse5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus.g.cs new file mode 100644 index 00000000..8b817f11 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateContactImportResponseStatus + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateContactImportResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateContactImportResponseStatus value) + { + return value switch + { + CreateContactImportResponseStatus.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateContactImportResponseStatus? ToEnum(string value) + { + return value switch + { + "error" => CreateContactImportResponseStatus.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus2.g.cs new file mode 100644 index 00000000..6ac304a0 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateContactImportResponseStatus2 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateContactImportResponseStatus2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateContactImportResponseStatus2 value) + { + return value switch + { + CreateContactImportResponseStatus2.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateContactImportResponseStatus2? ToEnum(string value) + { + return value switch + { + "error" => CreateContactImportResponseStatus2.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus3.g.cs new file mode 100644 index 00000000..4bbb7163 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus3.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateContactImportResponseStatus3 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateContactImportResponseStatus3Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateContactImportResponseStatus3 value) + { + return value switch + { + CreateContactImportResponseStatus3.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateContactImportResponseStatus3? ToEnum(string value) + { + return value switch + { + "error" => CreateContactImportResponseStatus3.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus4.g.cs new file mode 100644 index 00000000..f5b21108 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus4.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateContactImportResponseStatus4 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateContactImportResponseStatus4Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateContactImportResponseStatus4 value) + { + return value switch + { + CreateContactImportResponseStatus4.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateContactImportResponseStatus4? ToEnum(string value) + { + return value switch + { + "error" => CreateContactImportResponseStatus4.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus5.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus5.g.cs new file mode 100644 index 00000000..15b968b2 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactImportResponseStatus5.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum CreateContactImportResponseStatus5 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class CreateContactImportResponseStatus5Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this CreateContactImportResponseStatus5 value) + { + return value switch + { + CreateContactImportResponseStatus5.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static CreateContactImportResponseStatus5? ToEnum(string value) + { + return value switch + { + "error" => CreateContactImportResponseStatus5.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactRequest.g.cs index 62875265..af09285f 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.CreateContactRequest.g.cs @@ -33,6 +33,12 @@ public sealed partial class CreateContactRequest [global::System.Text.Json.Serialization.JsonPropertyName("do_not_call")] public bool? DoNotCall { get; set; } + /// + /// Full set of tags for the contact. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -58,6 +64,9 @@ public sealed partial class CreateContactRequest /// Last name of the contact. /// /// + /// + /// Full set of tags for the contact. + /// /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -69,12 +78,14 @@ public CreateContactRequest( string? firstName, string? lastName, bool? doNotCall, + global::System.Collections.Generic.IList? tags, object? customFields) { this.PhoneNumber = phoneNumber ?? throw new global::System.ArgumentNullException(nameof(phoneNumber)); this.FirstName = firstName; this.LastName = lastName; this.DoNotCall = doNotCall; + this.Tags = tags; this.CustomFields = customFields; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.Json.g.cs new file mode 100644 index 00000000..f89605f7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class GetContactImportResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.GetContactImportResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.GetContactImportResponse), + jsonSerializerContext) as global::RetellAI.GetContactImportResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.GetContactImportResponse? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.GetContactImportResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.GetContactImportResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.GetContactImportResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.g.cs new file mode 100644 index 00000000..dc64ad51 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class GetContactImportResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.GetContactImportResponseStatusJsonConverter))] + public global::RetellAI.GetContactImportResponseStatus? Status { get; set; } + + /// + /// Example: API key is missing or invalid. + /// + /// API key is missing or invalid. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: API key is missing or invalid. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetContactImportResponse( + global::RetellAI.GetContactImportResponseStatus? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public GetContactImportResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.Json.g.cs new file mode 100644 index 00000000..afa8879c --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class GetContactImportResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.GetContactImportResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.GetContactImportResponse2), + jsonSerializerContext) as global::RetellAI.GetContactImportResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.GetContactImportResponse2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.GetContactImportResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.GetContactImportResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.GetContactImportResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.g.cs new file mode 100644 index 00000000..5cdefa5a --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class GetContactImportResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.GetContactImportResponseStatus2JsonConverter))] + public global::RetellAI.GetContactImportResponseStatus2? Status { get; set; } + + /// + /// Example: Account rate limited, please throttle your requests. + /// + /// Account rate limited, please throttle your requests. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Account rate limited, please throttle your requests. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetContactImportResponse2( + global::RetellAI.GetContactImportResponseStatus2? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public GetContactImportResponse2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.Json.g.cs new file mode 100644 index 00000000..254a78a2 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class GetContactImportResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.GetContactImportResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.GetContactImportResponse3), + jsonSerializerContext) as global::RetellAI.GetContactImportResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.GetContactImportResponse3? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.GetContactImportResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.GetContactImportResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.GetContactImportResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.g.cs new file mode 100644 index 00000000..64d46516 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponse3.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class GetContactImportResponse3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.GetContactImportResponseStatus3JsonConverter))] + public global::RetellAI.GetContactImportResponseStatus3? Status { get; set; } + + /// + /// Example: An unexpected server error occurred. + /// + /// An unexpected server error occurred. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: An unexpected server error occurred. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GetContactImportResponse3( + global::RetellAI.GetContactImportResponseStatus3? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public GetContactImportResponse3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus.g.cs new file mode 100644 index 00000000..ec6545fc --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum GetContactImportResponseStatus + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GetContactImportResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GetContactImportResponseStatus value) + { + return value switch + { + GetContactImportResponseStatus.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GetContactImportResponseStatus? ToEnum(string value) + { + return value switch + { + "error" => GetContactImportResponseStatus.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus2.g.cs new file mode 100644 index 00000000..61e72d14 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum GetContactImportResponseStatus2 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GetContactImportResponseStatus2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GetContactImportResponseStatus2 value) + { + return value switch + { + GetContactImportResponseStatus2.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GetContactImportResponseStatus2? ToEnum(string value) + { + return value switch + { + "error" => GetContactImportResponseStatus2.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus3.g.cs new file mode 100644 index 00000000..f3b8432f --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.GetContactImportResponseStatus3.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum GetContactImportResponseStatus3 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GetContactImportResponseStatus3Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GetContactImportResponseStatus3 value) + { + return value switch + { + GetContactImportResponseStatus3.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GetContactImportResponseStatus3? ToEnum(string value) + { + return value switch + { + "error" => GetContactImportResponseStatus3.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.IceServer.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.IceServer.Json.g.cs new file mode 100644 index 00000000..01a82017 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.IceServer.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class IceServer + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.IceServer? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.IceServer), + jsonSerializerContext) as global::RetellAI.IceServer; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.IceServer? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.IceServer? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.IceServer), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.IceServer; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.IceServer.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.IceServer.g.cs new file mode 100644 index 00000000..b9aef8cb --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.IceServer.g.cs @@ -0,0 +1,67 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class IceServer + { + /// + /// Example: stun:stun.l.google.com:19302 + /// + /// stun:stun.l.google.com:19302 + [global::System.Text.Json.Serialization.JsonPropertyName("urls")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.OneOfJsonConverter>))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::RetellAI.OneOf> Urls { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("username")] + public string? Username { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("credential")] + public string? Credential { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// Example: stun:stun.l.google.com:19302 + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public IceServer( + global::RetellAI.OneOf> urls, + string? username, + string? credential) + { + this.Urls = urls; + this.Username = username; + this.Credential = credential; + } + + /// + /// Initializes a new instance of the class. + /// + public IceServer() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs index 66e4e818..b124b809 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseRequest.g.cs @@ -38,7 +38,7 @@ public sealed partial class KnowledgeBaseRequest public global::System.Collections.Generic.IList? KnowledgeBaseUrls { get; set; } /// - /// Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours.
+ /// Whether to refresh eligible URL and connected-file sources automatically on a daily cadence.
/// Example: true ///
/// true @@ -85,7 +85,7 @@ public sealed partial class KnowledgeBaseRequest /// Example: [https://www.example.com, https://www.retellai.com] /// /// - /// Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours.
+ /// Whether to refresh eligible URL and connected-file sources automatically on a daily cadence.
/// Example: true /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponse.g.cs index f8476f78..4bba6214 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponse.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponse.g.cs @@ -37,9 +37,9 @@ public sealed partial class KnowledgeBaseResponse /// - `refreshing_in_progress`: An existing knowledge base is being
/// updated. This includes indexing newly added sources or running a
/// manual or automatic refresh that re-indexes URLs, Google Drive
- /// files, and pages from auto-crawling paths. Previously indexed
- /// sources remain available during the update, and the source list
- /// may change when it finishes.
+ /// files, Microsoft OneDrive files, and pages from auto-crawling
+ /// paths. Previously indexed sources remain available during the
+ /// update, and the source list may change when it finishes.
/// Example: in_progress ///
/// in_progress @@ -71,7 +71,7 @@ public sealed partial class KnowledgeBaseResponse public global::System.Collections.Generic.IList>? KnowledgeBaseSources { get; set; } /// - /// Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours.
+ /// Whether eligible URL and connected-file sources refresh automatically on a daily cadence.
/// Example: true ///
/// true @@ -114,9 +114,9 @@ public sealed partial class KnowledgeBaseResponse /// - `refreshing_in_progress`: An existing knowledge base is being
/// updated. This includes indexing newly added sources or running a
/// manual or automatic refresh that re-indexes URLs, Google Drive
- /// files, and pages from auto-crawling paths. Previously indexed
- /// sources remain available during the update, and the source list
- /// may change when it finishes.
+ /// files, Microsoft OneDrive files, and pages from auto-crawling
+ /// paths. Previously indexed sources remain available during the
+ /// update, and the source list may change when it finishes.
/// Example: in_progress /// /// @@ -131,7 +131,7 @@ public sealed partial class KnowledgeBaseResponse /// Sources of the knowledge base. Will be populated after the processing is done (when status is "complete"). /// /// - /// Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours.
+ /// Whether eligible URL and connected-file sources refresh automatically on a daily cadence.
/// Example: true /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponseStatus.g.cs index 8e991853..cdb0b6ea 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponseStatus.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.KnowledgeBaseResponseStatus.g.cs @@ -14,9 +14,9 @@ namespace RetellAI /// - `refreshing_in_progress`: An existing knowledge base is being
/// updated. This includes indexing newly added sources or running a
/// manual or automatic refresh that re-indexes URLs, Google Drive
- /// files, and pages from auto-crawling paths. Previously indexed
- /// sources remain available during the update, and the source list
- /// may change when it finishes.
+ /// files, Microsoft OneDrive files, and pages from auto-crawling
+ /// paths. Previously indexed sources remain available during the
+ /// update, and the source list may change when it finishes.
/// Example: in_progress ///
public enum KnowledgeBaseResponseStatus diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.Json.g.cs new file mode 100644 index 00000000..d39897a5 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class RepairAgentResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.RepairAgentResponse2), + jsonSerializerContext) as global::RetellAI.RepairAgentResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.RepairAgentResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.RepairAgentResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.RepairAgentResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.g.cs new file mode 100644 index 00000000..7a21e5b4 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class RepairAgentResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.RepairAgentResponseStatusJsonConverter))] + public global::RetellAI.RepairAgentResponseStatus? Status { get; set; } + + /// + /// Example: Invalid request format, please check API reference. + /// + /// Invalid request format, please check API reference. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Invalid request format, please check API reference. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RepairAgentResponse2( + global::RetellAI.RepairAgentResponseStatus? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public RepairAgentResponse2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.Json.g.cs new file mode 100644 index 00000000..932897c4 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class RepairAgentResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.RepairAgentResponse3), + jsonSerializerContext) as global::RetellAI.RepairAgentResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse3? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.RepairAgentResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.RepairAgentResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.RepairAgentResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.g.cs new file mode 100644 index 00000000..d689df54 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse3.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class RepairAgentResponse3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.RepairAgentResponseStatus2JsonConverter))] + public global::RetellAI.RepairAgentResponseStatus2? Status { get; set; } + + /// + /// Example: API key is missing or invalid. + /// + /// API key is missing or invalid. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: API key is missing or invalid. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RepairAgentResponse3( + global::RetellAI.RepairAgentResponseStatus2? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public RepairAgentResponse3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.Json.g.cs new file mode 100644 index 00000000..6b146516 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class RepairAgentResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.RepairAgentResponse4), + jsonSerializerContext) as global::RetellAI.RepairAgentResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse4? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.RepairAgentResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.RepairAgentResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.RepairAgentResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.g.cs new file mode 100644 index 00000000..fe4c9648 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse4.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class RepairAgentResponse4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.RepairAgentResponseStatus3JsonConverter))] + public global::RetellAI.RepairAgentResponseStatus3? Status { get; set; } + + /// + /// Example: Resource update conflict. + /// + /// Resource update conflict. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Resource update conflict. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RepairAgentResponse4( + global::RetellAI.RepairAgentResponseStatus3? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public RepairAgentResponse4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.Json.g.cs new file mode 100644 index 00000000..4b718697 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class RepairAgentResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.RepairAgentResponse5), + jsonSerializerContext) as global::RetellAI.RepairAgentResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse5? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.RepairAgentResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.RepairAgentResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.RepairAgentResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.g.cs new file mode 100644 index 00000000..db6bb217 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse5.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class RepairAgentResponse5 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.RepairAgentResponseStatus4JsonConverter))] + public global::RetellAI.RepairAgentResponseStatus4? Status { get; set; } + + /// + /// Example: Cannot find requested asset under given api key. + /// + /// Cannot find requested asset under given api key. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Cannot find requested asset under given api key. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RepairAgentResponse5( + global::RetellAI.RepairAgentResponseStatus4? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public RepairAgentResponse5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.Json.g.cs new file mode 100644 index 00000000..24ada581 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class RepairAgentResponse6 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse6? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.RepairAgentResponse6), + jsonSerializerContext) as global::RetellAI.RepairAgentResponse6; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.RepairAgentResponse6? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.RepairAgentResponse6? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.RepairAgentResponse6), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.RepairAgentResponse6; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.g.cs new file mode 100644 index 00000000..3e66dd4e --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponse6.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class RepairAgentResponse6 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.RepairAgentResponseStatus5JsonConverter))] + public global::RetellAI.RepairAgentResponseStatus5? Status { get; set; } + + /// + /// Example: An unexpected server error occurred. + /// + /// An unexpected server error occurred. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: An unexpected server error occurred. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RepairAgentResponse6( + global::RetellAI.RepairAgentResponseStatus5? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public RepairAgentResponse6() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus.g.cs new file mode 100644 index 00000000..01b30f45 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum RepairAgentResponseStatus + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepairAgentResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepairAgentResponseStatus value) + { + return value switch + { + RepairAgentResponseStatus.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepairAgentResponseStatus? ToEnum(string value) + { + return value switch + { + "error" => RepairAgentResponseStatus.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus2.g.cs new file mode 100644 index 00000000..f5ddfb40 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum RepairAgentResponseStatus2 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepairAgentResponseStatus2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepairAgentResponseStatus2 value) + { + return value switch + { + RepairAgentResponseStatus2.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepairAgentResponseStatus2? ToEnum(string value) + { + return value switch + { + "error" => RepairAgentResponseStatus2.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus3.g.cs new file mode 100644 index 00000000..a94f80b1 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus3.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum RepairAgentResponseStatus3 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepairAgentResponseStatus3Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepairAgentResponseStatus3 value) + { + return value switch + { + RepairAgentResponseStatus3.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepairAgentResponseStatus3? ToEnum(string value) + { + return value switch + { + "error" => RepairAgentResponseStatus3.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus4.g.cs new file mode 100644 index 00000000..6f14a3e9 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus4.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum RepairAgentResponseStatus4 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepairAgentResponseStatus4Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepairAgentResponseStatus4 value) + { + return value switch + { + RepairAgentResponseStatus4.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepairAgentResponseStatus4? ToEnum(string value) + { + return value switch + { + "error" => RepairAgentResponseStatus4.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus5.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus5.g.cs new file mode 100644 index 00000000..866d6958 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RepairAgentResponseStatus5.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum RepairAgentResponseStatus5 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class RepairAgentResponseStatus5Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this RepairAgentResponseStatus5 value) + { + return value switch + { + RepairAgentResponseStatus5.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static RepairAgentResponseStatus5? ToEnum(string value) + { + return value switch + { + "error" => RepairAgentResponseStatus5.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.RetellLlmRequestVariant2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.RetellLlmRequestVariant2.g.cs index 11f8b27e..d57fa902 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.RetellLlmRequestVariant2.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.RetellLlmRequestVariant2.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace RetellAI @@ -30,9 +32,9 @@ public sealed partial class RetellLlmRequestVariant2 /// /// States of the LLM. This is to help reduce prompt length and tool choices when the call can be broken into distinct states. With shorter prompts and less tools, the LLM can better focus and follow the rules, minimizing hallucination. If this field is not set, the agent would only have general prompt and general tools (essentially one state).
- /// Example: [{"name":"information_collection","state_prompt":"You will follow the steps below to collect information...","edges":[{"destination_state_name":"appointment_booking","description":"Transition to book an appointment."}],"tools":[{"type":"transfer_call","name":"transfer_to_support","description":"Transfer to the support team.","transfer_destination":{"type":"predefined","number":"16175551212","ignore_e164_validation":false},"transfer_option":{"type":"cold_transfer","show_transferee_as_caller":false}}]}, {"name":"appointment_booking","state_prompt":"You will follow the steps below to book an appointment...","tools":[{"type":"book_appointment_cal","name":"book_appointment","description":"Book an annual check up.","cal_api_key":"cal_live_xxxxxxxxxxxx","event_type_id":60444,"timezone":"America/Los_Angeles"}]}] + /// Example: [{"name":"information_collection","state_prompt":"You will follow the steps below to collect information...","edges":[{"destination_state_name":"appointment_booking","description":"Transition to book an appointment."}],"tools":[{"type":"transfer_call","name":"transfer_to_support","description":"Transfer to the support team.","transfer_destination":{"type":"predefined","number":"16175551212","ignore_e164_validation":false},"transfer_option":{"type":"cold_transfer","show_transferee_as_caller":false}}]}, {"name":"appointment_booking","state_prompt":"You will follow the steps below to book an appointment...","tools":[{"type":"custom","name":"book_appointment","description":"Book an annual check up.","url":"https://api.example.com/book-appointment","method":"POST"}]}] ///
- /// [{"name":"information_collection","state_prompt":"You will follow the steps below to collect information...","edges":[{"destination_state_name":"appointment_booking","description":"Transition to book an appointment."}],"tools":[{"type":"transfer_call","name":"transfer_to_support","description":"Transfer to the support team.","transfer_destination":{"type":"predefined","number":"16175551212","ignore_e164_validation":false},"transfer_option":{"type":"cold_transfer","show_transferee_as_caller":false}}]}, {"name":"appointment_booking","state_prompt":"You will follow the steps below to book an appointment...","tools":[{"type":"book_appointment_cal","name":"book_appointment","description":"Book an annual check up.","cal_api_key":"cal_live_xxxxxxxxxxxx","event_type_id":60444,"timezone":"America/Los_Angeles"}]}] + /// [{"name":"information_collection","state_prompt":"You will follow the steps below to collect information...","edges":[{"destination_state_name":"appointment_booking","description":"Transition to book an appointment."}],"tools":[{"type":"transfer_call","name":"transfer_to_support","description":"Transfer to the support team.","transfer_destination":{"type":"predefined","number":"16175551212","ignore_e164_validation":false},"transfer_option":{"type":"cold_transfer","show_transferee_as_caller":false}}]}, {"name":"appointment_booking","state_prompt":"You will follow the steps below to book an appointment...","tools":[{"type":"custom","name":"book_appointment","description":"Book an annual check up.","url":"https://api.example.com/book-appointment","method":"POST"}]}] [global::System.Text.Json.Serialization.JsonPropertyName("states")] public global::System.Collections.Generic.IList? States { get; set; } @@ -89,7 +91,7 @@ public sealed partial class RetellLlmRequestVariant2 /// /// /// States of the LLM. This is to help reduce prompt length and tool choices when the call can be broken into distinct states. With shorter prompts and less tools, the LLM can better focus and follow the rules, minimizing hallucination. If this field is not set, the agent would only have general prompt and general tools (essentially one state).
- /// Example: [{"name":"information_collection","state_prompt":"You will follow the steps below to collect information...","edges":[{"destination_state_name":"appointment_booking","description":"Transition to book an appointment."}],"tools":[{"type":"transfer_call","name":"transfer_to_support","description":"Transfer to the support team.","transfer_destination":{"type":"predefined","number":"16175551212","ignore_e164_validation":false},"transfer_option":{"type":"cold_transfer","show_transferee_as_caller":false}}]}, {"name":"appointment_booking","state_prompt":"You will follow the steps below to book an appointment...","tools":[{"type":"book_appointment_cal","name":"book_appointment","description":"Book an annual check up.","cal_api_key":"cal_live_xxxxxxxxxxxx","event_type_id":60444,"timezone":"America/Los_Angeles"}]}] + /// Example: [{"name":"information_collection","state_prompt":"You will follow the steps below to collect information...","edges":[{"destination_state_name":"appointment_booking","description":"Transition to book an appointment."}],"tools":[{"type":"transfer_call","name":"transfer_to_support","description":"Transfer to the support team.","transfer_destination":{"type":"predefined","number":"16175551212","ignore_e164_validation":false},"transfer_option":{"type":"cold_transfer","show_transferee_as_caller":false}}]}, {"name":"appointment_booking","state_prompt":"You will follow the steps below to book an appointment...","tools":[{"type":"custom","name":"book_appointment","description":"Book an annual check up.","url":"https://api.example.com/book-appointment","method":"POST"}]}] /// /// /// Name of the starting state. Required if states is not empty.
diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.SearchCommunityVoiceRequestVoiceProvider.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.SearchCommunityVoiceRequestVoiceProvider.g.cs index b5f3de33..153612a4 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.SearchCommunityVoiceRequestVoiceProvider.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.SearchCommunityVoiceRequestVoiceProvider.g.cs @@ -23,6 +23,10 @@ public enum SearchCommunityVoiceRequestVoiceProvider /// /// /// + Inworld, + /// + /// + /// Minimax, } @@ -41,6 +45,7 @@ public static string ToValueString(this SearchCommunityVoiceRequestVoiceProvider SearchCommunityVoiceRequestVoiceProvider.Cartesia => "cartesia", SearchCommunityVoiceRequestVoiceProvider.Elevenlabs => "elevenlabs", SearchCommunityVoiceRequestVoiceProvider.FishAudio => "fish_audio", + SearchCommunityVoiceRequestVoiceProvider.Inworld => "inworld", SearchCommunityVoiceRequestVoiceProvider.Minimax => "minimax", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; @@ -55,6 +60,7 @@ public static string ToValueString(this SearchCommunityVoiceRequestVoiceProvider "cartesia" => SearchCommunityVoiceRequestVoiceProvider.Cartesia, "elevenlabs" => SearchCommunityVoiceRequestVoiceProvider.Elevenlabs, "fish_audio" => SearchCommunityVoiceRequestVoiceProvider.FishAudio, + "inworld" => SearchCommunityVoiceRequestVoiceProvider.Inworld, "minimax" => SearchCommunityVoiceRequestVoiceProvider.Minimax, _ => null, }; diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs index f2054666..8938b6cf 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.State.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace RetellAI diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.SubagentNodeVariant3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.SubagentNodeVariant3.g.cs index 546f4bc2..f4408827 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.SubagentNodeVariant3.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.SubagentNodeVariant3.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace RetellAI diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UpdateContactRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UpdateContactRequest.g.cs index aae9a81e..23326a79 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.UpdateContactRequest.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UpdateContactRequest.g.cs @@ -26,6 +26,12 @@ public sealed partial class UpdateContactRequest [global::System.Text.Json.Serialization.JsonPropertyName("do_not_call")] public bool? DoNotCall { get; set; } + /// + /// Full replacement set of tags for the contact. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tags")] + public global::System.Collections.Generic.IList? Tags { get; set; } + /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -48,6 +54,9 @@ public sealed partial class UpdateContactRequest /// Last name of the contact. /// /// + /// + /// Full replacement set of tags for the contact. + /// /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -58,11 +67,13 @@ public UpdateContactRequest( string? firstName, string? lastName, bool? doNotCall, + global::System.Collections.Generic.IList? tags, object? customFields) { this.FirstName = firstName; this.LastName = lastName; this.DoNotCall = doNotCall; + this.Tags = tags; this.CustomFields = customFields; } diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.Json.g.cs new file mode 100644 index 00000000..7400bc3d --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class UploadContactImportFileRequest + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.UploadContactImportFileRequest), + jsonSerializerContext) as global::RetellAI.UploadContactImportFileRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileRequest? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.UploadContactImportFileRequest? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.UploadContactImportFileRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.UploadContactImportFileRequest; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.g.cs new file mode 100644 index 00000000..047f8d88 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileRequest.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class UploadContactImportFileRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file")] + [global::System.Text.Json.Serialization.JsonRequired] + public required byte[] File { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filename")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Filename { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UploadContactImportFileRequest( + byte[] file, + string filename) + { + this.File = file ?? throw new global::System.ArgumentNullException(nameof(file)); + this.Filename = filename ?? throw new global::System.ArgumentNullException(nameof(filename)); + } + + /// + /// Initializes a new instance of the class. + /// + public UploadContactImportFileRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.Json.g.cs new file mode 100644 index 00000000..67507d18 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class UploadContactImportFileResponse + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.UploadContactImportFileResponse), + jsonSerializerContext) as global::RetellAI.UploadContactImportFileResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.UploadContactImportFileResponse? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.UploadContactImportFileResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.UploadContactImportFileResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.g.cs new file mode 100644 index 00000000..8dd2a1aa --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class UploadContactImportFileResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("upload_id")] + public string? UploadId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("file_name")] + public string? FileName { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UploadContactImportFileResponse( + string? uploadId, + string? fileName) + { + this.UploadId = uploadId; + this.FileName = fileName; + } + + /// + /// Initializes a new instance of the class. + /// + public UploadContactImportFileResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.Json.g.cs new file mode 100644 index 00000000..201ba6a3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class UploadContactImportFileResponse2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.UploadContactImportFileResponse2), + jsonSerializerContext) as global::RetellAI.UploadContactImportFileResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse2? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.UploadContactImportFileResponse2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.UploadContactImportFileResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.UploadContactImportFileResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.g.cs new file mode 100644 index 00000000..a7346a55 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse2.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class UploadContactImportFileResponse2 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.UploadContactImportFileResponseStatusJsonConverter))] + public global::RetellAI.UploadContactImportFileResponseStatus? Status { get; set; } + + /// + /// Example: Invalid request format, please check API reference. + /// + /// Invalid request format, please check API reference. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Invalid request format, please check API reference. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UploadContactImportFileResponse2( + global::RetellAI.UploadContactImportFileResponseStatus? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public UploadContactImportFileResponse2() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.Json.g.cs new file mode 100644 index 00000000..ab899711 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class UploadContactImportFileResponse3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.UploadContactImportFileResponse3), + jsonSerializerContext) as global::RetellAI.UploadContactImportFileResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse3? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.UploadContactImportFileResponse3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.UploadContactImportFileResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.UploadContactImportFileResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.g.cs new file mode 100644 index 00000000..adbad8c3 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse3.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class UploadContactImportFileResponse3 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus2JsonConverter))] + public global::RetellAI.UploadContactImportFileResponseStatus2? Status { get; set; } + + /// + /// Example: API key is missing or invalid. + /// + /// API key is missing or invalid. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: API key is missing or invalid. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UploadContactImportFileResponse3( + global::RetellAI.UploadContactImportFileResponseStatus2? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public UploadContactImportFileResponse3() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.Json.g.cs new file mode 100644 index 00000000..1d08f450 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class UploadContactImportFileResponse4 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse4? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.UploadContactImportFileResponse4), + jsonSerializerContext) as global::RetellAI.UploadContactImportFileResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse4? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.UploadContactImportFileResponse4? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.UploadContactImportFileResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.UploadContactImportFileResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.g.cs new file mode 100644 index 00000000..a36abaae --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse4.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class UploadContactImportFileResponse4 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus3JsonConverter))] + public global::RetellAI.UploadContactImportFileResponseStatus3? Status { get; set; } + + /// + /// Example: Account rate limited, please throttle your requests. + /// + /// Account rate limited, please throttle your requests. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: Account rate limited, please throttle your requests. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UploadContactImportFileResponse4( + global::RetellAI.UploadContactImportFileResponseStatus3? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public UploadContactImportFileResponse4() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.Json.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.Json.g.cs new file mode 100644 index 00000000..068e3a59 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace RetellAI +{ + public sealed partial class UploadContactImportFileResponse5 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::RetellAI.UploadContactImportFileResponse5), + jsonSerializerContext) as global::RetellAI.UploadContactImportFileResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::RetellAI.UploadContactImportFileResponse5? FromJson( + string json) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::RetellAI.UploadContactImportFileResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::RetellAI.UploadContactImportFileResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::RetellAI.UploadContactImportFileResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::RetellAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.g.cs new file mode 100644 index 00000000..32b4f63d --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponse5.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public sealed partial class UploadContactImportFileResponse5 + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.UploadContactImportFileResponseStatus4JsonConverter))] + public global::RetellAI.UploadContactImportFileResponseStatus4? Status { get; set; } + + /// + /// Example: An unexpected server error occurred. + /// + /// An unexpected server error occurred. + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// Example: An unexpected server error occurred. + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public UploadContactImportFileResponse5( + global::RetellAI.UploadContactImportFileResponseStatus4? status, + string? message) + { + this.Status = status; + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public UploadContactImportFileResponse5() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus.g.cs new file mode 100644 index 00000000..87f33a58 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum UploadContactImportFileResponseStatus + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UploadContactImportFileResponseStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UploadContactImportFileResponseStatus value) + { + return value switch + { + UploadContactImportFileResponseStatus.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UploadContactImportFileResponseStatus? ToEnum(string value) + { + return value switch + { + "error" => UploadContactImportFileResponseStatus.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus2.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus2.g.cs new file mode 100644 index 00000000..13c9ac30 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus2.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum UploadContactImportFileResponseStatus2 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UploadContactImportFileResponseStatus2Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UploadContactImportFileResponseStatus2 value) + { + return value switch + { + UploadContactImportFileResponseStatus2.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UploadContactImportFileResponseStatus2? ToEnum(string value) + { + return value switch + { + "error" => UploadContactImportFileResponseStatus2.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus3.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus3.g.cs new file mode 100644 index 00000000..cf093878 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus3.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum UploadContactImportFileResponseStatus3 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UploadContactImportFileResponseStatus3Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UploadContactImportFileResponseStatus3 value) + { + return value switch + { + UploadContactImportFileResponseStatus3.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UploadContactImportFileResponseStatus3? ToEnum(string value) + { + return value switch + { + "error" => UploadContactImportFileResponseStatus3.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus4.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus4.g.cs new file mode 100644 index 00000000..794779b7 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.Models.UploadContactImportFileResponseStatus4.g.cs @@ -0,0 +1,45 @@ + +#nullable enable + +namespace RetellAI +{ + /// + /// + /// + public enum UploadContactImportFileResponseStatus4 + { + /// + /// + /// + Error, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class UploadContactImportFileResponseStatus4Extensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this UploadContactImportFileResponseStatus4 value) + { + return value switch + { + UploadContactImportFileResponseStatus4.Error => "error", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static UploadContactImportFileResponseStatus4? ToEnum(string value) + { + return value switch + { + "error" => UploadContactImportFileResponseStatus4.Error, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.V2WebCallResponseVariant1.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.V2WebCallResponseVariant1.g.cs index 5ac1c62c..15a41b76 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.V2WebCallResponseVariant1.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.V2WebCallResponseVariant1.g.cs @@ -26,6 +26,29 @@ public sealed partial class V2WebCallResponseVariant1 [global::System.Text.Json.Serialization.JsonRequired] public required string AccessToken { get; set; } + /// + /// Which media stack issued the access_token, and therefore where the client signals. The two tokens are indistinguishable, so a client must read this rather than infer it. `gateway` clients address Retell itself; `livekit` clients connect to the returned `url`. Optional only because a server predating the field omits it during a rollout; treat absent as `livekit`.
+ /// Example: gateway + ///
+ /// gateway + [global::System.Text.Json.Serialization.JsonPropertyName("transport")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CallTransportJsonConverter))] + public global::RetellAI.CallTransport? Transport { get; set; } + + /// + /// Public side of the gateway instance handling this call, for diagnostics only — the client's media address comes from the SDP answer's ICE candidates. `gateway` transport only.
+ /// Example: 54.183.22.7 + ///
+ /// 54.183.22.7 + [global::System.Text.Json.Serialization.JsonPropertyName("gateway_ip")] + public string? GatewayIp { get; set; } + + /// + /// ICE servers the client must configure before creating its PeerConnection — they cannot be added afterwards. `gateway` transport only. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ice_servers")] + public global::System.Collections.Generic.IList? IceServers { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -43,15 +66,32 @@ public sealed partial class V2WebCallResponseVariant1 /// Type of the call. Used to distinguish between web call and phone call.
/// Example: web_call /// + /// + /// Which media stack issued the access_token, and therefore where the client signals. The two tokens are indistinguishable, so a client must read this rather than infer it. `gateway` clients address Retell itself; `livekit` clients connect to the returned `url`. Optional only because a server predating the field omits it during a rollout; treat absent as `livekit`.
+ /// Example: gateway + /// + /// + /// Public side of the gateway instance handling this call, for diagnostics only — the client's media address comes from the SDP answer's ICE candidates. `gateway` transport only.
+ /// Example: 54.183.22.7 + /// + /// + /// ICE servers the client must configure before creating its PeerConnection — they cannot be added afterwards. `gateway` transport only. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public V2WebCallResponseVariant1( string accessToken, - global::RetellAI.V2WebCallResponseVariant1CallType callType) + global::RetellAI.V2WebCallResponseVariant1CallType callType, + global::RetellAI.CallTransport? transport, + string? gatewayIp, + global::System.Collections.Generic.IList? iceServers) { this.CallType = callType; this.AccessToken = accessToken ?? throw new global::System.ArgumentNullException(nameof(accessToken)); + this.Transport = transport; + this.GatewayIp = gatewayIp; + this.IceServers = iceServers; } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.V3WebCallResponseVariant1.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.V3WebCallResponseVariant1.g.cs index 9fad6919..ca483ce7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.V3WebCallResponseVariant1.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.V3WebCallResponseVariant1.g.cs @@ -26,6 +26,29 @@ public sealed partial class V3WebCallResponseVariant1 [global::System.Text.Json.Serialization.JsonRequired] public required string AccessToken { get; set; } + /// + /// Which media stack issued the access_token, and therefore where the client signals. The two tokens are indistinguishable, so a client must read this rather than infer it. `gateway` clients address Retell itself; `livekit` clients connect to the returned `url`. Optional only because a server predating the field omits it during a rollout; treat absent as `livekit`.
+ /// Example: gateway + ///
+ /// gateway + [global::System.Text.Json.Serialization.JsonPropertyName("transport")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::RetellAI.JsonConverters.CallTransportJsonConverter))] + public global::RetellAI.CallTransport? Transport { get; set; } + + /// + /// Public side of the gateway instance handling this call, for diagnostics only — the client's media address comes from the SDP answer's ICE candidates. `gateway` transport only.
+ /// Example: 54.183.22.7 + ///
+ /// 54.183.22.7 + [global::System.Text.Json.Serialization.JsonPropertyName("gateway_ip")] + public string? GatewayIp { get; set; } + + /// + /// ICE servers the client must configure before creating its PeerConnection — they cannot be added afterwards. `gateway` transport only. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ice_servers")] + public global::System.Collections.Generic.IList? IceServers { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -43,15 +66,32 @@ public sealed partial class V3WebCallResponseVariant1 /// Type of the call. Used to distinguish between web call and phone call.
/// Example: web_call /// + /// + /// Which media stack issued the access_token, and therefore where the client signals. The two tokens are indistinguishable, so a client must read this rather than infer it. `gateway` clients address Retell itself; `livekit` clients connect to the returned `url`. Optional only because a server predating the field omits it during a rollout; treat absent as `livekit`.
+ /// Example: gateway + /// + /// + /// Public side of the gateway instance handling this call, for diagnostics only — the client's media address comes from the SDP answer's ICE candidates. `gateway` transport only.
+ /// Example: 54.183.22.7 + /// + /// + /// ICE servers the client must configure before creating its PeerConnection — they cannot be added afterwards. `gateway` transport only. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public V3WebCallResponseVariant1( string accessToken, - global::RetellAI.V3WebCallResponseVariant1CallType callType) + global::RetellAI.V3WebCallResponseVariant1CallType callType, + global::RetellAI.CallTransport? transport, + string? gatewayIp, + global::System.Collections.Generic.IList? iceServers) { this.CallType = callType; this.AccessToken = accessToken ?? throw new global::System.ArgumentNullException(nameof(accessToken)); + this.Transport = transport; + this.GatewayIp = gatewayIp; + this.IceServers = iceServers; } /// diff --git a/src/libs/RetellAI/Generated/RetellAI.Models.VoiceResponseProvider.g.cs b/src/libs/RetellAI/Generated/RetellAI.Models.VoiceResponseProvider.g.cs index af885637..ae872298 100644 --- a/src/libs/RetellAI/Generated/RetellAI.Models.VoiceResponseProvider.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.Models.VoiceResponseProvider.g.cs @@ -24,6 +24,10 @@ public enum VoiceResponseProvider /// /// /// + Inworld, + /// + /// + /// Minimax, /// /// @@ -50,6 +54,7 @@ public static string ToValueString(this VoiceResponseProvider value) VoiceResponseProvider.Cartesia => "cartesia", VoiceResponseProvider.Elevenlabs => "elevenlabs", VoiceResponseProvider.FishAudio => "fish_audio", + VoiceResponseProvider.Inworld => "inworld", VoiceResponseProvider.Minimax => "minimax", VoiceResponseProvider.Openai => "openai", VoiceResponseProvider.Platform => "platform", @@ -66,6 +71,7 @@ public static string ToValueString(this VoiceResponseProvider value) "cartesia" => VoiceResponseProvider.Cartesia, "elevenlabs" => VoiceResponseProvider.Elevenlabs, "fish_audio" => VoiceResponseProvider.FishAudio, + "inworld" => VoiceResponseProvider.Inworld, "minimax" => VoiceResponseProvider.Minimax, "openai" => VoiceResponseProvider.Openai, "platform" => VoiceResponseProvider.Platform, diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAsset.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAsset.g.cs new file mode 100644 index 00000000..fe2a4bb2 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateAsset.g.cs @@ -0,0 +1,1765 @@ + +#nullable enable + +namespace RetellAI +{ + public partial class RetellAiClient + { + + + private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateAssetSecurityRequirement0 = + new global::RetellAI.EndPointSecurityRequirement + { + Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[] + { new global::RetellAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKey", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateAssetSecurityRequirements = + new global::RetellAI.EndPointSecurityRequirement[] + { s_CreateAssetSecurityRequirement0, + }; + partial void PrepareCreateAssetArguments( + global::System.Net.Http.HttpClient httpClient, + global::RetellAI.CreateAssetRequest request); + partial void PrepareCreateAssetRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::RetellAI.CreateAssetRequest request); + partial void ProcessCreateAssetResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateAssetResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateAssetAsync( + + global::RetellAI.CreateAssetRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateAssetAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CreateAssetAsResponseAsync( + + global::RetellAI.CreateAssetRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateAssetArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateAssetSecurityRequirements, + operationName: "CreateAssetAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: false); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/create-asset", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); + var __contentFile = new global::System.Net.Http.ByteArrayContent(request.File ?? global::System.Array.Empty()); + __contentFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( + request.Filename is null + ? "application/octet-stream" + : (global::System.IO.Path.GetExtension(request.Filename) ?? string.Empty).ToLowerInvariant() switch + { + ".aac" => "audio/aac", + ".flac" => "audio/flac", + ".gif" => "image/gif", + ".jpeg" => "image/jpeg", + ".jpg" => "image/jpeg", + ".json" => "application/json", + ".m4a" => "audio/mp4", + ".mp3" => "audio/mpeg", + ".mp4" => "video/mp4", + ".mpeg" => "audio/mpeg", + ".mpga" => "audio/mpeg", + ".oga" => "audio/ogg", + ".ogg" => "audio/ogg", + ".opus" => "audio/ogg", + ".pdf" => "application/pdf", + ".png" => "image/png", + ".txt" => "text/plain", + ".wav" => "audio/wav", + ".weba" => "audio/webm", + ".webm" => "video/webm", + ".webp" => "image/webp", + _ => "application/octet-stream", + }); + __httpRequestContent.Add( + content: __contentFile, + name: "\"file\"", + fileName: request.Filename != null ? $"\"{request.Filename}\"" : string.Empty); + if (__contentFile.Headers.ContentDisposition != null) + { + __contentFile.Headers.ContentDisposition.FileNameStar = null; + } + + __httpRequest.Content = __httpRequestContent; + + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateAssetRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateAssetResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.CreateAssetResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.CreateAssetResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.CreateAssetResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.CreateAssetResponse2? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.CreateAssetResponse2.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.CreateAssetResponse2.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.CreateAssetResponse3? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.CreateAssetResponse3.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.CreateAssetResponse3.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.CreateAssetResponse4? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.CreateAssetResponse4.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.CreateAssetResponse4.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateAssetResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::RetellAI.Asset.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::RetellAI.Asset.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateAssetAsync( + byte[] file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::RetellAI.CreateAssetRequest + { + File = file, + Filename = filename, + }; + + return await CreateAssetAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateAssetAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + + file = file ?? throw new global::System.ArgumentNullException(nameof(file)); + var request = new global::RetellAI.CreateAssetRequest + { + File = global::System.Array.Empty(), + Filename = filename, + }; + PrepareArguments( + client: HttpClient); + PrepareCreateAssetArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateAssetSecurityRequirements, + operationName: "CreateAssetAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: false); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/create-asset", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); + var __contentFile = new global::System.Net.Http.StreamContent(file); + __contentFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( + request.Filename is null + ? "application/octet-stream" + : (global::System.IO.Path.GetExtension(request.Filename) ?? string.Empty).ToLowerInvariant() switch + { + ".aac" => "audio/aac", + ".flac" => "audio/flac", + ".gif" => "image/gif", + ".jpeg" => "image/jpeg", + ".jpg" => "image/jpeg", + ".json" => "application/json", + ".m4a" => "audio/mp4", + ".mp3" => "audio/mpeg", + ".mp4" => "video/mp4", + ".mpeg" => "audio/mpeg", + ".mpga" => "audio/mpeg", + ".oga" => "audio/ogg", + ".ogg" => "audio/ogg", + ".opus" => "audio/ogg", + ".pdf" => "application/pdf", + ".png" => "image/png", + ".txt" => "text/plain", + ".wav" => "audio/wav", + ".weba" => "audio/webm", + ".webm" => "video/webm", + ".webp" => "image/webp", + _ => "application/octet-stream", + }); + __httpRequestContent.Add( + content: __contentFile, + name: "\"file\"", + fileName: request.Filename != null ? $"\"{request.Filename}\"" : string.Empty); + if (__contentFile.Headers.ContentDisposition != null) + { + __contentFile.Headers.ContentDisposition.FileNameStar = null; + } + + __httpRequest.Content = __httpRequestContent; + + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateAssetRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateAssetResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.CreateAssetResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.CreateAssetResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.CreateAssetResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.CreateAssetResponse2? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.CreateAssetResponse2.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.CreateAssetResponse2.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.CreateAssetResponse3? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.CreateAssetResponse3.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.CreateAssetResponse3.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.CreateAssetResponse4? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.CreateAssetResponse4.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.CreateAssetResponse4.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateAssetResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return + global::RetellAI.Asset.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + return + await global::RetellAI.Asset.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// + /// Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited to 210 seconds. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CreateAssetAsResponseAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + + file = file ?? throw new global::System.ArgumentNullException(nameof(file)); + var request = new global::RetellAI.CreateAssetRequest + { + File = global::System.Array.Empty(), + Filename = filename, + }; + PrepareArguments( + client: HttpClient); + PrepareCreateAssetArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateAssetSecurityRequirements, + operationName: "CreateAssetAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: false); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/create-asset", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); + var __contentFile = new global::System.Net.Http.StreamContent(file); + __contentFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( + request.Filename is null + ? "application/octet-stream" + : (global::System.IO.Path.GetExtension(request.Filename) ?? string.Empty).ToLowerInvariant() switch + { + ".aac" => "audio/aac", + ".flac" => "audio/flac", + ".gif" => "image/gif", + ".jpeg" => "image/jpeg", + ".jpg" => "image/jpeg", + ".json" => "application/json", + ".m4a" => "audio/mp4", + ".mp3" => "audio/mpeg", + ".mp4" => "video/mp4", + ".mpeg" => "audio/mpeg", + ".mpga" => "audio/mpeg", + ".oga" => "audio/ogg", + ".ogg" => "audio/ogg", + ".opus" => "audio/ogg", + ".pdf" => "application/pdf", + ".png" => "image/png", + ".txt" => "text/plain", + ".wav" => "audio/wav", + ".weba" => "audio/webm", + ".webm" => "video/webm", + ".webp" => "image/webp", + _ => "application/octet-stream", + }); + __httpRequestContent.Add( + content: __contentFile, + name: "\"file\"", + fileName: request.Filename != null ? $"\"{request.Filename}\"" : string.Empty); + if (__contentFile.Headers.ContentDisposition != null) + { + __contentFile.Headers.ContentDisposition.FileNameStar = null; + } + + __httpRequest.Content = __httpRequestContent; + + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateAssetRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateAssetResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateAsset", + methodName: "CreateAssetAsync", + pathTemplate: "\"/create-asset\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.CreateAssetResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.CreateAssetResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.CreateAssetResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.CreateAssetResponse2? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.CreateAssetResponse2.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.CreateAssetResponse2.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.CreateAssetResponse3? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.CreateAssetResponse3.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.CreateAssetResponse3.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.CreateAssetResponse4? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.CreateAssetResponse4.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.CreateAssetResponse4.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateAssetResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::RetellAI.Asset.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::RetellAI.Asset.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContact.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContact.g.cs index 0f946cc3..13526eb7 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContact.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContact.g.cs @@ -592,6 +592,9 @@ partial void ProcessCreateContactResponseContent( /// Last name of the contact. /// /// + /// + /// Full set of tags for the contact. + /// /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -603,6 +606,7 @@ partial void ProcessCreateContactResponseContent( string? firstName = default, string? lastName = default, bool? doNotCall = default, + global::System.Collections.Generic.IList? tags = default, object? customFields = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -613,6 +617,7 @@ partial void ProcessCreateContactResponseContent( FirstName = firstName, LastName = lastName, DoNotCall = doNotCall, + Tags = tags, CustomFields = customFields, }; diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContactImport.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContactImport.g.cs new file mode 100644 index 00000000..79404a90 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateContactImport.g.cs @@ -0,0 +1,659 @@ + +#nullable enable + +namespace RetellAI +{ + public partial class RetellAiClient + { + + + private static readonly global::RetellAI.EndPointSecurityRequirement s_CreateContactImportSecurityRequirement0 = + new global::RetellAI.EndPointSecurityRequirement + { + Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[] + { new global::RetellAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKey", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::RetellAI.EndPointSecurityRequirement[] s_CreateContactImportSecurityRequirements = + new global::RetellAI.EndPointSecurityRequirement[] + { s_CreateContactImportSecurityRequirement0, + }; + partial void PrepareCreateContactImportArguments( + global::System.Net.Http.HttpClient httpClient, + global::RetellAI.CreateContactImportRequest request); + partial void PrepareCreateContactImportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::RetellAI.CreateContactImportRequest request); + partial void ProcessCreateContactImportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessCreateContactImportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Start an incremental contact import from an uploaded CSV: creates new contacts and updates existing ones matched by phone number. Mapped columns overwrite the matched contact's fields; unmapped columns are ignored. Runs asynchronously — poll get-contact-import for progress. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateContactImportAsync( + + global::RetellAI.CreateContactImportRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await CreateContactImportAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Start an incremental contact import from an uploaded CSV: creates new contacts and updates existing ones matched by phone number. Mapped columns overwrite the matched contact's fields; unmapped columns are ignored. Runs asynchronously — poll get-contact-import for progress. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> CreateContactImportAsResponseAsync( + + global::RetellAI.CreateContactImportRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareCreateContactImportArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_CreateContactImportSecurityRequirements, + operationName: "CreateContactImportAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/create-contact-import", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + var __httpRequestContentBody = request.ToJson(JsonSerializerContext); + var __httpRequestContent = new global::System.Net.Http.StringContent( + content: __httpRequestContentBody, + encoding: global::System.Text.Encoding.UTF8, + mediaType: "application/json"); + __httpRequest.Content = __httpRequestContent; + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareCreateContactImportRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateContactImport", + methodName: "CreateContactImportAsync", + pathTemplate: "\"/create-contact-import\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateContactImport", + methodName: "CreateContactImportAsync", + pathTemplate: "\"/create-contact-import\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateContactImport", + methodName: "CreateContactImportAsync", + pathTemplate: "\"/create-contact-import\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessCreateContactImportResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateContactImport", + methodName: "CreateContactImportAsync", + pathTemplate: "\"/create-contact-import\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "CreateContactImport", + methodName: "CreateContactImportAsync", + pathTemplate: "\"/create-contact-import\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.CreateContactImportResponse? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.CreateContactImportResponse.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.CreateContactImportResponse.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.CreateContactImportResponse2? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.CreateContactImportResponse2.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.CreateContactImportResponse2.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Conflict + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::RetellAI.CreateContactImportResponse3? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::RetellAI.CreateContactImportResponse3.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::RetellAI.CreateContactImportResponse3.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.CreateContactImportResponse4? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.CreateContactImportResponse4.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.CreateContactImportResponse4.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.CreateContactImportResponse5? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.CreateContactImportResponse5.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.CreateContactImportResponse5.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessCreateContactImportResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::RetellAI.JobStatus.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::RetellAI.JobStatus.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Start an incremental contact import from an uploaded CSV: creates new contacts and updates existing ones matched by phone number. Mapped columns overwrite the matched contact's fields; unmapped columns are ignored. Runs asynchronously — poll get-contact-import for progress. + /// + /// + /// Id returned by upload-contact-import-file. + /// + /// + /// CSV headers mapped to contact fields. field_name is the contact field and external_field_name is the CSV header. Exactly one mapping must target phone_number. Unmapped columns are ignored. + /// + /// + /// Country for parsing phone numbers without a country code. Defaults to US. + /// + /// + /// Tags added to every contact in this import. Existing tags are preserved. Omit to leave tags unchanged. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task CreateContactImportAsync( + string uploadId, + global::System.Collections.Generic.IList columnMapping, + string? defaultCountry = default, + global::System.Collections.Generic.IList? tags = default, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::RetellAI.CreateContactImportRequest + { + UploadId = uploadId, + ColumnMapping = columnMapping, + DefaultCountry = defaultCountry, + Tags = tags, + }; + + return await CreateContactImportAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs index a0bba2fd..fe0abe4e 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.CreateKnowledgeBase.g.cs @@ -695,7 +695,7 @@ partial void ProcessCreateKnowledgeBaseResponseContent( /// Example: [https://www.example.com, https://www.retellai.com] /// /// - /// Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours.
+ /// Whether to refresh eligible URL and connected-file sources automatically on a daily cadence.
/// Example: true /// /// diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetContactImport.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetContactImport.g.cs new file mode 100644 index 00000000..ddc140d1 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.GetContactImport.g.cs @@ -0,0 +1,526 @@ + +#nullable enable + +namespace RetellAI +{ + public partial class RetellAiClient + { + + + private static readonly global::RetellAI.EndPointSecurityRequirement s_GetContactImportSecurityRequirement0 = + new global::RetellAI.EndPointSecurityRequirement + { + Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[] + { new global::RetellAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKey", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::RetellAI.EndPointSecurityRequirement[] s_GetContactImportSecurityRequirements = + new global::RetellAI.EndPointSecurityRequirement[] + { s_GetContactImportSecurityRequirement0, + }; + partial void PrepareGetContactImportArguments( + global::System.Net.Http.HttpClient httpClient); + partial void PrepareGetContactImportRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage); + partial void ProcessGetContactImportResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessGetContactImportResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Status and counts for the org's current or latest contact import. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task GetContactImportAsync( + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await GetContactImportAsResponseAsync( + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Status and counts for the org's current or latest contact import. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> GetContactImportAsResponseAsync( + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareGetContactImportArguments( + httpClient: HttpClient); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_GetContactImportSecurityRequirements, + operationName: "GetContactImportAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/get-contact-import", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareGetContactImportRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetContactImport", + methodName: "GetContactImportAsync", + pathTemplate: "\"/get-contact-import\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetContactImport", + methodName: "GetContactImportAsync", + pathTemplate: "\"/get-contact-import\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetContactImport", + methodName: "GetContactImportAsync", + pathTemplate: "\"/get-contact-import\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessGetContactImportResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetContactImport", + methodName: "GetContactImportAsync", + pathTemplate: "\"/get-contact-import\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "GetContactImport", + methodName: "GetContactImportAsync", + pathTemplate: "\"/get-contact-import\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.GetContactImportResponse? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.GetContactImportResponse.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.GetContactImportResponse.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.GetContactImportResponse2? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.GetContactImportResponse2.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.GetContactImportResponse2.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.GetContactImportResponse3? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.GetContactImportResponse3.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.GetContactImportResponse3.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessGetContactImportResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::RetellAI.JobStatus.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::RetellAI.JobStatus.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgentVersions.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgentVersions.g.cs index 4a5cfe7b..acd0b4d3 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgentVersions.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.ListAgentVersions.g.cs @@ -48,7 +48,7 @@ partial void ProcessListAgentVersionsResponseContent( ref string content); /// - /// List stored versions of a voice or chat agent with pagination. Root-level data such as assigned tags is not included. + /// List stored versions of a voice or chat agent with pagination. /// /// /// Example: 16b980523634a6dc504898cda492e939 @@ -83,7 +83,7 @@ partial void ProcessListAgentVersionsResponseContent( return __response.Body; } /// - /// List stored versions of a voice or chat agent with pagination. Root-level data such as assigned tags is not included. + /// List stored versions of a voice or chat agent with pagination. /// /// /// Example: 16b980523634a6dc504898cda492e939 diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RepairAgent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RepairAgent.g.cs new file mode 100644 index 00000000..ee1f8000 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.RepairAgent.g.cs @@ -0,0 +1,629 @@ + +#nullable enable + +namespace RetellAI +{ + public partial class RetellAiClient + { + + + private static readonly global::RetellAI.EndPointSecurityRequirement s_RepairAgentSecurityRequirement0 = + new global::RetellAI.EndPointSecurityRequirement + { + Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[] + { new global::RetellAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKey", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::RetellAI.EndPointSecurityRequirement[] s_RepairAgentSecurityRequirements = + new global::RetellAI.EndPointSecurityRequirement[] + { s_RepairAgentSecurityRequirement0, + }; + partial void PrepareRepairAgentArguments( + global::System.Net.Http.HttpClient httpClient, + ref string agentId, + ref global::RetellAI.AgentVersionReference? version); + partial void PrepareRepairAgentRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string agentId, + global::RetellAI.AgentVersionReference? version); + partial void ProcessRepairAgentResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessRepairAgentResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Remove references to resources that no longer exist in your workspace from an agent draft version and its response engine — tools whose app connection has been deleted, unknown knowledge bases, and deleted shared components — and remap voices that are no longer accessible to a default voice. If the agent's response engine version has been published, the engine is left untouched and only agent-level references are repaired. Repairing an agent with nothing to fix is a no-op. + /// + /// + /// Example: 16b980523634a6dc504898cda492e939 + /// + /// + /// Agent version reference. Supports a numeric version (for example 3) or a tag/environment name (for example "prod"). The string "latest" resolves to the most recently created version (the largest version number), and "latest_published" resolves to the most recently published version. When a tag is provided, resolution uses that exact tag assignment (including its dynamic variables). If the tag exists but is currently unassigned, it resolves to latest. When a numeric version, latest, or latest_published is provided, resolution applies dynamic variables from the preferred tag for that resolved version (most recently assigned), if any. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> RepairAgentAsync( + string agentId, + global::RetellAI.AgentVersionReference? version = default, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await RepairAgentAsResponseAsync( + agentId: agentId, + version: version, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Remove references to resources that no longer exist in your workspace from an agent draft version and its response engine — tools whose app connection has been deleted, unknown knowledge bases, and deleted shared components — and remap voices that are no longer accessible to a default voice. If the agent's response engine version has been published, the engine is left untouched and only agent-level references are repaired. Repairing an agent with nothing to fix is a no-op. + /// + /// + /// Example: 16b980523634a6dc504898cda492e939 + /// + /// + /// Agent version reference. Supports a numeric version (for example 3) or a tag/environment name (for example "prod"). The string "latest" resolves to the most recently created version (the largest version number), and "latest_published" resolves to the most recently published version. When a tag is provided, resolution uses that exact tag assignment (including its dynamic variables). If the tag exists but is currently unassigned, it resolves to latest. When a numeric version, latest, or latest_published is provided, resolution applies dynamic variables from the preferred tag for that resolved version (most recently assigned), if any. + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task>> RepairAgentAsResponseAsync( + string agentId, + global::RetellAI.AgentVersionReference? version = default, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareRepairAgentArguments( + httpClient: HttpClient, + agentId: ref agentId, + version: ref version); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_RepairAgentSecurityRequirements, + operationName: "RepairAgentAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: $"/repair-agent/{agentId}", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("version", version?.ToString()) + ; + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareRepairAgentRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + agentId: agentId!, + version: version); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RepairAgent", + methodName: "RepairAgentAsync", + pathTemplate: "$\"/repair-agent/{agentId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RepairAgent", + methodName: "RepairAgentAsync", + pathTemplate: "$\"/repair-agent/{agentId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RepairAgent", + methodName: "RepairAgentAsync", + pathTemplate: "$\"/repair-agent/{agentId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessRepairAgentResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RepairAgent", + methodName: "RepairAgentAsync", + pathTemplate: "$\"/repair-agent/{agentId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "RepairAgent", + methodName: "RepairAgentAsync", + pathTemplate: "$\"/repair-agent/{agentId}\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.RepairAgentResponse2? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.RepairAgentResponse2.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.RepairAgentResponse2.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.RepairAgentResponse3? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.RepairAgentResponse3.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.RepairAgentResponse3.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Conflict + if ((int)__response.StatusCode == 409) + { + string? __content_409 = null; + global::System.Exception? __exception_409 = null; + global::RetellAI.RepairAgentResponse4? __value_409 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_409 = global::RetellAI.RepairAgentResponse4.FromJson(__content_409, JsonSerializerContext); + } + else + { + __content_409 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_409 = global::RetellAI.RepairAgentResponse4.FromJson(__content_409, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_409 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_409 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_409, + responseBody: __content_409, + responseObject: __value_409, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unprocessable Content + if ((int)__response.StatusCode == 422) + { + string? __content_422 = null; + global::System.Exception? __exception_422 = null; + global::RetellAI.RepairAgentResponse5? __value_422 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_422 = global::RetellAI.RepairAgentResponse5.FromJson(__content_422, JsonSerializerContext); + } + else + { + __content_422 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_422 = global::RetellAI.RepairAgentResponse5.FromJson(__content_422, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_422 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_422 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_422, + responseBody: __content_422, + responseObject: __value_422, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.RepairAgentResponse6? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.RepairAgentResponse6.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.RepairAgentResponse6.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessRepairAgentResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::RetellAI.OneOf.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::RetellAI.AutoSDKHttpResponse>( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::RetellAI.OneOf.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::RetellAI.AutoSDKHttpResponse>( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateContact.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateContact.g.cs index 969ed61b..4b0ea341 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateContact.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateContact.g.cs @@ -636,6 +636,9 @@ partial void ProcessUpdateContactResponseContent( /// Last name of the contact. /// /// + /// + /// Full replacement set of tags for the contact. + /// /// /// Values must match the types defined in CRM config custom fields. Set a value to null to clear it. /// @@ -647,6 +650,7 @@ partial void ProcessUpdateContactResponseContent( string? firstName = default, string? lastName = default, bool? doNotCall = default, + global::System.Collections.Generic.IList? tags = default, object? customFields = default, global::RetellAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -656,6 +660,7 @@ partial void ProcessUpdateContactResponseContent( FirstName = firstName, LastName = lastName, DoNotCall = doNotCall, + Tags = tags, CustomFields = customFields, }; diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs index 32f7477c..1669b095 100644 --- a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UpdateConversationFlowComponent.g.cs @@ -1,6 +1,8 @@ #nullable enable +#pragma warning disable CS0618 // Type or member is obsolete + namespace RetellAI { public partial class RetellAiClient diff --git a/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UploadContactImportFile.g.cs b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UploadContactImportFile.g.cs new file mode 100644 index 00000000..001afa02 --- /dev/null +++ b/src/libs/RetellAI/Generated/RetellAI.RetellAiClient.UploadContactImportFile.g.cs @@ -0,0 +1,1757 @@ + +#nullable enable + +namespace RetellAI +{ + public partial class RetellAiClient + { + + + private static readonly global::RetellAI.EndPointSecurityRequirement s_UploadContactImportFileSecurityRequirement0 = + new global::RetellAI.EndPointSecurityRequirement + { + Authorizations = new global::RetellAI.EndPointAuthorizationRequirement[] + { new global::RetellAI.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "ApiKey", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::RetellAI.EndPointSecurityRequirement[] s_UploadContactImportFileSecurityRequirements = + new global::RetellAI.EndPointSecurityRequirement[] + { s_UploadContactImportFileSecurityRequirement0, + }; + partial void PrepareUploadContactImportFileArguments( + global::System.Net.Http.HttpClient httpClient, + global::RetellAI.UploadContactImportFileRequest request); + partial void PrepareUploadContactImportFileRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + global::RetellAI.UploadContactImportFileRequest request); + partial void ProcessUploadContactImportFileResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessUploadContactImportFileResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UploadContactImportFileAsync( + + global::RetellAI.UploadContactImportFileRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await UploadContactImportFileAsResponseAsync( + + request: request, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> UploadContactImportFileAsResponseAsync( + + global::RetellAI.UploadContactImportFileRequest request, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + request = request ?? throw new global::System.ArgumentNullException(nameof(request)); + + PrepareArguments( + client: HttpClient); + PrepareUploadContactImportFileArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UploadContactImportFileSecurityRequirements, + operationName: "UploadContactImportFileAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: false); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/upload-contact-import-file", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); + var __contentFile = new global::System.Net.Http.ByteArrayContent(request.File ?? global::System.Array.Empty()); + __contentFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( + request.Filename is null + ? "application/octet-stream" + : (global::System.IO.Path.GetExtension(request.Filename) ?? string.Empty).ToLowerInvariant() switch + { + ".aac" => "audio/aac", + ".flac" => "audio/flac", + ".gif" => "image/gif", + ".jpeg" => "image/jpeg", + ".jpg" => "image/jpeg", + ".json" => "application/json", + ".m4a" => "audio/mp4", + ".mp3" => "audio/mpeg", + ".mp4" => "video/mp4", + ".mpeg" => "audio/mpeg", + ".mpga" => "audio/mpeg", + ".oga" => "audio/ogg", + ".ogg" => "audio/ogg", + ".opus" => "audio/ogg", + ".pdf" => "application/pdf", + ".png" => "image/png", + ".txt" => "text/plain", + ".wav" => "audio/wav", + ".weba" => "audio/webm", + ".webm" => "video/webm", + ".webp" => "image/webp", + _ => "application/octet-stream", + }); + __httpRequestContent.Add( + content: __contentFile, + name: "\"file\"", + fileName: request.Filename != null ? $"\"{request.Filename}\"" : string.Empty); + if (__contentFile.Headers.ContentDisposition != null) + { + __contentFile.Headers.ContentDisposition.FileNameStar = null; + } + + __httpRequest.Content = __httpRequestContent; + + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUploadContactImportFileRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUploadContactImportFileResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.UploadContactImportFileResponse2? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.UploadContactImportFileResponse2.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.UploadContactImportFileResponse2.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.UploadContactImportFileResponse3? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.UploadContactImportFileResponse3.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.UploadContactImportFileResponse3.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.UploadContactImportFileResponse4? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.UploadContactImportFileResponse4.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.UploadContactImportFileResponse4.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.UploadContactImportFileResponse5? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.UploadContactImportFileResponse5.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.UploadContactImportFileResponse5.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUploadContactImportFileResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::RetellAI.UploadContactImportFileResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::RetellAI.UploadContactImportFileResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UploadContactImportFileAsync( + byte[] file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __request = new global::RetellAI.UploadContactImportFileRequest + { + File = file, + Filename = filename, + }; + + return await UploadContactImportFileAsync( + request: __request, + requestOptions: requestOptions, + cancellationToken: cancellationToken).ConfigureAwait(false); + } + + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// The stream to send as the multipart 'file' file part. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task UploadContactImportFileAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + + file = file ?? throw new global::System.ArgumentNullException(nameof(file)); + var request = new global::RetellAI.UploadContactImportFileRequest + { + File = global::System.Array.Empty(), + Filename = filename, + }; + PrepareArguments( + client: HttpClient); + PrepareUploadContactImportFileArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UploadContactImportFileSecurityRequirements, + operationName: "UploadContactImportFileAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: false); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/upload-contact-import-file", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); + var __contentFile = new global::System.Net.Http.StreamContent(file); + __contentFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( + request.Filename is null + ? "application/octet-stream" + : (global::System.IO.Path.GetExtension(request.Filename) ?? string.Empty).ToLowerInvariant() switch + { + ".aac" => "audio/aac", + ".flac" => "audio/flac", + ".gif" => "image/gif", + ".jpeg" => "image/jpeg", + ".jpg" => "image/jpeg", + ".json" => "application/json", + ".m4a" => "audio/mp4", + ".mp3" => "audio/mpeg", + ".mp4" => "video/mp4", + ".mpeg" => "audio/mpeg", + ".mpga" => "audio/mpeg", + ".oga" => "audio/ogg", + ".ogg" => "audio/ogg", + ".opus" => "audio/ogg", + ".pdf" => "application/pdf", + ".png" => "image/png", + ".txt" => "text/plain", + ".wav" => "audio/wav", + ".weba" => "audio/webm", + ".webm" => "video/webm", + ".webp" => "image/webp", + _ => "application/octet-stream", + }); + __httpRequestContent.Add( + content: __contentFile, + name: "\"file\"", + fileName: request.Filename != null ? $"\"{request.Filename}\"" : string.Empty); + if (__contentFile.Headers.ContentDisposition != null) + { + __contentFile.Headers.ContentDisposition.FileNameStar = null; + } + + __httpRequest.Content = __httpRequestContent; + + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUploadContactImportFileRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUploadContactImportFileResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.UploadContactImportFileResponse2? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.UploadContactImportFileResponse2.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.UploadContactImportFileResponse2.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.UploadContactImportFileResponse3? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.UploadContactImportFileResponse3.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.UploadContactImportFileResponse3.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.UploadContactImportFileResponse4? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.UploadContactImportFileResponse4.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.UploadContactImportFileResponse4.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.UploadContactImportFileResponse5? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.UploadContactImportFileResponse5.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.UploadContactImportFileResponse5.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUploadContactImportFileResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + return + global::RetellAI.UploadContactImportFileResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + return + await global::RetellAI.UploadContactImportFileResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + /// + /// Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + /// + /// + /// The stream to send as the multipart 'file' file part. + /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> UploadContactImportFileAsResponseAsync( + global::System.IO.Stream file, + string filename, + global::RetellAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + + file = file ?? throw new global::System.ArgumentNullException(nameof(file)); + var request = new global::RetellAI.UploadContactImportFileRequest + { + File = global::System.Array.Empty(), + Filename = filename, + }; + PrepareArguments( + client: HttpClient); + PrepareUploadContactImportFileArguments( + httpClient: HttpClient, + request: request); + + + var __authorizations = global::RetellAI.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_UploadContactImportFileSecurityRequirements, + operationName: "UploadContactImportFileAsync"); + + using var __timeoutCancellationTokenSource = global::RetellAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::RetellAI.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::RetellAI.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: false); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::RetellAI.PathBuilder( + path: "/upload-contact-import-file", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::RetellAI.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + 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)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + + var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); + var __contentFile = new global::System.Net.Http.StreamContent(file); + __contentFile.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue( + request.Filename is null + ? "application/octet-stream" + : (global::System.IO.Path.GetExtension(request.Filename) ?? string.Empty).ToLowerInvariant() switch + { + ".aac" => "audio/aac", + ".flac" => "audio/flac", + ".gif" => "image/gif", + ".jpeg" => "image/jpeg", + ".jpg" => "image/jpeg", + ".json" => "application/json", + ".m4a" => "audio/mp4", + ".mp3" => "audio/mpeg", + ".mp4" => "video/mp4", + ".mpeg" => "audio/mpeg", + ".mpga" => "audio/mpeg", + ".oga" => "audio/ogg", + ".ogg" => "audio/ogg", + ".opus" => "audio/ogg", + ".pdf" => "application/pdf", + ".png" => "image/png", + ".txt" => "text/plain", + ".wav" => "audio/wav", + ".weba" => "audio/webm", + ".webm" => "video/webm", + ".webp" => "image/webp", + _ => "application/octet-stream", + }); + __httpRequestContent.Add( + content: __contentFile, + name: "\"file\"", + fileName: request.Filename != null ? $"\"{request.Filename}\"" : string.Empty); + if (__contentFile.Headers.ContentDisposition != null) + { + __contentFile.Headers.ContentDisposition.FileNameStar = null; + } + + __httpRequest.Content = __httpRequestContent; + + global::RetellAI.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareUploadContactImportFileRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + request: request); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::RetellAI.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::RetellAI.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::RetellAI.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessUploadContactImportFileResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::RetellAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::RetellAI.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "UploadContactImportFile", + methodName: "UploadContactImportFileAsync", + pathTemplate: "\"/upload-contact-import-file\"", + httpMethod: "POST", + baseUri: BaseUri, + request: __httpRequest!, + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + // Bad Request + if ((int)__response.StatusCode == 400) + { + string? __content_400 = null; + global::System.Exception? __exception_400 = null; + global::RetellAI.UploadContactImportFileResponse2? __value_400 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_400 = global::RetellAI.UploadContactImportFileResponse2.FromJson(__content_400, JsonSerializerContext); + } + else + { + __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_400 = global::RetellAI.UploadContactImportFileResponse2.FromJson(__content_400, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_400 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_400 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_400, + responseBody: __content_400, + responseObject: __value_400, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Unauthorized + if ((int)__response.StatusCode == 401) + { + string? __content_401 = null; + global::System.Exception? __exception_401 = null; + global::RetellAI.UploadContactImportFileResponse3? __value_401 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_401 = global::RetellAI.UploadContactImportFileResponse3.FromJson(__content_401, JsonSerializerContext); + } + else + { + __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_401 = global::RetellAI.UploadContactImportFileResponse3.FromJson(__content_401, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_401 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_401, + responseBody: __content_401, + responseObject: __value_401, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Too Many Requests + if ((int)__response.StatusCode == 429) + { + string? __content_429 = null; + global::System.Exception? __exception_429 = null; + global::RetellAI.UploadContactImportFileResponse4? __value_429 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_429 = global::RetellAI.UploadContactImportFileResponse4.FromJson(__content_429, JsonSerializerContext); + } + else + { + __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_429 = global::RetellAI.UploadContactImportFileResponse4.FromJson(__content_429, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_429 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_429 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_429, + responseBody: __content_429, + responseObject: __value_429, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + // Internal Server Error + if ((int)__response.StatusCode == 500) + { + string? __content_500 = null; + global::System.Exception? __exception_500 = null; + global::RetellAI.UploadContactImportFileResponse5? __value_500 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + __value_500 = global::RetellAI.UploadContactImportFileResponse5.FromJson(__content_500, JsonSerializerContext); + } + else + { + __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + + __value_500 = global::RetellAI.UploadContactImportFileResponse5.FromJson(__content_500, JsonSerializerContext); + } + } + catch (global::System.Exception __ex) + { + __exception_500 = __ex; + } + + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_500, + responseBody: __content_500, + responseObject: __value_500, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessUploadContactImportFileResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::RetellAI.UploadContactImportFileResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::RetellAI.UploadContactImportFileResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::RetellAI.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::RetellAI.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::RetellAI.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/RetellAI/openapi.yaml b/src/libs/RetellAI/openapi.yaml index 6f7a8639..69eda99a 100644 --- a/src/libs/RetellAI/openapi.yaml +++ b/src/libs/RetellAI/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: title: Retell SDK version: 3.0.0 - x-retell-spec-revision: 2026-08-22-7679759 + x-retell-spec-revision: 2026-08-29-ed55dcf contact: name: Retell Support url: https://www.retellai.com/ @@ -700,6 +700,8 @@ components: - s1 - s2-pro - s2.1-pro + - inworld-tts-2 + - inworld-tts-2-flash - null description: Select the voice model used for the selected voice. Each provider has a set of available voice models. Set to null to remove voice model selection, and default ones will apply. Check out dashboard for more details of each voice model. @@ -1495,6 +1497,7 @@ components: - name - cal_api_key - event_type_id + deprecated: true BooleanAnalysisData: type: object required: @@ -2323,6 +2326,7 @@ components: - name - cal_api_key - event_type_id + deprecated: true CohortAgent: type: object required: @@ -2686,7 +2690,7 @@ components: example: asset_abc123def456 file_name: type: string - description: Original file name of the uploaded asset. + description: Stored file name. Uploaded audio is normalized to headerless PCM and uses a `.pcm` extension. example: screenshot.png content_type: type: string @@ -3831,7 +3835,9 @@ components: - $ref: '#/components/schemas/EnumFilter' - description: Filter by agent environment tag(s) (e.g. "prod", "staging"). chat_id: - $ref: '#/components/schemas/StringFilter' + oneOf: + - $ref: '#/components/schemas/StringFilter' + - $ref: '#/components/schemas/EnumFilter' description: Filter by chat ID. chat_status: allOf: @@ -3914,6 +3920,9 @@ components: do_not_call: $ref: '#/components/schemas/BooleanFilter' description: Filter by whether the contact is marked do-not-call. + tags: + $ref: '#/components/schemas/EnumFilter' + description: Match contacts that have any of the listed tags. last_conversation_timestamp: oneOf: - $ref: '#/components/schemas/NumberFilter' @@ -4534,7 +4543,7 @@ components: enable_auto_refresh: type: boolean example: true - description: Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours. + description: Whether to refresh eligible URL and connected-file sources automatically on a daily cadence. max_chunk_size: type: integer minimum: 600 @@ -4573,7 +4582,7 @@ components: description: "Current processing state of the knowledge base:\n\n- `in_progress`: Initial indexing is running. Source metadata may be\n incomplete until indexing finishes.\n- `complete`: Initial\ \ indexing or the latest update or refresh\n finished. Individual source failures may still be reported in\n `error_messages`.\n- `error`: Initial indexing failed. Source metadata may be incomplete.\n\ - `refreshing_in_progress`: An existing knowledge base is being\n updated. This includes indexing newly added sources or running a\n manual or automatic refresh that re-indexes URLs, Google\ - \ Drive\n files, and pages from auto-crawling paths. Previously indexed\n sources remain available during the update, and the source list\n may change when it finishes.\n" + \ Drive\n files, Microsoft OneDrive files, and pages from auto-crawling\n paths. Previously indexed sources remain available during the\n update, and the source list may change when it finishes.\n" max_chunk_size: type: integer example: 2000 @@ -4593,7 +4602,7 @@ components: enable_auto_refresh: type: boolean example: true - description: Whether to enable auto refresh for the knowledge base urls. If set to true, will retrieve the data from the specified url every 12 hours. + description: Whether eligible URL and connected-file sources refresh automatically on a daily cadence. last_refreshed_timestamp: type: integer example: 1703413636133 @@ -6401,12 +6410,11 @@ components: - name: appointment_booking state_prompt: You will follow the steps below to book an appointment... tools: - - type: book_appointment_cal + - type: custom name: book_appointment description: Book an annual check up. - cal_api_key: cal_live_xxxxxxxxxxxx - event_type_id: 60444 - timezone: America/Los_Angeles + url: https://api.example.com/book-appointment + method: POST nullable: true starting_state: type: string @@ -8048,6 +8056,30 @@ components: oneOf: - $ref: '#/components/schemas/V2WebCallResponse' - $ref: '#/components/schemas/V2PhoneCallResponse' + CallTransport: + type: string + enum: + - livekit + - gateway + description: Which media stack issued the access_token, and therefore where the client signals. The two tokens are indistinguishable, so a client must read this rather than infer it. `gateway` clients + address Retell itself; `livekit` clients connect to the returned `url`. Optional only because a server predating the field omits it during a rollout; treat absent as `livekit`. + example: gateway + IceServer: + type: object + required: + - urls + properties: + urls: + oneOf: + - type: string + - type: array + items: + type: string + example: stun:stun.l.google.com:19302 + username: + type: string + credential: + type: string V3CallResponse: oneOf: - $ref: '#/components/schemas/V3WebCallResponse' @@ -8328,6 +8360,17 @@ components: type: string example: eyJhbGciOiJIUzI1NiJ9.eyJ2aWRlbyI6eyJyb29tSm9p description: Access token to enter the web call room. This needs to be passed to your frontend to join the call. + transport: + $ref: '#/components/schemas/CallTransport' + gateway_ip: + type: string + description: Public side of the gateway instance handling this call, for diagnostics only — the client's media address comes from the SDP answer's ICE candidates. `gateway` transport only. + example: 54.183.22.7 + ice_servers: + type: array + items: + $ref: '#/components/schemas/IceServer' + description: ICE servers the client must configure before creating its PeerConnection — they cannot be added afterwards. `gateway` transport only. - $ref: '#/components/schemas/V3CallBase' V3ListCallsRequest: type: object @@ -8419,6 +8462,17 @@ components: type: string example: eyJhbGciOiJIUzI1NiJ9.eyJ2aWRlbyI6eyJyb29tSm9p description: Access token to enter the web call room. This needs to be passed to your frontend to join the call. + transport: + $ref: '#/components/schemas/CallTransport' + gateway_ip: + type: string + description: Public side of the gateway instance handling this call, for diagnostics only — the client's media address comes from the SDP answer's ICE candidates. `gateway` transport only. + example: 54.183.22.7 + ice_servers: + type: array + items: + $ref: '#/components/schemas/IceServer' + description: ICE servers the client must configure before creating its PeerConnection — they cannot be added afterwards. `gateway` transport only. - $ref: '#/components/schemas/V2CallBase' VoiceResponse: type: object @@ -8444,6 +8498,7 @@ components: - cartesia - minimax - fish_audio + - inworld - platform example: elevenlabs description: Indicates the provider of voice. @@ -8633,6 +8688,11 @@ components: minimum: 0 maximum: 10000 description: Max metered overage per month, in USD (max 10000). + ContactTag: + type: string + minLength: 1 + maxLength: 40 + pattern: \S Contact: type: object properties: @@ -8657,6 +8717,13 @@ components: external_id: type: string description: CRM record ID from the external provider. + tags: + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/ContactTag' + description: Tags assigned to the contact. custom_fields: type: object description: Custom fields defined in CRM config. @@ -9149,6 +9216,13 @@ components: items: type: string description: Preferred display order of contact fields, for clients that render contacts as a table. Not used by the API itself. + contact_tags: + type: array + maxItems: 1000 + uniqueItems: true + items: + $ref: '#/components/schemas/ContactTag' + description: Tags available to contacts in this organization. JobStatus: type: object required: @@ -9988,6 +10062,42 @@ paths: $ref: '#/components/responses/TooManyRequests' '500': $ref: '#/components/responses/InternalServerError' + /create-asset: + post: + description: Upload an image or audio asset. Audio is normalized to headerless mono PCM16 at 24 kHz and can be referenced by `custom_on_hold_music_asset_id` on warm and agentic-warm transfer options. + Accepted audio formats are MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. The maximum upload size is 10 MB and audio duration is limited to 210 seconds. + operationId: createAsset + x-retell-sdk-resource: asset + x-retell-sdk-method: create + requestBody: + required: true + content: + multipart/form-data: + schema: + type: object + required: + - file + properties: + file: + type: string + format: binary + description: Image or audio file to upload. Images support PNG, JPEG, GIF, WebP, and SVG. Audio supports MP3, WAV, WebM, OGG, M4A, AAC, and FLAC. Maximum size is 10 MB; audio is limited + to 210 seconds. + responses: + '201': + description: Successfully created asset. + content: + application/json: + schema: + $ref: '#/components/schemas/Asset' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + $ref: '#/components/responses/InternalServerError' /create-knowledge-base: post: description: Create a new knowledge base @@ -10463,7 +10573,7 @@ paths: $ref: '#/components/responses/InternalServerError' /list-agent-versions/{agent_id}: get: - description: List stored versions of a voice or chat agent with pagination. Root-level data such as assigned tags is not included. + description: List stored versions of a voice or chat agent with pagination. operationId: listAgentVersions parameters: - in: path @@ -11000,6 +11110,7 @@ paths: - minimax - fish_audio - platform + - inworld description: Voice provider to use for cloning. responses: '201': @@ -11039,6 +11150,7 @@ paths: - cartesia - minimax - fish_audio + - inworld description: Voice provider to add the voice from. provider_voice_id: type: string @@ -11086,6 +11198,7 @@ paths: - cartesia - minimax - fish_audio + - inworld description: Voice provider to search. search_query: type: string @@ -11675,6 +11788,46 @@ paths: $ref: '#/components/responses/UnprocessableContent' '500': $ref: '#/components/responses/InternalServerError' + /repair-agent/{agent_id}: + post: + description: Remove references to resources that no longer exist in your workspace from an agent draft version and its response engine — tools whose app connection has been deleted, unknown knowledge + bases, and deleted shared components — and remap voices that are no longer accessible to a default voice. If the agent's response engine version has been published, the engine is left untouched + and only agent-level references are repaired. Repairing an agent with nothing to fix is a no-op. + operationId: repairAgent + parameters: + - in: path + name: agent_id + schema: + type: string + minLength: 1 + example: 16b980523634a6dc504898cda492e939 + required: true + description: Unique id of the agent to be repaired. + - in: query + name: version + schema: + $ref: '#/components/schemas/AgentVersionReference' + required: false + description: Optional version of the agent to repair. Default to latest version. Published versions are immutable and cannot be repaired. + responses: + '200': + description: Successfully repaired the agent. + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/AgentResponse' + - $ref: '#/components/schemas/ChatAgentResponse' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableContent' + '500': + $ref: '#/components/responses/InternalServerError' /update-chat-agent/{agent_id}: patch: description: Update an existing chat agent @@ -12620,6 +12773,13 @@ paths: description: Last name of the contact. do_not_call: type: boolean + tags: + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/ContactTag' + description: Full set of tags for the contact. custom_fields: type: object description: 'Values must match the types defined in CRM config custom fields. Set a value to null to clear it. @@ -12640,6 +12800,124 @@ paths: $ref: '#/components/responses/TooManyRequests' '500': $ref: '#/components/responses/InternalServerError' + /upload-contact-import-file: + post: + description: 'Upload a CSV file for a contact import. The file is stored privately and referenced by the returned upload_id in create-contact-import. + + ' + operationId: uploadContactImportFile + requestBody: + required: true + content: + multipart/form-data: + schema: + type: object + required: + - file + properties: + file: + type: string + format: binary + responses: + '201': + description: File uploaded. + content: + application/json: + schema: + type: object + properties: + upload_id: + type: string + file_name: + type: string + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + $ref: '#/components/responses/InternalServerError' + /create-contact-import: + post: + description: 'Start an incremental contact import from an uploaded CSV: creates new contacts and updates existing ones matched by phone number. Mapped columns overwrite the matched contact''s fields; + unmapped columns are ignored. Runs asynchronously — poll get-contact-import for progress. + + ' + operationId: createContactImport + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - upload_id + - column_mapping + properties: + upload_id: + type: string + pattern: ^upload_[a-f0-9]+$ + description: Id returned by upload-contact-import-file. + column_mapping: + type: array + minItems: 1 + maxItems: 200 + items: + $ref: '#/components/schemas/CRMSyncMapping' + description: 'CSV headers mapped to contact fields. field_name is the contact field and external_field_name is the CSV header. Exactly one mapping must target phone_number. Unmapped columns + are ignored. + + ' + default_country: + type: string + pattern: ^[A-Za-z]{2}$ + description: 'Country for parsing phone numbers without a country code. Defaults to US. + + ' + tags: + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/ContactTag' + description: 'Tags added to every contact in this import. Existing tags are preserved. Omit to leave tags unchanged. + + ' + responses: + '202': + description: Import queued. + content: + application/json: + schema: + $ref: '#/components/schemas/JobStatus' + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '409': + $ref: '#/components/responses/Conflict' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + $ref: '#/components/responses/InternalServerError' + /get-contact-import: + get: + description: Status and counts for the org's current or latest contact import. + operationId: getContactImport + responses: + '200': + description: Current import progress. + content: + application/json: + schema: + $ref: '#/components/schemas/JobStatus' + '401': + $ref: '#/components/responses/Unauthorized' + '429': + $ref: '#/components/responses/TooManyRequests' + '500': + $ref: '#/components/responses/InternalServerError' /get-contact/{contact_id}: get: description: Retrieve a contact by ID. @@ -12724,6 +13002,13 @@ paths: description: Last name of the contact. do_not_call: type: boolean + tags: + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/ContactTag' + description: Full replacement set of tags for the contact. custom_fields: type: object description: 'Values must match the types defined in CRM config custom fields. Set a value to null to clear it.